Skip to content
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

Implement a serializer for user preferences #336

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

Jeidnx
Copy link
Contributor

@Jeidnx Jeidnx commented Nov 25, 2024

Uses serde_urlencoded to serialize the Preferences struct when creating the settings restore link. This approach unfortunately is fallible, but i can't imagine a scenario where it would fail. I also added a test for the serialization process.
Fixes #315

@Jeidnx Jeidnx changed the title Implement a serialiizer for user preferences Implement a serializer for user preferences Nov 25, 2024
@sigaloid
Copy link
Member

sigaloid commented Dec 2, 2024

This is great, thanks for this!

@sigaloid sigaloid merged commit d7ec07c into redlib-org:main Dec 2, 2024
1 of 3 checks passed
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.

🐛 Bug Report: Restore settings link does not restore all settings
2 participants