-
-
Notifications
You must be signed in to change notification settings - Fork 49
feat: extension details #470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughAdds backend support and routes to fetch a single extension execution and list executions by extension ID, updates API versions metadata, and implements frontend pages, tabs, and Redux API hooks to display executions and an overview. Includes i18n additions, navigation to detail pages, and UI refactors consolidating step rendering. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant U as Client UI
participant FE as Frontend (RTK Query)
participant API as API Router
participant C as ExtensionsController
participant S as ExtensionService
participant ST as ExtensionStorage
participant DB as Database
rect rgba(200,230,255,0.2)
note over U,FE: List executions by extension_id
U->>FE: useListExecutionsQuery({ extensionId })
FE->>API: GET /v1/extensions/by-extension-id/{extension_id}/executions
API->>C: ListExecutionsByExtensionID(ctx)
C->>S: ListExecutionsByExtensionID(extensionID)
S->>ST: ListExecutionsByExtensionID(extensionID)
ST->>DB: SELECT executions WHERE extension_id ORDER BY created_at DESC
DB-->>ST: rows
ST-->>S: []ExecutionExecution
S-->>C: []ExecutionExecution
C-->>API: 200 JSON list
API-->>FE: 200 JSON list
FE-->>U: Render executions
end
rect rgba(200,255,200,0.2)
note over U,FE: Get single execution by id
U->>FE: useGetExecutionQuery({ executionId })
FE->>API: GET /v1/extensions/execution/{execution_id}
API->>C: GetExecution(ctx)
C->>S: GetExecutionByID(id)
S->>ST: GetExecutionByID(id)
ST->>DB: SELECT execution WHERE id
DB-->>ST: row
ST-->>S: ExecutionExecution
S-->>C: ExecutionExecution
C-->>API: 200 JSON
API-->>FE: 200 JSON
FE-->>U: Render execution
end
rect rgba(255,230,200,0.25)
alt Missing/empty id
C-->>API: 400 Bad Request
else Storage/service error
ST-->>S: error
S-->>C: error
C-->>API: 500 Internal Server Error
end
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (17)
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. Comment |
@coderabbitai summary |
✅ Actions performedSummary regeneration triggered. |
Summary by CodeRabbit
New Features
Localization
Chores