fix(ui): redirect legacy slack workspace route#225
Conversation
👍 GitRank PR AnalysisScore: 20 points
Eligibility Checks
Impact SummaryThis PR fixes a routing bug where users accessing legacy Analysis DetailsComponent Classification: This PR spans both backend (Go) and frontend (React/TypeScript) changes across the Slack gateway integration and UI routing. Since it doesn't fit neatly into a single specialized component category and involves cross-cutting concerns, OTHER is the appropriate classification. Severity Justification: This is a P2 (Medium) severity fix addressing a functional bug where legacy SPA-mounted Slack gateway routes were rendering blank pages instead of redirecting to the real server-rendered gateway. The issue has a workaround (direct navigation) and doesn't cause data loss or service outages, but it does impact user experience and breaks a documented route pattern. Eligibility Notes: Issue: True - PR clearly fixes a broken routing behavior (blank page instead of proper redirect). Fix Implementation: True - code changes align with the stated goal of redirecting legacy routes. PR Linked: True - detailed summary with validation steps and manual testing on staging. Tests: True - includes both unit tests (App.test.tsx) and integration tests (gateway_test.go). Tests Required: True - this involves business logic changes (routing behavior) and API changes (making auth headers configurable), both of which require test coverage to prevent regressions. Analyzed by GitRank 🤖 |
Summary
/spritz/slack-gateway/*routes to the real server-rendered gateway pathsValidation
pnpm --dir ui test -- --run App.test.tsxpnpm --dir ui typecheckspritz-uiandspritz-slack-gateway, verified the blank page was replaced by the auth redirect flow instead of an empty route shell