Skip to content

feat(ui): board loading skeleton + empty state (U4)#410

Open
OBenner wants to merge 1 commit into
developfrom
claude/ui-board-states-u4
Open

feat(ui): board loading skeleton + empty state (U4)#410
OBenner wants to merge 1 commit into
developfrom
claude/ui-board-states-u4

Conversation

@OBenner

@OBenner OBenner commented Jul 7, 2026

Copy link
Copy Markdown
Owner

What

Closes the U4 data-states gap (mockup board-empty-loading-first-run.html). The pilots showed a plain Loading… line, and with zero tasks rendered four blank columns under a useless toolbar.

  • BoardSkeleton (libs/ui) — shimmer placeholder mirroring the KanbanBoard column/card layout so the load→data transition doesn't shift the page. role=status + aria-busy + injectable label; honors prefers-reduced-motion.
  • BoardView empty state — a centered heading + description when there are zero tasks and emptyTitle is supplied; it replaces the whole board rather than showing an empty toolbar over blank columns. (The filtered-empty case still shows the toolbar + the match-count status line from U3.)
  • both pilots — loading → <BoardSkeleton>; pass empty title/description to BoardView. i18n pilot.empty.* / kanbanPilot.empty.* in en+fr for both apps.

Verification

  • libs/ui tsc 0, Electron tsc 0, web + electron biome clean, 24 adapter/filter tests green.
  • Confirmed live in the demo via DOM inspection: skeleton = 4 columns / 8 shimmer cards / aria-busy=true / aria-label / active animation; empty state = centered message with the board + toolbar absent.

🤖 Generated with Claude Code

Closes the U4 data-states gap from the board-empty-loading-first-run
mockup: the pilots showed a plain 'Loading…' line and, with zero tasks,
four blank columns under a useless toolbar.

- BoardSkeleton (libs/ui): shimmer placeholder mirroring the column/card
  layout so the load→data transition doesn't shift the page; role=status
  + aria-busy + injectable label; honors prefers-reduced-motion
- BoardView: a centered empty state (heading + description) when there
  are zero tasks and emptyTitle is supplied — replaces the whole board
  rather than rendering an empty toolbar over blank columns
- both pilots: loading → <BoardSkeleton>, and pass empty title/description
  to BoardView; i18n pilot.empty.* (en/fr, both apps)

Verified: libs/ui + Electron tsc 0, web/electron biome clean, 24 adapter
tests green; skeleton (4 cols / shimmer / aria-busy) and empty state
(replaces board, no toolbar) confirmed live in the demo via DOM.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Oleg Miagkov <mrobenner@gmail.com>
@cursor

cursor Bot commented Jul 7, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@OBenner, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 38 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: effa39b5-e563-4b36-9397-3fe9ab401d6f

📥 Commits

Reviewing files that changed from the base of the PR and between ba4367a and 5bb9af4.

📒 Files selected for processing (11)
  • apps/frontend/src/renderer/components/KanbanPilotView.tsx
  • apps/frontend/src/shared/i18n/locales/en/kanban.json
  • apps/frontend/src/shared/i18n/locales/fr/kanban.json
  • apps/web-frontend/src/i18n/locales/en/tasks.json
  • apps/web-frontend/src/i18n/locales/fr/tasks.json
  • apps/web-frontend/src/pages/KanbanPilot.tsx
  • libs/ui/src/index.ts
  • libs/ui/src/screens/BoardSkeleton.css
  • libs/ui/src/screens/BoardSkeleton.tsx
  • libs/ui/src/screens/BoardView.css
  • libs/ui/src/screens/BoardView.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/ui-board-states-u4

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant