Skip to content

feat(widgets): port jar to react#5957

Open
wesrupert wants to merge 3 commits into
feat/wr/credits/devfrom
feat/wr/jar/dev
Open

feat(widgets): port jar to react#5957
wesrupert wants to merge 3 commits into
feat/wr/credits/devfrom
feat/wr/jar/dev

Conversation

@wesrupert

Copy link
Copy Markdown
Contributor
  • Migrate jar widget to react
  • Clean up widget settings type (half of the widgets already didn't trust the current type)
Screenshot 2026-06-03 at 10 57 26

@wesrupert wesrupert changed the title Feat/wr/jar/dev feat(widgets): port jar to react Jun 3, 2026
@bundlemon

bundlemon Bot commented Jun 3, 2026

Copy link
Copy Markdown

BundleMon

Files added (4)
Status Path Size Limits
renderer.(hash).js
+7.83MB -
vendors~renderer.(hash).js
+4.67MB -
updater.js
+115.29KB -
guest-api.js
+40.23KB -

Total files change +12.65MB

Final result: ✅

View report in BundleMon website ➡️


Current branch size history

}
>;
};
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh boy what a type 😂

SK extends keyof SO,
K extends keyof TJarWidgetSettings,
SV extends Required<SO>[SK]
>(source: SO, sourceKey: SK, settingsKey: K, defaultValue: SV) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is really hard to grok i think

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems you didnt end up using the Flatten or JoinKeys types you defined?

@michelinewu michelinewu added react tech debt infra changes, refactors, etc labels Jun 18, 2026
@wesrupert
wesrupert force-pushed the feat/wr/credits/dev branch from d62a6b2 to f3aecd8 Compare July 7, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

react tech debt infra changes, refactors, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants