| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/feature-request", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Feature Request Board", |
| 7 |
"category": "bkbg-blog", |
| 8 |
"icon": "lightbulb", |
| 9 |
"description": "Display a feature request board with votes, statuses, and categories.", |
| 10 |
"keywords": [ |
| 11 |
"feature", |
| 12 |
"request", |
| 13 |
"feedback", |
| 14 |
"board", |
| 15 |
"vote", |
| 16 |
"roadmap" |
| 17 |
], |
| 18 |
"textdomain": "blockenberg", |
| 19 |
"editorScript": "bkbg-feature-request-editor", |
| 20 |
"editorStyle": "bkbg-feature-request-style", |
| 21 |
"style": "bkbg-feature-request-style", |
| 22 |
"viewScript": "bkbg-feature-request-frontend", |
| 23 |
"supports": { |
| 24 |
"html": false, |
| 25 |
"anchor": true, |
| 26 |
"className": true, |
| 27 |
"align": [ |
| 28 |
"wide", |
| 29 |
"full" |
| 30 |
] |
| 31 |
}, |
| 32 |
"attributes": { |
| 33 |
"boardTitle": { |
| 34 |
"type": "string", |
| 35 |
"default": "Feature Requests" |
| 36 |
}, |
| 37 |
"description": { |
| 38 |
"type": "string", |
| 39 |
"default": "Vote on features you'd like to see next. Your feedback shapes our roadmap." |
| 40 |
}, |
| 41 |
"showDescription": { |
| 42 |
"type": "boolean", |
| 43 |
"default": true |
| 44 |
}, |
| 45 |
"requests": { |
| 46 |
"type": "array", |
| 47 |
"default": [ |
| 48 |
{ |
| 49 |
"title": "Dark mode support", |
| 50 |
"description": "Add a dark theme option for better readability at night.", |
| 51 |
"votes": 142, |
| 52 |
"status": "planned", |
| 53 |
"category": "UI/UX", |
| 54 |
"date": "Jan 12, 2026" |
| 55 |
}, |
| 56 |
{ |
| 57 |
"title": "CSV export", |
| 58 |
"description": "Allow exporting data tables and reports to CSV format.", |
| 59 |
"votes": 98, |
| 60 |
"status": "in-progress", |
| 61 |
"category": "Data", |
| 62 |
"date": "Jan 8, 2026" |
| 63 |
}, |
| 64 |
{ |
| 65 |
"title": "Two-factor authentication", |
| 66 |
"description": "Add 2FA for improved account security.", |
| 67 |
"votes": 87, |
| 68 |
"status": "done", |
| 69 |
"category": "Security", |
| 70 |
"date": "Dec 30, 2025" |
| 71 |
}, |
| 72 |
{ |
| 73 |
"title": "Bulk actions on list view", |
| 74 |
"description": "Select multiple items and apply actions in bulk.", |
| 75 |
"votes": 64, |
| 76 |
"status": "under-review", |
| 77 |
"category": "Productivity", |
| 78 |
"date": "Dec 22, 2025" |
| 79 |
}, |
| 80 |
{ |
| 81 |
"title": "API rate limit increase", |
| 82 |
"description": "Increase API call limits for power users and integrations.", |
| 83 |
"votes": 51, |
| 84 |
"status": "planned", |
| 85 |
"category": "API", |
| 86 |
"date": "Dec 15, 2025" |
| 87 |
}, |
| 88 |
{ |
| 89 |
"title": "Custom domain support", |
| 90 |
"description": "Host content on a custom domain without iframe embed.", |
| 91 |
"votes": 33, |
| 92 |
"status": "declined", |
| 93 |
"category": "Hosting", |
| 94 |
"date": "Dec 10, 2025" |
| 95 |
} |
| 96 |
] |
| 97 |
}, |
| 98 |
"showVotes": { |
| 99 |
"type": "boolean", |
| 100 |
"default": true |
| 101 |
}, |
| 102 |
"showCategory": { |
| 103 |
"type": "boolean", |
| 104 |
"default": true |
| 105 |
}, |
| 106 |
"showDate": { |
| 107 |
"type": "boolean", |
| 108 |
"default": true |
| 109 |
}, |
| 110 |
"fontSize": { |
| 111 |
"type": "number", |
| 112 |
"default": 14 |
| 113 |
}, |
| 114 |
"fontWeight": { |
| 115 |
"type": "string", |
| 116 |
"default": "400" |
| 117 |
}, |
| 118 |
"titleFontSize": { |
| 119 |
"type": "number", |
| 120 |
"default": 22 |
| 121 |
}, |
| 122 |
"titleFontWeight": { |
| 123 |
"type": "string", |
| 124 |
"default": "700" |
| 125 |
}, |
| 126 |
"cardTitleSize": { |
| 127 |
"type": "number", |
| 128 |
"default": 16 |
| 129 |
}, |
| 130 |
"cardTitleWeight": { |
| 131 |
"type": "string", |
| 132 |
"default": "600" |
| 133 |
}, |
| 134 |
"lineHeight": { |
| 135 |
"type": "number", |
| 136 |
"default": 160 |
| 137 |
}, |
| 138 |
"typoTitle": { |
| 139 |
"type": "object", |
| 140 |
"default": {} |
| 141 |
}, |
| 142 |
"typoBody": { |
| 143 |
"type": "object", |
| 144 |
"default": {} |
| 145 |
}, |
| 146 |
"typoCardTitle": { |
| 147 |
"type": "object", |
| 148 |
"default": {} |
| 149 |
}, |
| 150 |
"borderRadius": { |
| 151 |
"type": "number", |
| 152 |
"default": 12 |
| 153 |
}, |
| 154 |
"cardRadius": { |
| 155 |
"type": "number", |
| 156 |
"default": 10 |
| 157 |
}, |
| 158 |
"bgColor": { |
| 159 |
"type": "string", |
| 160 |
"default": "#f8fafc" |
| 161 |
}, |
| 162 |
"cardBg": { |
| 163 |
"type": "string", |
| 164 |
"default": "#ffffff" |
| 165 |
}, |
| 166 |
"borderColor": { |
| 167 |
"type": "string", |
| 168 |
"default": "#e2e8f0" |
| 169 |
}, |
| 170 |
"titleColor": { |
| 171 |
"type": "string", |
| 172 |
"default": "#0f172a" |
| 173 |
}, |
| 174 |
"descColor": { |
| 175 |
"type": "string", |
| 176 |
"default": "#64748b" |
| 177 |
}, |
| 178 |
"cardTitleColor": { |
| 179 |
"type": "string", |
| 180 |
"default": "#1e293b" |
| 181 |
}, |
| 182 |
"cardDescColor": { |
| 183 |
"type": "string", |
| 184 |
"default": "#64748b" |
| 185 |
}, |
| 186 |
"votesBg": { |
| 187 |
"type": "string", |
| 188 |
"default": "#f1f5f9" |
| 189 |
}, |
| 190 |
"votesColor": { |
| 191 |
"type": "string", |
| 192 |
"default": "#334155" |
| 193 |
}, |
| 194 |
"categoryBg": { |
| 195 |
"type": "string", |
| 196 |
"default": "#f1f5f9" |
| 197 |
}, |
| 198 |
"categoryColor": { |
| 199 |
"type": "string", |
| 200 |
"default": "#475569" |
| 201 |
}, |
| 202 |
"dateColor": { |
| 203 |
"type": "string", |
| 204 |
"default": "#94a3b8" |
| 205 |
}, |
| 206 |
"plannedBg": { |
| 207 |
"type": "string", |
| 208 |
"default": "#dbeafe" |
| 209 |
}, |
| 210 |
"plannedColor": { |
| 211 |
"type": "string", |
| 212 |
"default": "#1e40af" |
| 213 |
}, |
| 214 |
"inProgressBg": { |
| 215 |
"type": "string", |
| 216 |
"default": "#ede9fe" |
| 217 |
}, |
| 218 |
"inProgressColor": { |
| 219 |
"type": "string", |
| 220 |
"default": "#5b21b6" |
| 221 |
}, |
| 222 |
"doneBg": { |
| 223 |
"type": "string", |
| 224 |
"default": "#dcfce7" |
| 225 |
}, |
| 226 |
"doneColor": { |
| 227 |
"type": "string", |
| 228 |
"default": "#14532d" |
| 229 |
}, |
| 230 |
"declinedBg": { |
| 231 |
"type": "string", |
| 232 |
"default": "#fee2e2" |
| 233 |
}, |
| 234 |
"declinedColor": { |
| 235 |
"type": "string", |
| 236 |
"default": "#991b1b" |
| 237 |
}, |
| 238 |
"underReviewBg": { |
| 239 |
"type": "string", |
| 240 |
"default": "#fef9c3" |
| 241 |
}, |
| 242 |
"underReviewColor": { |
| 243 |
"type": "string", |
| 244 |
"default": "#713f12" |
| 245 |
} |
| 246 |
} |
| 247 |
} |
| 248 |
|