-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Explicit state and event id minification #6100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
benedikt-bartscher
wants to merge
31
commits into
reflex-dev:main
Choose a base branch
from
benedikt-bartscher:explicit-event-id-minification
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
2656ee5
feat: Add explicit state ID minification for states
benedikt-bartscher 1c5114d
drop uploaded_files, don't allow state_id for mixins
benedikt-bartscher 62bf127
Update reflex/state.py
benedikt-bartscher 0858c9e
ruffing
benedikt-bartscher be13be5
minify event names as well
benedikt-bartscher e53c76a
wip fixing minifed state names + add cli
benedikt-bartscher fc4c5e1
wip cli
benedikt-bartscher 6d13bec
wtf prettier
benedikt-bartscher b2c3f58
Merge remote-tracking branch 'upstream' into explicit-event-id-minifi…
benedikt-bartscher f2f1ac7
Merge remote-tracking branch 'upstream' into explicit-event-id-minifi…
benedikt-bartscher db97e3a
update pyi_hashes
benedikt-bartscher 6b4c5fa
unique per sibling
benedikt-bartscher a230be2
Merge remote-tracking branch 'upstream/main' into explicit-event-id-m…
benedikt-bartscher 1647c1e
fix test state ids
benedikt-bartscher e375b7e
add best-effort mode for event ids
benedikt-bartscher a94c98b
minify json poc
benedikt-bartscher ee4c7f1
fix codespell
benedikt-bartscher bcc4b49
add support for dynamic event handlers, streamline event handler form…
benedikt-bartscher fc787e6
forgot to remove this state prefix
benedikt-bartscher 5b6e124
more streamline with format event handler
benedikt-bartscher ae477ae
allow to enable/disable state and event ID minification independently…
benedikt-bartscher e13073b
fix: prevent parent-child minified name collision in substate resolution
benedikt-bartscher d669571
fix: consistent plural naming for state minification env vars
benedikt-bartscher ed085c0
make integration tests use our typed env helpers
benedikt-bartscher b2c2ff0
prefer assert isinstance over cast.
benedikt-bartscher 8f44d49
drop old state_id parameter from BaseStateMeta
benedikt-bartscher cf7b614
fix: drop unused EVENT_ID_MARKER constant
benedikt-bartscher 3074c84
fix: correctly count events in minification cli
benedikt-bartscher ca73b45
fix: adjust minify lookup cli for new minify.json, add tests
benedikt-bartscher d5f159c
fix: reflex minify validate - warn and exit 1 if missing entries
benedikt-bartscher f964c7a
fix: use get_event_handler in upload
benedikt-bartscher File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,4 +21,5 @@ reflex.db | |
| node_modules | ||
| package-lock.json | ||
| *.pyi | ||
| .pre-commit-config.yaml | ||
| .pre-commit-config.yaml | ||
| uploaded_files/* | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?