Skip to content

Conversation

hassoncs
Copy link
Contributor

@hassoncs hassoncs commented Oct 17, 2025

Introduce type-safe utilities for global state updates across the extension. There are a ton of handlers that simply update a global state property- This new generic state updater should help reduce that going forward.

Note: This new handler isn't used yet, but I plan on using it in my release notes branch soon!

CleanShot 2025-10-17 at 09 54 35

@changeset-bot
Copy link

changeset-bot bot commented Oct 17, 2025

⚠️ No Changeset found

Latest commit: 123c732

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@hassoncs hassoncs force-pushed the release-notes-global-state branch 9 times, most recently from ce1147c to 3107587 Compare October 17, 2025 19:32
@hassoncs hassoncs requested a review from kevinvandijk October 17, 2025 19:34
Introduce type-safe utilities for global state updates across the extension. This includes new types in GlobalStateTypes.ts, updated message handling in webviewMessageHandler.ts and WebviewMessage.ts, and helper functions in globalStateHelpers.ts with comprehensive tests. Ensures compile-time safety for state key-value pairs and prevents runtime errors from invalid state updates.
@hassoncs hassoncs force-pushed the release-notes-global-state branch from 3107587 to 123c732 Compare October 17, 2025 21:21
@hassoncs hassoncs merged commit 03b6cd1 into main Oct 21, 2025
14 checks passed
@hassoncs hassoncs deleted the release-notes-global-state branch October 21, 2025 21:43
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.

2 participants