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

Remember a user's filter preferences when they return to the site #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GormanFletcher
Copy link

Remember a user's filters when they come back to the site.

Plus a few indentation fixes.

@hauxir
Copy link
Owner

hauxir commented Aug 5, 2021

Great! We could possibly base64 encode this in the URL and store in the hash. That way you could share the filters with friends!

minTomatoMeter,
minAudience,
genres,
networks
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we add ordering in here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Order the keys, or order the value array?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i mean the adding the ordering of the data in the table :)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh! Yes, I can do that.

As for storing this in the URL, I can see about encoding this stuff with query params so the values are easily visible when sharing.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that would be cool too!

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any updates on this?

@james2doyle
Copy link

Is this moving along? The project is very handy and this would be a nice feature

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.

3 participants