Skip to content

feast: Add era recaps to dog trial laaja page#323

Merged
asku1990 merged 7 commits into
developfrom
feature/bej-127-add-erakohtaiset-tiedot-to-dog-kokeet-laaja-page
Jul 4, 2026
Merged

feast: Add era recaps to dog trial laaja page#323
asku1990 merged 7 commits into
developfrom
feature/bej-127-add-erakohtaiset-tiedot-to-dog-kokeet-laaja-page

Conversation

@asku1990

@asku1990 asku1990 commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

Adds expandable eräkohtaiset tiedot to the dog-specific Kokeet laaja page.

The page now loads optional era-level trial data and shows a single toggle when at least one trial contains era details. Expanding the toggle reveals compact v1-style era recap rows on desktop and era tables inside each trial card on mobile.

What changed

  • Added era-level fields to the dog trial contract and server mapping.
  • Updated the trial repository to optionally load era data only for the dog trials laaja view.
  • Added expandable era detail rendering for desktop and mobile layouts.
  • Kept the existing main trial result columns unchanged.
  • Added translations, documentation, changelog entry, and regression coverage for rows with sparse parent-level trial data.

Notes

  • Era details are hidden by default.
  • The toggle is only shown when the dog has at least one trial with era data.
  • Existing trial listing behavior remains unchanged when no era data exists.

ref bej-127

Add optional trial era data to dog profile trial contracts and fetch it only for the laaja view.

Render a single toggle on the Kokeet laaja page that reveals compact eräkohtaiset summaries for rows with era data, with desktop and mobile layouts
covered by tests.

fer bej-127
@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
beagle-db-v2 Ignored Ignored Preview Jul 4, 2026 2:54pm

asku1990 added 2 commits July 1, 2026 20:30
  Render desktop era details as v1-style child rows so the original
  trial result columns stay intact. Split the desktop era row from the
  mobile era table and rename the recap terminology to era details.
  Add render coverage for the expanded compact row layout.

ref bej-127
@asku1990 asku1990 marked this pull request as ready for review July 4, 2026 14:06
asku1990 added 4 commits July 4, 2026 17:33
  Remove an extra empty desktop era cell so Huomautus renders under
  the Huomautus header instead of shifting into the next column.
@asku1990 asku1990 merged commit 499dfe9 into develop Jul 4, 2026
5 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