Repository navigation
fix: resolve retained UI bugs - #45
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe pull request updates localized headings and factoid save labels, removes stale source consultation text, adds confirmed flowchart node deletion, and expands unit and end-to-end coverage. ChangesQuality backlog improvements
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant User
participant FlowchartPage
participant ReactFlowState
participant Toast
User->>FlowchartPage: Select delete action
FlowchartPage->>User: Show confirmation dialog
User->>FlowchartPage: Confirm deletion
FlowchartPage->>ReactFlowState: Remove node and connected edges
FlowchartPage->>Toast: Show success feedback
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Essentials by visiting https://app.coderabbit.ai/settings/billing. Comment |
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Flowchart deletion can report success without deleting when a stale node selection remains after loading a saved flowchart.
Review effort: Lite
Findings: None
What changed in this PR
This pull request fixes retained UI issues involving stale metadata, localization, accessibility, and Flowchart deletion feedback.
Changes:
- Removed the stale Sources consultation date.
- Reused localized navigation labels for page headings.
- Added claim-specific Factoids labels and localized Flowchart deletion feedback.
- Added focused and desktop/mobile regression coverage.
| File | Description |
|---|---|
src/test/pages/SourcesPage.test.tsx |
Tests Sources metadata behavior. |
src/test/pages/FlowchartPage.test.tsx |
Tests Flowchart deletion behavior. |
src/test/pages/AttackPage.test.tsx |
Tests localized Attack heading behavior. |
src/test/components/FactoidsResults.test.tsx |
Tests accessible Factoids save labels. |
src/pages/SourcesPage.tsx |
Removes stale consultation date. |
src/pages/GeneratePage.tsx |
Reuses the localized navigation heading. |
src/pages/FlowchartPage.tsx |
Adds deletion confirmation and localized feedback. |
src/pages/FactoidsPage.tsx |
Reuses the localized navigation heading. |
src/pages/BrainstormPage.tsx |
Reuses the localized navigation heading. |
src/pages/AttackPage.tsx |
Reuses the localized navigation heading. |
src/pages/AskPage.tsx |
Reuses the localized navigation heading. |
src/locales/hu.json |
Adds localized UI strings. |
src/locales/es.json |
Adds localized UI strings. |
src/locales/en.json |
Adds localized UI strings. |
src/components/features/factoids/FactoidsResults.tsx |
Adds claim-specific accessible save labels. |
e2e/quality-backlog.spec.ts |
Adds desktop/mobile regression coverage. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Resolved the stale-selection edge case noted in Copilot review: loading a saved flowchart now clears the previous node selection before exposing edit/delete actions. Added a regression test that reproduced the no-op deletion/success-toast path. Fresh local verification: 1,023 coverage tests, lint, typecheck, build, and 12 desktop/mobile focused E2E tests all pass. |
|
@coderabbitai review |
|
|
@coderabbitai review |
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
Before/after proof
Verification
No production deployment or data mutation is included.
Summary by CodeRabbit
New Features
Bug Fixes
Tests