-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Compress state of dashboard #59124
Compress state of dashboard #59124
Conversation
This is an automated comment for commit 7e86c0e with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page Successful checks
|
Could it be the reason, that an old dashboard does not work anymore? https://pastila.nl/?00a7fcf5/a588d886ed9f8c1b17af5d918834efb8.link#ZJiiu8oxXkY7ivEyngU3TA== |
Yes, manually decoding the after-hash with base64 and inserting it into the dashboard data helped. Could you make it backward-compatible? |
Sure. Will investigate tomorrow. |
It turned out not to throw. It just returns empty string in case decoding fails. So here is a proper fix #59554 |
Oh, that's weird. In my env |
Now I get it. Decode does not throw, but |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
The state of URL's #hash in the dashboard is now compressed using lz-string. The default size of the state string is compressed from 6856B to 2823B.