|
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>
|
|---|
|
|
| admin/index.html 0 → 100644 |
|---|
| debug/eval/index.html |
|---|
| debug/index.html |
|---|
| navi/api/routes/admin.py |
|---|
| navi/core/pg_session_store.py |
|---|
| navi/core/session.py |
|---|
| navi/main.py |
|---|
| navi/profiles/_overrides.py 0 → 100644 |
|---|
| tests/integration/conftest.py |
|---|
| tests/integration/test_api_routes.py |
|---|
| tests/unit/profiles/conftest.py 0 → 100644 |
|---|
| tests/unit/profiles/test_overrides.py 0 → 100644 |
|---|
| webclient/dist/assets/index-BSatN9tx.js 100644 → 0 |
|---|
|
Not supported
|
| webclient/dist/assets/index-CLQGziRT.css 0 → 100644 |
|---|
| webclient/dist/assets/index-Dzl5FIe6.css 100644 → 0 |
|---|
| webclient/dist/assets/index-n2QOsc-B.js 0 → 100644 |
|---|
|
Not supported
|
| webclient/dist/index.html |
|---|
| webclient/src/App.vue |
|---|
| webclient/src/api/index.js |
|---|
| webclient/src/components/sidebar/AppSidebar.vue |
|---|
| webclient/src/main.js |
|---|
| webclient/src/router/index.js 0 → 100644 |
|---|
| webclient/src/views/HomeView.vue 0 → 100644 |
|---|