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

Pin/favorite domains in main view #10

Open
alexkiousis opened this issue Jan 15, 2018 · 1 comment
Open

Pin/favorite domains in main view #10

alexkiousis opened this issue Jan 15, 2018 · 1 comment

Comments

@alexkiousis
Copy link
Member

Preferential sorting of a domain in main view to the top of the table.

We could implement it as a user preference, or an application wide preference (as a fallback).

@vitsalis
Copy link
Contributor

I suggest adding a column on the database which stores preference (maybe a short int column so we can have more levels of preference).

On the domain list we can add a button next to each domain that when clicked, the preference is toggled. The toggling part can be done via an AJAX request from JavaScript so the page won't be refreshed each time a user updates their preference. The only issue with this approach is that the newly favorited domain won't appear on the top of the page unless the user refreshes the page, since preference is stored in the database.

What do you think?

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

No branches or pull requests

2 participants