Skip to content

Dashboard: client-side list table sort (SWR/React Query) #418

Closed

Description

@unjica

Summary

List pages (errors, events, sessions) sort via GET form submission → full Server Component navigation. Users expect the table to update in place without reloading summary charts, filters, and the whole page.

Goal

Move list table data fetching to the client (SWR or React Query) while keeping URL query params as the source of truth for shareable/bookmarkable sort state.

Deliverables

  • Client fetch layer for /api/errors, /api/events, /api/sessions list endpoints
  • Sort/order changes refetch table rows only — no full RSC page reload
  • Loading skeleton or overlay on table during refetch
  • Preserve server-rendered summary/charts on first paint (incremental migration OK)

Acceptance criteria

  • Changing sort updates the table without a visible full-page flash
  • Refreshing with ?sort=… still works

Base branch

develop

Activity

  1. self-assigned this
    on Jul 14, 2026
  2. added a commit that references this issue on Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions