-
Notifications
You must be signed in to change notification settings - Fork 313
fix issue where new lines are not persisted to url params correctly #1229
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
Conversation
🦋 Changeset detectedLatest commit: cedcefa The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for GitHub.
|
E2E Test Results✅ All tests passed • 25 passed • 3 skipped • 204s
|
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.
Is there a way we can still persist them? maybe %0A
if needed?
I also saw that this fix unfortunately does not fix the dashboards filters case (sorry did not mention that in the original ticket!)
@MikeShi42 that makes sense! I've changed the implementation and fixed the other scenario! |
@pulpdrew if you have the capacity, mind reviewing this one? |
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.
LGTM, with two notes:
- It seems like we're also not persisting newlines in the select or order by inputs. Have we thought about applying this parser to those as well?
- It looks like nuqs handles newlines by default in v2.2.3. v2.2 also makes some improvements that would be great to have for testing purposes, which we have so far been missing out on. That's a major version update though, so fine by me to not tackle that upgrade as a part of this issue!
|
If I try to create a multi-line where statement in the UI, it does not persist the new line character, which leads to errors as well.
Fixes HDX-2527