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

Option to archive roles #10

Open
8 of 9 tasks
RyanFrantz opened this issue Dec 20, 2023 · 0 comments
Open
8 of 9 tasks

Option to archive roles #10

RyanFrantz opened this issue Dec 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@RyanFrantz
Copy link
Owner

RyanFrantz commented Dec 20, 2023

From Karl Kamdem:

It would be nice to have an “Archive” status for roles that I am not longer interested in or are not a good fit. Once I archive them, maybe they can be taken of the roles list to another location where they don’t pollute my active list but I can still access them if I am explicitly looking.

  • Create an API endpoint that returns a partial HTML document whose purpose is to display/change the state of a role's archive status.
  • Implement that partial HTML document on the role page using htmx.
  • Add support to store a role's archive state.
  • On the role page, use the storage support when fetching/updating the archive status.
  • On the roles page, generally, be able to show role archive state.
  • On the roles page, show non-archived roles, by default.
  • Update the roles page with a toggle button labeled "Show Archived Roles".
    • When toggled on, update the roles page to include archived roles. An additional header labeled "Archived?" should become visible and a checkbox shown as either checked or not, depending on the role's archive status.
    • A user should be able to toggle a role's archive status from the roles page when archived roles are visible.
@RyanFrantz RyanFrantz added the enhancement New feature or request label Jan 4, 2024
RyanFrantz added a commit that referenced this issue Jan 6, 2024
RyanFrantz added a commit that referenced this issue Jan 23, 2024
- Archived roles are hidden by default and can be toggled by a user.
- All elements related to illustrating a role is archived are hidden by
  default and toggle-able.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant