Skip to content

Comments

feat(web): add date picker and provider table #274

Draft
silent-cipher wants to merge 8 commits intomainfrom
feat/web/provider-table
Draft

feat(web): add date picker and provider table #274
silent-cipher wants to merge 8 commits intomainfrom
feat/web/provider-table

Conversation

@silent-cipher
Copy link
Collaborator

Summary

Adds a new Providers Table to the NewLanding page that displays storage provider metrics (storage success rate, data retention fault rate, retrieval success rate) with configurable time window filtering. Introduces shared infrastructure for data fetching, schema validation, and date/preset selection.

Key Changes

  • Providers Table

    • New providers metrics table built with tanstack/react-table
    • Color-coded cells for success/fault rates and samples based on acceptance criteria
    • Manual Approved badge support for providers
  • Time Window Selection

    • Shared time window selector with presets (1h–90d, All Time) and custom date ranges
    • Centralized time window utilities for presets, labels, and URL serialization
  • Data Fetching & Validation

    • useProvidersQuery hook using tanstack/react-query with preset and range support
    • Runtime API response validation via Zod
    • Query client configured with sensible caching defaults
  • Mocking & Dev Experience

    • MSW setup for frontend development without a backend
    • Mock handlers and fixtures added
  • UI Updates

    • Added shadcn/ui table component
    • Improved calendar range selection styling and locale support

closes #214

@FilOzzy FilOzzy added this to FOC Feb 13, 2026
@github-project-automation github-project-automation bot moved this to 📌 Triage in FOC Feb 13, 2026
@BigLep BigLep moved this from 📌 Triage to 🔎 Awaiting review in FOC Feb 14, 2026
@BigLep
Copy link
Contributor

BigLep commented Feb 14, 2026

Thanks for sharing @silent-cipher. Given the current downscoping of the dealbot in #239, I assume this PR isn't needed at the moment but can be picked back up if/when we prioritize #214 in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🔎 Awaiting review

Development

Successfully merging this pull request may close these issues.

[GA Dashboard] - Provider table and Date picker

2 participants