-
-
Notifications
You must be signed in to change notification settings - Fork 49
feat: extensions #430
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
base: feat/develop
Are you sure you want to change the base?
feat: extensions #430
Conversation
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughIntroduces a full “extensions” feature across API, storage, migrations, loader/parser, routing, and frontend (Redux types/slice, hooks, components, i18n, navigation). Adds templates and startup loading. Also updates the API version timestamp. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant U as User (Browser)
participant V as View (React)
participant RTK as RTK Query
participant API as API Router
participant C as ExtensionsController
participant S as ExtensionService
participant St as Storage
participant DB as Database
U->>V: Navigate to /extensions
V->>RTK: useGetExtensionsQuery(params)
RTK->>API: GET /v1/extensions?search&sort_by&sort_dir&page&page_size
API->>C: Route to GetExtensions
C->>S: ListExtensions(params)
S->>St: ListExtensions(params)
St->>DB: SELECT (filters, search, sort, paginate)
DB-->>St: Rows + total
St-->>S: ExtensionListResponse
S-->>C: ExtensionListResponse
C-->>API: 200 JSON
API-->>RTK: Response
RTK-->>V: data, isLoading=false
V-->>U: Render grid/page
sequenceDiagram
autonumber
participant Init as Store Init
participant L as ExtensionLoader
participant P as YAML Parser
participant DB as Database
Init->>L: LoadExtensionsFromTemplates()
L->>P: LoadExtensionsFromDirectory(templates/)
P-->>L: [extensions[], variables[][]]
loop each extension
L->>DB: Begin Tx
L->>DB: Upsert extension
L->>DB: Delete/Insert variables (bulk)
DB-->>L: Commit
end
L-->>Init: Done
Estimated code review effort🎯 4 (Complex) | ⏱️ ~75 minutes Possibly related PRs
Poem
✨ Finishing touches🧪 Generate unit tests (beta)
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 and short title |
@raghavyuva I'll regenerate the summary and short title for this PR about extensions functionality. ✅ Actions performedSummary regeneration triggered. |
* feat: extension forking * fix: remove duplicate route endpoints due to merge conflict resolution * ui: update design for fork customization
Summary by CodeRabbit
New Features
Chores