Skip to content

refactor(ui): rename skills to agents and update related UI and i18n - #728

Merged
haiphucnguyen merged 3 commits into
mainfrom
feature/minor-improvements
Sep 23, 2026
Merged

haiphucnguyen merged 3 commits into
mainfrom
feature/minor-improvements

Conversation

@haiphucnguyen

Copy link
Copy Markdown
Collaborator

Summary

  • 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

Related Issue(s)

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📝 Documentation
  • ♻️ Refactor (no functional change)
  • 🧪 Tests
  • 🔧 Chore / tooling / CI

What Changed & Why

How to Test

./gradlew test

Screenshots / Recordings (if applicable)

Checklist

  • I have read the CONTRIBUTING guide
  • My branch is up to date with main
  • I ran ./gradlew spotlessApply and ./gradlew detekt locally
  • I ran ./gradlew test and all tests pass
  • I added/updated tests for my changes (if applicable)
  • I added/updated documentation (if applicable)
  • My commits are signed off (DCO) — git commit -s
  • This PR is focused on a single feature/fix

Additional Notes

- 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
Copilot AI lite review requested due to automatic review settings September 23, 2026 07:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 Medium severity · 1 Low severity

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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Three moderate review findings remain unresolved.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
Resolved since last review (3)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

The resource-collection detail view does not preserve the sidebar item’s active selection.

Review effort: Lite
Findings: None

Resolved since last review (1)

@haiphucnguyen
haiphucnguyen merged commit 967b78f into main Sep 23, 2026
10 of 11 checks passed
@haiphucnguyen
haiphucnguyen deleted the feature/minor-improvements branch September 23, 2026 07:43
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