Skip to content

feat(trials): redesign result creation workspace - #345

Merged
asku1990 merged 3 commits into
feature/bej-103-admin-trial-event-and-result-creationfrom
codex/bej-103-r3b-result-creation-ux
Aug 4, 2026
Merged

feat(trials): redesign result creation workspace#345
asku1990 merged 3 commits into
feature/bej-103-admin-trial-event-and-result-creationfrom
codex/bej-103-r3b-result-creation-ux

Conversation

@asku1990

@asku1990 asku1990 commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Organize manual result creation into collapsible cards following the official trial PDF domain structure without copying its matrix layout.

Provide a PDF-domain-grouped Lisätiedot workspace with individually collapsible groups, a single controlled row editor, responsive desktop and mobile presentation, semantic controls, and accessible focus handling. Keep R3A field visibility, draft ownership, serialization, validation, mutations, navigation protection, and editing behavior unchanged.

Ref BEJ-103

Summary

  • Group the result-create form into independently collapsible PDF-domain cards.
  • Keep Lisätiedot groups in PDF order with one active row editor shared across desktop and mobile.
  • Preserve the existing draft, save, validation, and navigation workflows.
  • Add focused workspace and regression coverage plus matching documentation.

Checklist

  • This PR includes user-visible changes.
  • If user-visible, I updated CHANGELOG.md under a versioned block (e.g., ## [x.y.z] - YYYY-MM-DD).

  Organize manual result creation into collapsible cards following the
  official trial PDF domain structure without copying its matrix layout.

  Add a searchable, grouped Lisätiedot workspace with responsive desktop
  and mobile editors, accessible focus handling, localized controls, and
  stable reset behavior. Keep R3A field visibility, draft ownership,
  serialization, validation, mutations, navigation protection, and
  editing
  behavior unchanged.

  Files:
  - CHANGELOG.md
  -
    apps/web/components/admin/trials/admin-trial-entry-create-page-client.tsx
  -
    apps/web/components/admin/trials/internal/__tests__/entry-meta-section.test.tsx
  -
    apps/web/components/admin/trials/internal/__tests__/era-section.test.tsx
  -
    apps/web/components/admin/trials/internal/__tests__/result-create-card.test.tsx
  -
    apps/web/components/admin/trials/internal/entry-meta-basic-fields.tsx
  - apps/web/components/admin/trials/internal/entry-meta-field.tsx
  -
    apps/web/components/admin/trials/internal/entry-meta-judge-fields.tsx
  - apps/web/components/admin/trials/internal/entry-meta-loss-fields.tsx
  -
    apps/web/components/admin/trials/internal/entry-meta-result-fields.tsx
  -
    apps/web/components/admin/trials/internal/entry-meta-score-fields.tsx
  - apps/web/components/admin/trials/internal/entry-meta-section.tsx
  - apps/web/components/admin/trials/internal/era-section.tsx
  - apps/web/components/admin/trials/internal/lisatiedot-workspace.tsx
  - apps/web/components/admin/trials/internal/result-create-card.tsx
  - apps/web/components/ui/sheet.tsx
  -
    apps/web/hooks/admin/trials/manage/__tests__/use-result-create-workspace-mobile.test.ts
  -
    apps/web/hooks/admin/trials/manage/use-result-create-workspace-mobile.ts
  -
    apps/web/lib/admin/trials/__tests__/lisatiedot-workspace-state.test.ts
  -
    apps/web/lib/admin/trials/__tests__/result-create-field-registry.test.ts
  - apps/web/lib/admin/trials/entry-edit-config.ts
  - apps/web/lib/admin/trials/lisatiedot-workspace-state.ts
  - apps/web/lib/admin/trials/result-create-field-registry.ts
  - apps/web/lib/i18n/messages/admin/trials/manage.ts
  - docs/features/admin-trial-management.md

  Ref BEJ-103
@vercel

vercel Bot commented Jul 23, 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 Aug 2, 2026 4:55pm

  Remove unfinished Lisätiedot search, filtering, bulk expansion
  controls,
  and selected-row chips. Keep PDF-domain groups individually
  collapsible
  with shared desktop/mobile row activation and draft ownership.

  Update reducer tests, accessibility labels, translations, and admin
  trial
  documentation to reflect the simpler workflow.

  Validation already run successfully: focused tests, web typecheck,
  targeted ESLint, and git diff --check.
  Remove the unreachable reducer reset action and its test. Add rendered
  workspace coverage for PDF-domain ordering, collapsible groups,
  active-row
  editor rendering, and accessible remove labels.

  Align the changelog, UX planning documentation, and PR description
  with the
  simplified Lisätiedot workflow.

  ref bej-103
@asku1990
asku1990 marked this pull request as ready for review August 2, 2026 17:14
@asku1990
asku1990 merged commit d197f9a into feature/bej-103-admin-trial-event-and-result-creation Aug 4, 2026
5 checks passed
@asku1990
asku1990 deleted the codex/bej-103-r3b-result-creation-ux branch August 4, 2026 17:14
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