Add pagination, search, and sorting to admin sessions
Backend:
- Add count_all and search_list abstract methods to SessionStore
- Implement count_all and search_list in PgSessionStore (SQL with ILIKE)
- Implement count_all and search_list in InMemorySessionStore
- Update /admin/sessions to accept limit, offset, search, sort_by, sort_order
- Return {total, limit, offset, items} from /admin/sessions

Frontend:
- Add search input for sessions in admin panel
- Add clickable sortable column headers with asc/desc toggle
- Add pagination controls (prev/next, page size selector, item count)
- Debounce search input (300ms)

Tests:
- Add integration tests for pagination, offset, search, and sorting
- All 217 tests pass

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent bd8fb81 commit 193b7a5f8996174212b07577a3482c245e4967ef
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 8 May
Showing 23 changed files
View
admin/index.html 0 → 100644
View
debug/eval/index.html
View
debug/index.html
View
navi/api/routes/admin.py
View
navi/core/pg_session_store.py
View
navi/core/session.py
View
navi/main.py
View
navi/profiles/_overrides.py 0 → 100644
View
tests/integration/conftest.py
View
tests/integration/test_api_routes.py
View
tests/unit/profiles/conftest.py 0 → 100644
View
tests/unit/profiles/test_overrides.py 0 → 100644
View
webclient/dist/assets/index-BSatN9tx.js 100644 → 0
Not supported
View
webclient/dist/assets/index-CLQGziRT.css 0 → 100644
View
webclient/dist/assets/index-Dzl5FIe6.css 100644 → 0
View
webclient/dist/assets/index-n2QOsc-B.js 0 → 100644
Not supported
View
webclient/dist/index.html
View
webclient/src/App.vue
View
webclient/src/api/index.js
View
webclient/src/components/sidebar/AppSidebar.vue
View
webclient/src/main.js
View
webclient/src/router/index.js 0 → 100644
View
webclient/src/views/HomeView.vue 0 → 100644