Skip to content

refactor(discord): keep review conventions out of the Discord protocol - #498

Open
Isaiahriveraa wants to merge 1 commit into
refactor/discord-interaction-routingfrom
refactor/discord-review-conventions
Open

Isaiahriveraa wants to merge 1 commit into
refactor/discord-interaction-routingfrom
refactor/discord-review-conventions

Conversation

@Isaiahriveraa

Copy link
Copy Markdown
Collaborator

Rationale

platform/interactions.js mixed Discord's protocol with IUGA's review conventions (card colors, Approve/Deny buttons, the deny-reason pop-up, "already reviewed" replies, the database id check). Those now live in discord/review.js, so platform/ holds only Discord's protocol.

Observable Behavior

  • No behavior change.

Verification

  • Backend suite passes unchanged.

Stack Context

  • Separates IUGA's review conventions from Discord's protocol so both review flows share them, which the approvals split above uses.

🤖 Generated with Claude Code

platform/interactions.js mixed Discord's protocol with IUGA's review
conventions: card colors, the Approve and Deny buttons, the deny-reason
pop-up, the "already reviewed" replies, and the database id check.
Those now live in discord/review.js, shared by the event and registered
student organization (RSO) review flows. Each flow keeps its own rules
for approving. platform/ now holds only Discord's protocol.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🚀 Deployed on https://pr-498--iuga.netlify.app

@Isaiahriveraa
Isaiahriveraa added this pull request to stack #501 November 26, 2026 09:11
@Isaiahriveraa
Isaiahriveraa marked this pull request as ready for review November 26, 2026 09:19
Copilot AI balanced review requested due to automatic review settings November 26, 2026 09:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

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