Skip to content

feat(system): add the User logs viewer under Information#38

Merged
fdaugan merged 1 commit into
feature/vuejsfrom
norman/user-logs-view
Jun 17, 2026
Merged

feat(system): add the User logs viewer under Information#38
fdaugan merged 1 commit into
feature/vuejsfrom
norman/user-logs-view

Conversation

@Terracosmos

Copy link
Copy Markdown
Collaborator

Context

UI part of #34. Adds the admin "User logs" view that lists the
browser errors captured by the front-end reporter and stored by the backend.

What it does

  • New read-only view SystemUserLogView at /system/information/user-logs,
    reachable from the Information page (new "User logs" action).
  • Server-side paging/sort via useDataTable('user-log') + VibrantDataTable,
    default sort date desc. Columns: date, user, message, url. Epoch-ms dates are
    formatted for display.
  • A From/To date-range filter wired to the GET's from/to query (the "To" bound
    covers the whole selected day).

Design decisions

  • Read-only by design: these rows are produced by the reporter (POST), only
    consulted here — no edit/delete.
  • No free-text search field: the backend GET currently filters by date range +
    paging + sort only, so a text box would be inert. A server-side text filter would
    be a small backend follow-up if wanted.

Dependencies

Tests

npm run test (incl. a view test: mounts, columns, default sort, triggers the
rest/user-log GET with sidx=date&sord=desc) and npm run build pass. Verified
in the running app: rows listed date-desc, dates formatted, paging, date filter
restricting the list.

Note

Base is feature/vuejs → the issue won't auto-close. Refs #34 — close
manually once the three parts (backend, capture, UI) are merged.

Feedback welcome.

Read-only admin view at /system/information/user-logs listing browser errors from GET rest/user-log: server-side paging/sort (date desc) via useDataTable + VibrantDataTable, a From/To date-range filter, and a link from the Information page.
@Terracosmos Terracosmos requested a review from fdaugan June 17, 2026 10:35
@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@fdaugan fdaugan merged commit 6d70282 into feature/vuejs Jun 17, 2026
3 of 4 checks passed
@fdaugan fdaugan deleted the norman/user-logs-view branch June 17, 2026 15:57
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.

2 participants