Repository navigation
feat: make Discord announcement-only - #14
Merged
Merged
Conversation
Every decision now happens on the web; Discord shows the result. - Timetable posts list each date in the reader's own timezone with live "N/M available" counts and status, plus an "Open in Raidy" link button. The post is still edited in place as votes and decisions change. - The /team and /schedule wizards and the vote/manage buttons are gone. A single /raidy command replies with a link to your team's page, and buttons on older posts reply that Raidy moved to the web. - Signing in from a team link returns to that team instead of the first. Release v0.0.13.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
All planning now happens on the web. Discord only announces the result.
<t:…:F>, so every reader sees their own timezone/app?team=<id>/teamand/scheduleand their wizards are removed. A single/raidycommand replies privately with a link to your team in that server, or a sign-in link to create one./api/auth/login?team=42carries the team through the verified OAuth state, so you land on that team after signing in. Only a positive integer is accepted, so there is no open redirect. The landing page forwards?team.team.Drafts,TeamDraft) and the helpers only the wizards used.Release v0.0.13.
Tests
announce_test.go:/raidyreply for a team in this server and for no team/raidyis registeredTestLoginReturnsToTheLinkedTeam: valid team IDs, a missing team, and malformed or hostile values/app?team=42links to/api/auth/login?team=42go vet,go test ./...withTEST_DATABASE_URL,npm run check,format:check,build, and Playwright (17 passed) all pass locally.Manual check in Discord
/raidy.