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

Task Collection Rank: Improve validity and reverse numbers #1277

Open
MrSerth opened this issue Mar 1, 2024 · 0 comments
Open

Task Collection Rank: Improve validity and reverse numbers #1277

MrSerth opened this issue Mar 1, 2024 · 0 comments

Comments

@MrSerth
Copy link
Member

MrSerth commented Mar 1, 2024

Currently, the rank attribute of task_collections is stored as a number, with the highest rank being on top of the list. With the current implementation, I see two possibilities for improvement:

  1. The rank value 0 might occur multiple times, which will lead to the respective task being listed at the bottom. That behavior per-se is okay, but I would prefer to always have a valid numbering scheme stored in the database.
    Bildschirmfoto 2024-03-01 um 14 07 12
  2. We could think of switching the rank to something like position and reverse the numbers (with 0 being at the top of the list).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant