Skip to content

feat: application summary page#431

Open
brunomenezes wants to merge 11 commits intomainfrom
feat/application-summary-page
Open

feat: application summary page#431
brunomenezes wants to merge 11 commits intomainfrom
feat/application-summary-page

Conversation

@brunomenezes
Copy link
Collaborator

@brunomenezes brunomenezes commented Feb 5, 2026

Summary

Code changes to add an "application home" instead of navigating straight to the list of epochs. The page contains a summary of the current status of application. tldr: Summary of status and quick access to epochs and active tournament if there is one.

Also, refactor a few components and improve syncing of colour-scheme changes between the Storybook toolbar and the switch in the application header. The commits are separated so it is easy to follow the changes if needed.

It closes the issue: #425

A test can be performed using the latest Cartesi CLI, ensuring the mock is disabled (default). Or a running rollups-node with an application, but update the environment variables accordingly.

But here is a storybook chromatic link: Application Summary Story

PS: In the in the chromatic story page just don't click the anchors because it is a Story and leads nowhere.

@brunomenezes brunomenezes linked an issue Feb 5, 2026 that may be closed by this pull request
7 tasks
@vercel
Copy link

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dave Ready Ready Preview, Comment Mar 2, 2026 1:15pm
rollups-explorer-arbitrum-mainnet Ready Ready Preview, Comment Mar 2, 2026 1:15pm
rollups-explorer-arbitrum-sepolia Ready Ready Preview, Comment Mar 2, 2026 1:15pm
rollups-explorer-base-mainnet Ready Ready Preview, Comment Mar 2, 2026 1:15pm
rollups-explorer-base-sepolia Ready Ready Preview, Comment Mar 2, 2026 1:15pm
rollups-explorer-mainnet Ready Ready Preview, Comment Mar 2, 2026 1:15pm
rollups-explorer-optimism-mainnet Ready Ready Preview, Comment Mar 2, 2026 1:15pm
rollups-explorer-optimism-sepolia Ready Ready Preview, Comment Mar 2, 2026 1:15pm
rollups-explorer-sepolia Ready Ready Preview, Comment Mar 2, 2026 1:15pm
rollups-explorer-workshop Ready Ready Preview, Comment Mar 2, 2026 1:15pm

Request Review

@brunomenezes brunomenezes linked an issue Feb 5, 2026 that may be closed by this pull request
7 tasks
@brunomenezes brunomenezes force-pushed the feat/application-summary-page branch from 007b70a to 8bd8a9e Compare February 6, 2026 13:31
@brunomenezes brunomenezes moved this to 👀 In review in Rollups SDK Feb 24, 2026
@brunomenezes brunomenezes added this to the 2.0.0 milestone Feb 24, 2026
@vfusco vfusco requested a review from Copilot February 28, 2026 21:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “application home/summary” page under /apps/[application] to present high-level application stats and quick navigation, while refactoring shared container layout and improving theme/Storybook color-scheme behavior.

Changes:

  • Introduces ApplicationSummaryPage + container and wires application navigation to land on the summary page instead of directly on epochs.
  • Refactors container layout spacing via a shared ContainerStack and reuses the shared QueryPagination in OutputList.
  • Sets global Mantine Spoiler defaults via theme, adds animated counters (TweenedNumber), and updates Storybook preview to sync color-scheme changes.

Reviewed changes

Copilot reviewed 29 out of 31 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
pnpm-lock.yaml Adds @react-spring/web and updates lockfile snapshots.
apps/dave/package.json Adds @react-spring/web dependency; expands clean script.
apps/dave/src/app/apps/[application]/page.tsx Adds new route entry for the application summary page.
apps/dave/src/containers/ApplicationSummaryContainer.tsx Fetches summary datasets and renders ApplicationSummaryPage.
apps/dave/src/page/ApplicationSummaryPage.tsx New summary UI (counts, latest epochs/inputs, active tournament link).
apps/dave/src/page/ApplicationSummaryPage.stories.tsx Storybook story for the new summary page.
apps/dave/src/components/SummaryCard.tsx New summary metric card component.
apps/dave/src/components/TweenedNumber.tsx New animated number component for metric values.
apps/dave/src/containers/ContainerStack.tsx New shared container layout wrapper (spacing defaults).
apps/dave/src/containers/*Container.tsx Updates containers to use ContainerStack and updated breadcrumbs.
apps/dave/src/components/QueryPagination.tsx Improves pagination calculations for edge cases.
apps/dave/src/components/output/OutputList.tsx Refactors to use QueryPagination and updated types.
apps/dave/src/providers/theme.ts Adds theme-level defaults for Mantine Spoiler.
apps/dave/mantine.d.ts Augments Mantine types for SpoilerProps customization.
apps/dave/src/components/*View.tsx Uses themed Spoiler defaults by removing repeated props.
apps/dave/.storybook/preview.tsx Reworks Storybook decorators and color-scheme syncing logic.
apps/dave/src/components/navigation/Hierarchy.tsx Adjusts sticky offset calculation.
.prettierignore Ignores generated sources under src/generated.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 29 out of 31 changed files in this pull request and generated 4 comments.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

None yet

Projects

Status: Waiting review

Development

Successfully merging this pull request may close these issues.

Application: Add a summaries page for application

2 participants