Skip to content

chore(widget): raise the panel budget to 18 kB and the single file to 20 kB - #469

Merged
anurag629 merged 2 commits into
devfrom
chore/widget-budget-18
Oct 30, 2026
Merged

anurag629 merged 2 commits into
devfrom
chore/widget-budget-18

Conversation

@anurag629

Copy link
Copy Markdown
Member

Two planned P2 widget features are in review, and together they don't fit:

Feature Cost (gzipped)
Consent gate (#468, F-05 t23) about 400 B, and the panel sits at exactly 17.00 kB with it
"New reply" button (#447, F-05) about 270 B

#453 already freed what it could by renaming more private members. Removing more would mean cutting features, so this raises the panel budget by 1 kB to 18 kB and the single file to 20 kB. That's room for both, plus some headroom. The loader stays at 5 kB, since that's what every page loads.

Today: loader 4.5 kB, panel 16.6 kB, single file 18.62 kB. CONTRIBUTING's widget section has the new numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant