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

Allow toggling and reordering categories #21

Open
12 of 16 tasks
oczki opened this issue Mar 19, 2021 · 2 comments
Open
12 of 16 tasks

Allow toggling and reordering categories #21

oczki opened this issue Mar 19, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request loc-frontend Visible to end users

Comments

@oczki
Copy link
Owner

oczki commented Mar 19, 2021

  • Add a new section under settings: Categories management.
Kategorie
[x] Miejsce         [v] [ ]
[x] Postać          [v] [^]
[ ] Cecha postaci   [v] [^]
[x] Emocja          [v] [^]
[ ] Relacja         [v] [^]
[ ] Czynność        [ ] [^]

Instead of buttons, this could be done based on dragging (with ⠿ icon as handler) and support touch events as well. Sounds like a fun challenge. (It isn't.)

  • Allow reordering the items in this list.
  • Propagate changes from this list into the real categories in <main> (reordering).
  • Propagate changes from this list into the real categories in <main> (showing).
  • Propagate changes from this list into the real categories in <main> (hiding).
  • Animate the swap via some fancy CSS animations.
  • To keep the gradient, colors will have to be assigned from top to bottom, not bound to specific categories.
  • Handle a case where someone hides all categories. Maybe show a logo with direct link to category management and a separate link to revert to defaults.
  • Check how it all works with a screen reader.
  • Check how it all works in light and dark mode.
  • Check how it all works with animations enabled and disabled.
  • Add an indicator to the footer icon if any category is hidden. Use proper cutout around the dot.
  • Add a counter to the panel's header. Kategorie (7/9)
  • Prevent tabbing to hidden categories' buttons.
  • Prevent tabbing to placeholder's two buttons if the placeholder is not shown.
  • Resolve microcopy TODO (see comment below)
@oczki oczki added enhancement New feature or request loc-frontend Visible to end users labels Mar 19, 2021
oczki added a commit that referenced this issue Mar 20, 2021
oczki added a commit that referenced this issue Mar 20, 2021
@oczki oczki removed the enhancement New feature or request label Mar 20, 2021
oczki added a commit that referenced this issue Mar 21, 2021
only works in the panel, changes are not visible in the main view
checks the 2nd checkbox of #21
oczki added a commit that referenced this issue Mar 21, 2021
checks the 3rd checkbox in #21
oczki added a commit that referenced this issue Apr 6, 2022
@oczki
Copy link
Owner Author

oczki commented Apr 19, 2022

982c0f6 introduced a TODO to rewrite the microcopy of the 'restore all' button.


Ideas

[ Przywróć domyślne kategorie ]
[ Pokaż listę kategorii ]

(that's a lot of repetition!)


[ Pokaż listę kategorii ]
- albo -
[ Przywróć domyślne ]

(this looks better, but requires swapping the order of buttons)

@oczki
Copy link
Owner Author

oczki commented Apr 24, 2022

The above was fixed by actually restoring every category to visible state. I believe this is a more sensible solution.

@oczki oczki added the enhancement New feature or request label May 29, 2022
@oczki oczki self-assigned this May 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request loc-frontend Visible to end users
Projects
None yet
Development

No branches or pull requests

1 participant