Claudio/fix hydration#264
Conversation
…e details for mapped requirements
…ntrol details view for enhanced data presentation
…n and sorting in controls view
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request introduces two new React table components—ArtifactsTable and RequirementsTable—to display sorted, searchable, and paginated lists of artifacts and requirements respectively. The SingleControl component is refactored to leverage these new tables and now accepts an additional prop for related artifacts. A new helper, getRelatedArtifacts, is implemented for data fetching with caching and error handling. Breadcrumbs across several pages are updated to mark the current page. Additionally, several DataTable components and the associated hook now support URL query state management via an optional table ID, and locale files are enhanced with artifacts and framework messages. Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant CP as ControlPage
participant GA as getRelatedArtifacts
participant SC as SingleControl
participant RT as RequirementsTable
participant AT as ArtifactsTable
U->>CP: Request control page
CP->>GA: Fetch related artifacts
GA-->>CP: Return artifact data
CP->>SC: Render control with requirements & artifacts
SC->>RT: Render Requirements Table
SC->>AT: Render Artifacts Table
sequenceDiagram
participant U as User
participant DTP as DataTablePagination
participant QS as useQueryState
participant DT as DataTable
U->>DTP: Click next page
DTP->>QS: Update URL parameter (page via tableId)
QS-->>DTP: Return updated page state
DTP->>DT: Re-render table with new pagination state
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (19)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
New Features
UI Enhancements
Localization