Skip to content

feat(auth): refresh expired sessions and link vhost rows to detail view#241

Merged
bihius merged 2 commits into
feat/logs-uxfrom
feat/nav-and-session
Jun 12, 2026
Merged

feat(auth): refresh expired sessions and link vhost rows to detail view#241
bihius merged 2 commits into
feat/logs-uxfrom
feat/nav-and-session

Conversation

@bihius

@bihius bihius commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • api-client: on a 401 from an authenticated request, attempt one deduplicated session refresh and retry the original request with the new token; auth-context wires this up via setUnauthorizedHandler and clears auth state on failure so ProtectedRoute redirects to login instead of pages rendering raw error responses (Docker Compose setup #5)
  • VHostsPage: clicking a row now navigates to its detail page via getVHostDetailPath; Edit/Delete clicks call stopPropagation so they don't trigger row navigation (Networking między kontenerami #6)

Dependencies

This PR is based on feat/logs-ux (#240) because it relies on DataTable.onRowClick introduced there. Merge #240 first; this PR's diff will shrink to just its own files once that lands.

Test plan

  • pnpm run type-check
  • pnpm run lint
  • pnpm run test (76 tests passed)

bihius and others added 2 commits June 11, 2026 23:00
- api-client: on a 401 from an authenticated request, attempt one
  deduplicated session refresh and retry; auth-context wires this up and
  clears auth state on failure so ProtectedRoute redirects to login
  instead of pages rendering raw error responses
- VHostsPage: clicking a row navigates to its detail page (Edit/Delete
  clicks no longer bubble into row navigation)

Depends on feat/logs-ux for DataTable.onRowClick.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@bihius bihius merged commit 24a9249 into feat/logs-ux Jun 12, 2026
3 checks passed
bihius added a commit that referenced this pull request Jun 12, 2026
feat(auth): refresh expired sessions and link vhost rows to detail view
@bihius bihius deleted the feat/nav-and-session branch June 14, 2026 08:00
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