Skip to content

editing and slugs and descs, i think i did slugs right?#178

Open
System-End wants to merge 3 commits intohackclub:mainfrom
System-End:category-tag-improvements
Open

editing and slugs and descs, i think i did slugs right?#178
System-End wants to merge 3 commits intohackclub:mainfrom
System-End:category-tag-improvements

Conversation

@System-End
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 14, 2026 00:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the tag management capabilities in Nephthys (Slack support bot) by adding richer metadata for team/category tags and introducing Slack Home UI flows to create/edit that metadata.

Changes:

  • Add description to team tags and add slug + description to category tags in the Prisma schema.
  • Add Slack modals + action/view handlers for editing team tags and category tags.
  • Update Home tab tag listings to display the new fields and expose edit controls for admins.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
prisma/schema.prisma Adds new DB fields (Tag.description, CategoryTag.slug, CategoryTag.description) to support richer tag metadata.
nephthys/views/modals/edit_team_tag.py New modal to edit a team tag’s name/description.
nephthys/views/modals/edit_category_tag.py New modal to edit a category tag’s name/slug/description.
nephthys/views/modals/create_team_tag.py Extends team tag creation modal with an optional description field.
nephthys/views/modals/create_category_tag.py Extends category tag creation modal with optional slug/description inputs.
nephthys/views/home/team_tags.py Displays team tag descriptions and adds an admin-only “Edit tag” action.
nephthys/views/home/category_tags.py Displays category tag slug/description and adds an edit action per tag.
nephthys/utils/slack.py Registers new Slack action/view routes for the edit flows.
nephthys/actions/edit_team_tag.py New handlers to open the edit team tag modal and persist edits.
nephthys/actions/edit_category_tag.py New handlers to open the edit category tag modal, validate inputs, and persist edits.
nephthys/actions/create_team_tag.py Extends team tag creation to persist optional descriptions.
nephthys/actions/create_category_tag.py Extends category tag creation to persist optional slug/description and validate slug format.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Collaborator

@MMK21Hub MMK21Hub left a comment

Choose a reason for hiding this comment

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

Sorry for the late review!

I see you've touched team tags as well, adding descriptions and editing to them. I'm cool with that!

(okay I accidentally pressed Ctrl+Enter so expect more comments soon)

Copy link
Copy Markdown
Collaborator

@MMK21Hub MMK21Hub left a comment

Choose a reason for hiding this comment

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

This looks good! I've left a few notes of things to change. Look forward to updating Flavortown's tags when this is implemented :)

P.S. don't forget to uv run pre-commit run --all

@System-End System-End requested a review from MMK21Hub March 28, 2026 14:07
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.

3 participants