Skip to content

Enhance dashboard with loaders, optimize logs, and improve API errors#173

Merged
Polliog merged 8 commits intodevelopfrom
release/0.8.4
Mar 19, 2026
Merged

Enhance dashboard with loaders, optimize logs, and improve API errors#173
Polliog merged 8 commits intodevelopfrom
release/0.8.4

Conversation

@Polliog
Copy link
Collaborator

@Polliog Polliog commented Mar 19, 2026

This pull request introduces major improvements to both the frontend and backend of LogTide, focusing on enhanced user experience with skeleton loaders, significant backend performance optimizations, better error reporting, and improved deployment automation. The most important changes are grouped below:

Frontend: Skeleton loaders and loading overlays

  • Introduced new skeleton loader components (Skeleton, SkeletonTable, TableLoadingOverlay) with a smooth shimmer animation, providing content-shaped loading states across all dashboard pages (e.g., /dashboard, /dashboard/projects, admin tables, etc.). These loaders improve perceived performance and accessibility, including support for light/dark mode and reduced motion preferences. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]
  • Updated dashboard and admin pages to use skeletons for initial loads and overlays for re-fetches, replacing generic spinners and preventing layout shifts. [1] [2] [3] [4]

Backend: Performance and error handling improvements

  • /api/v1/logs/identifiers/batch endpoint now queries identifiers directly from PostgreSQL (log_identifiers table), bypassing unnecessary and slow storage engine lookups, resulting in much faster batch operations.
  • /api/v1/logs/hostnames endpoint now always caps the query window to 6 hours (regardless of input), adds a result limit (500), and leverages new engine-level optimizations for all supported databases, greatly reducing latency for hostname lookups. [1] [2]
  • Added new database indexes for TimescaleDB (idx_logs_project_hostname, idx_logs_id) to speed up hostname and ID-based queries.

Backend: API error reporting

  • API now returns a details array with field-level validation errors for 400 responses, supporting both Fastify/AJV and Zod validation errors, instead of only a generic message. This improves client-side error handling and debugging. [1] [2]

Frontend: Admin section reliability

  • Fixed admin pages returning 502 errors on reload by explicitly setting ssr = false in the admin layout, ensuring proper client-side rendering.

DevOps: Automated Helm chart releases

  • Workflow now automatically triggers a Helm chart release on every stable Docker image release, updating the chart repository with the new version for seamless deployments.

For a detailed list of all changes, see the updated changelog.

@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

❌ Patch coverage is 84.61538% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/backend/src/server.ts 60.00% 4 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Polliog Polliog merged commit 130f857 into develop Mar 19, 2026
6 checks passed
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