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

Adds ability for admins to edit navigation toggles #154

Merged
merged 4 commits into from
Jan 9, 2025

Conversation

mjanderson1227
Copy link
Collaborator

Why

Toggles currently have the option to be edited. However, this functionality is not yet implemented. Admins need a way to edit existing navigation links.

What

  • Added a new admin action that modifies an existing navigation item in KV.
  • Added functionality for the edit button to present a dialog window for admins to edit the content of the navigation entry.
  • Added toast to be displayed when a create/update/toggle/delete action fails.

NOTE:

Does NOT implement optimistic updates for the navigation list.

Satisfies

#90
https://linear.app/acmutsa/issue/HK-151/edit-toggles

Copy link

vercel bot commented Dec 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hack-kit-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 9, 2025 6:29pm

Copy link
Collaborator

@christianhelp christianhelp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small change on the feedback and we're good.

@christianhelp christianhelp merged commit f1e6b5c into dev Jan 9, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants