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

Ordering of dictionaries in dashboard #1180

Open
vmonakhov opened this issue Jan 14, 2025 · 0 comments
Open

Ordering of dictionaries in dashboard #1180

vmonakhov opened this issue Jan 14, 2025 · 0 comments
Assignees

Comments

@vmonakhov
Copy link

vmonakhov commented Jan 14, 2025

There are some points in this task:

  1. We suppose that near perspective name and its control buttons in dashboard we'll have a "star" icon. This is a button what has three states:
  • empty star
  • yellow star
  • red star

States change cyclically by simple manual clicking of this button.

2025-01-14_12-24-21 (2)

Empty star is a default state, no any new functionality it has.
Yellow star means that this dictionary became favorite for current user.
Red star means that this dictionary became "work in progress" for current user.

Dictionaries with such stars will have the following order in the list for certain user:

  • red starred
  • yellow starred
  • not starred (empty star)
  1. We will be able to add some own comment for any starred perspective (see the picture above). This comment will be visible only for its author. So dictionaries (perspectives) will have to keep star-state and comment for every user who starred a perspective.

  2. Dictionaries which have tiny perspectives (less than 30 entries every one) will be placed under all described above dictionaries if them not starred.

  3. Disctionaries which have only hidden perspectives will be placed under any other dictionaries if them not starred.

@vmonakhov vmonakhov changed the title Ordering dictionaries in dashboard Ordering of dictionaries in dashboard Jan 14, 2025
@vmonakhov vmonakhov self-assigned this Jan 14, 2025
vmonakhov added a commit to ispras/lingvodoc that referenced this issue Jan 20, 2025
vmonakhov added a commit that referenced this issue Jan 20, 2025
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

1 participant