Repository navigation
refactor(ui): rename skills to agents and update related UI and i18n - #728
Merged
Merged
Conversation
- replace all “Skills” references with “Agents” in navigation, menus, and view state - add new preference key for showing resource collections in the sidebar - update statistics cards to display agent runs and resource collections - extend i18n bundles with new agent and resource‑collection strings - introduce AgentRunHistoryRepository.countAll for agent run metrics - refactor RagIndexer to recover interrupted index statuses on startup
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Correct the agent-run metric label, optimize and test indexing recovery, and add countAll() coverage.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 2
Open (3)
What changed in this PR
Refactors the UI terminology from Skills to Agents, adds resource-collection navigation and metrics, and improves interrupted RAG indexing recovery.
Changes:
- Renames Skills-related views, menus, state, and translations to Agents.
- Adds resource-collection preferences, navigation, metrics, and documentation links.
- Adds agent-run counting and interrupted-index recovery.
Review follow-ups: correct the agent-run metric label, optimize startup recovery with SQL filtering and batched updates, and add the requested repository and recovery tests.
| File | Summary |
|---|---|
shared/src/main/kotlin/io/askimo/core/rag/RagIndexer.kt |
Recovers interrupted indexing states; recovery optimization and test coverage are needed. |
shared/src/main/kotlin/io/askimo/core/agent/repository/AgentRunHistoryRepository.kt |
Adds countAll() for agent-run metrics; add empty and populated history coverage. |
desktop/src/main/kotlin/io/askimo/desktop/View.kt |
Renames the Skills view to Agents. |
desktop/src/main/kotlin/io/askimo/desktop/shell/NavigationSidebar.kt |
Adds resource-collection navigation visibility. |
desktop/src/main/kotlin/io/askimo/desktop/shell/ComposeTopMenuBar.kt |
Updates Agent and resource-collection menu toggles. |
desktop/src/main/kotlin/io/askimo/desktop/resourcecollection/ResourceCollectionsViewModel.kt |
Removes obsolete sidebar state. |
desktop/src/main/kotlin/io/askimo/desktop/resourcecollection/ResourceCollectionsView.kt |
Adds RAG documentation and reindex controls. |
desktop/src/main/kotlin/io/askimo/desktop/project/ProjectsView.kt |
Adds a RAG documentation link. |
desktop/src/main/kotlin/io/askimo/desktop/Main.kt |
Wires navigation, preferences, and metrics. |
desktop/src/main/kotlin/io/askimo/desktop/di/DesktopModule.kt |
Updates Discover dependencies. |
desktop-shared/src/main/resources/i18n/messages.properties |
Updates English UI translations. |
desktop-shared/src/main/resources/i18n/messages_zh_TW.properties |
Updates Traditional Chinese translations. |
desktop-shared/src/main/resources/i18n/messages_zh_CN.properties |
Updates Simplified Chinese translations. |
desktop-shared/src/main/resources/i18n/messages_vi_VN.properties |
Updates Vietnamese translations. |
desktop-shared/src/main/resources/i18n/messages_pt_BR.properties |
Updates Brazilian Portuguese translations. |
desktop-shared/src/main/resources/i18n/messages_ko_KR.properties |
Updates Korean translations. |
desktop-shared/src/main/resources/i18n/messages_ja_JP.properties |
Updates Japanese translations. |
desktop-shared/src/main/resources/i18n/messages_fr.properties |
Updates French translations. |
desktop-shared/src/main/resources/i18n/messages_es.properties |
Updates Spanish translations. |
desktop-shared/src/main/resources/i18n/messages_de.properties |
Updates German translations. |
desktop-shared/src/main/kotlin/io/askimo/ui/shell/NavigationSidebar.kt |
Removes the embedded collections section. |
desktop-shared/src/main/kotlin/io/askimo/ui/shell/NativeMenuBar.kt |
Adds native Agent and collection visibility toggles. |
desktop-shared/src/main/kotlin/io/askimo/ui/discover/DiscoverViewModel.kt |
Loads agent-run and collection counts. |
desktop-shared/src/main/kotlin/io/askimo/ui/discover/DiscoverView.kt |
Displays updated statistics; the agent-run metric needs a matching label. |
desktop-shared/src/main/kotlin/io/askimo/ui/common/preferences/ApplicationPreferences.kt |
Persists collection sidebar visibility. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Related Issue(s)
Type of Change
What Changed & Why
How to Test
./gradlew testScreenshots / Recordings (if applicable)
Checklist
main./gradlew spotlessApplyand./gradlew detektlocally./gradlew testand all tests passgit commit -sAdditional Notes