Skip to content

feat(us8b): drop learning + analytics UI views (PR-v5-8b)#188

Merged
thebtf merged 1 commit into
mainfrom
feat/v5-us8b-ui
Apr 18, 2026
Merged

feat(us8b): drop learning + analytics UI views (PR-v5-8b)#188
thebtf merged 1 commit into
mainfrom
feat/v5-us8b-ui

Conversation

@thebtf
Copy link
Copy Markdown
Owner

@thebtf thebtf commented Apr 18, 2026

US8-B: Drop Learning + Analytics UI Views (BREAKING, UI-only)

Split from US8 per user guidance (smaller PRs, clearer review).

Scope

  • DELETE: ui/src/views/LearningView.vue, ui/src/views/AnalyticsView.vue
  • REMOVE routes: /learning, /analytics from ui/src/router/index.ts
  • REMOVE sidebar nav: learning, analytics items from ui/src/components/layout/AppSidebar.vue

Stats

  • 4 files changed, 557 deletions(-)

Companion PRs (not yet opened)

  • US8-A: config env var cleanup (~2 files) — ready in worktree, cannot merge until consumers dropped
  • US8-C: Go core — scoring + learning packages + ~14 consumer files (pending)

Conventions

  • C7 (CodeRabbit only)
  • C1 (no stubs — files deleted cleanly)

Reversibility

REVERSIBLE (code).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Удалено
    • Удалены разделы "Аналитика" и "Обучение" из навигационного меню приложения, что делает их полностью недоступными для конечных пользователей.
    • Удалены все маршруты и страницы пользовательского интерфейса, связанные с этими функциями приложения.
    • Функции аналитики поиска и учебные материалы больше не доступны в приложении для конечных пользователей.
    • Соответствующие компоненты и связанные данные удалены из приложения.

Part of engram v5.0.0 US8 BREAKING cleanup — UI portion.

- Delete ui/src/views/LearningView.vue
- Delete ui/src/views/AnalyticsView.vue
- Remove router routes /learning, /analytics
- Remove sidebar nav items learning, analytics

This PR is UI-only. The Go-side learning/scoring subsystems are
dropped in companion PR US8-C (Go core) and US8-A (config env vars).
Split per user guidance to reduce per-PR scope.

REVERSIBLE.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 18, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 64e7e5d0-0a6d-4f36-a94e-f55bc5789d0d

📥 Commits

Reviewing files that changed from the base of the PR and between a861b94 and a08e12b.

📒 Files selected for processing (4)
  • ui/src/components/layout/AppSidebar.vue
  • ui/src/router/index.ts
  • ui/src/views/AnalyticsView.vue
  • ui/src/views/LearningView.vue
💤 Files with no reviewable changes (4)
  • ui/src/components/layout/AppSidebar.vue
  • ui/src/router/index.ts
  • ui/src/views/LearningView.vue
  • ui/src/views/AnalyticsView.vue

Обзор

Удалены две навигационные записи (аналитика и обучение) из боковой панели и определения маршрутов, а также полностью удалены связанные компоненты представлений AnalyticsView.vue и LearningView.vue, что исключает эти функции из приложения.

Изменения

Когорта / Файл(ы) Краткое описание
Удаление навигационных записей
ui/src/components/layout/AppSidebar.vue, ui/src/router/index.ts
Удалены две записи навигации (analytics и learning) из массива allNavItems в боковой панели и два определения маршрутов из массива routes в конфигурации маршрутизатора.
Удаление компонентов представлений
ui/src/views/AnalyticsView.vue, ui/src/views/LearningView.vue
Полностью удалены оба компонента представлений; AnalyticsView содержал управление состоянием аналитики с загрузкой данных и визуализацией, LearningView содержал панель мониторинга с кривой обучения и сравнением стратегий.

Оценка сложности проверки кода

🎯 1 (Тривиально) | ⏱️ ~3 минуты

Стихотворение

🐰 Два маршрута удалены с волшебством,
Аналитика и учёба в прошлом,
Боковая панель теперь легче дышит,
Коды чище, приложение тише,
Путь очищен для чего-то нового впереди! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: removal of learning and analytics UI views, routes, and navigation items.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/v5-us8b-ui

Comment @coderabbitai help to get the list of available commands and usage tips.

@thebtf
Copy link
Copy Markdown
Owner Author

thebtf commented Apr 18, 2026

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 18, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@thebtf thebtf merged commit 58c639d into main Apr 18, 2026
8 checks passed
@thebtf thebtf deleted the feat/v5-us8b-ui branch April 18, 2026 23:00
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the 'Analytics' and 'Learning' features from the application. The changes include deleting the navigation items from the sidebar, removing the associated routes from the router, and deleting the AnalyticsView.vue and LearningView.vue view components. I have no feedback to provide.

thebtf added a commit that referenced this pull request Apr 18, 2026
Part of engram v5.0.0 US10 cleanup. Follows US6 (GraphView drop), US8-B (LearningView + AnalyticsView drop).

- Delete `ui/src/views/PatternsView.vue` (21KB — references dropped patterns API from US5)
- Delete `ui/src/views/MonitorView.vue` (15KB — observability view, replaced by server logs endpoint)
- Delete `ui/src/views/SystemView.vue` (19KB — scoring stats, dropped in US8-C)
- Remove router routes `/patterns`, `/monitor`, `/logs` (redirect), `/system`
- Remove sidebar nav items: patterns, monitor, system

Stats: 5 files changed, 1525 deletions.

UI build (`npm run build`) green with surviving views.

Companion PRs:
- US6 (#187) ✅ — GraphView
- US8-B (#188) ✅ — LearningView + AnalyticsView

Stale API helpers in `ui/src/utils/api.ts` (patterns/monitor) retained — unused exports; will be cleaned in a dedicated UI cleanup PR.

REVERSIBLE.

Per C7 (CodeRabbit only).
thebtf added a commit that referenced this pull request Apr 19, 2026
…0) (#190)

Part of engram v5.0.0 US10 cleanup. Follows US6 (GraphView drop), US8-B (LearningView + AnalyticsView drop).

- Delete `ui/src/views/PatternsView.vue` (21KB — references dropped patterns API from US5)
- Delete `ui/src/views/MonitorView.vue` (15KB — observability view, replaced by server logs endpoint)
- Delete `ui/src/views/SystemView.vue` (19KB — scoring stats, dropped in US8-C)
- Remove router routes `/patterns`, `/monitor`, `/logs` (redirect), `/system`
- Remove sidebar nav items: patterns, monitor, system

Stats: 5 files changed, 1525 deletions.

UI build (`npm run build`) green with surviving views.

Companion PRs:
- US6 (#187) ✅ — GraphView
- US8-B (#188) ✅ — LearningView + AnalyticsView

Stale API helpers in `ui/src/utils/api.ts` (patterns/monitor) retained — unused exports; will be cleaned in a dedicated UI cleanup PR.

REVERSIBLE.

Per C7 (CodeRabbit only).

Co-authored-by: Kirill Turanskiy <thebtf@users.noreply.github.com>
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.

1 participant