Skip to content

feat(Entities): add config file entity views with read-only toggle (Issue #4535) - #4536

Merged
ya092 merged 12 commits into
developmentfrom
feat/add-config-file-entity-views
Sep 14, 2026
Merged

ya092 merged 12 commits into
developmentfrom
feat/add-config-file-entity-views

Conversation

@ya092

@ya092 ya092 commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Description:

Adds the ability to browse entities defined in Core's configuration file (aidial.config.json) directly in the Admin UI. Previously, only API-stored entities were visible, leaving users unable to browse any entities when the admin API URL was not configured. A toggle switch is added to every entity list and detail page (Models, Applications, Interceptors, Toolsets, Routes, Roles, App Runners, and their Assets/Platform counterparts) that switches the view into a read-only config-file mode. When the admin API is configured the toggle is hidden and existing behavior is preserved. The second commit extends the same pattern to Catalog-level entities (Models, Applications, Interceptors), ensuring full coverage across all supported entity types.

Issues:

Key Changes:

New Components:

  • ConfigFilesToggle — toggle switch shown on entity list pages when the admin API is unavailable; switches the page into config-file read-only mode
  • ConfigFileListSwap — conditionally renders either the standard API-backed list or the config-file list depending on toggle state
  • PageList (Assets/Apps, Assets/Toolsets, Assets/Platform/Models, Assets/Platform/Interceptors, Assets/Platform/Roles, Assets/Platform/Routes, Assets/Platform/AppRunners) — read-only list pages for config-file entities in each area

Checklist:

  • the pull request name complies with Conventional Commits
  • the pull request name ends with (Issue #4535)

🤖 Generated with Claude Code

…ssue #4535)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tity (Issue #4535)

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ya092
ya092 merged commit cc57fe5 into development Sep 14, 2026
12 checks passed
@ya092
ya092 deleted the feat/add-config-file-entity-views branch September 14, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants