Skip to content

feat(ui): add audit loading placeholders - #1188

Merged
scttbnsn merged 4 commits into
dev/v1.8from
feat/v1.8-audit-loading-skeleton
Sep 13, 2026
Merged

scttbnsn merged 4 commits into
dev/v1.8from
feat/v1.8-audit-loading-skeleton

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Change

Show six noninteractive loading placeholders in Audit. Match the saved table/card view and use cards when the measured content width is below 640px. Reuse existing theme colors and the French-capable localized loading message with a status role. The placeholders stay static, including for reduced-motion users.

Fetching, filters, pagination and the existing success/empty/error states are unchanged. No new requests, animation timers, dependencies, API changes or placeholder actions.

Verification

  • Four genuine deferred-response regressions failed before implementation and now pass. They cover localized status, hidden/noninteractive placeholders, success/empty/error cleanup, saved view mode, the 639/640px boundary and no extra requests.
  • 160 focused tests, actual Vue typecheck and Biome pass. Normal integration with landed fleet roster changes leaves Audit runtime and tests byte-for-byte unchanged.
  • Parent source review found no actionable issue. Browser QA drove the actual AuditView, audit service, DataViewLayout, DataTable, theme and French translations in a private fixture with deferred responses. Wide rows and narrow cards render correctly in dark/light themes, without horizontal overflow. Success, empty and error responses remove loading/busy status. No backend, Docker operation or full-application QA is claimed.
  • Browser pages and the fixture listener are stopped and verified absent.

Normal full pre-push passed in 402.47 seconds on 0221971b30122348e5f44cdd333d0c80cf86b324, including both configured 100% coverage gates, both builds, actual Vue typecheck and applicable static/script/workflow checks. Hosted CI and the first CodeRabbit source review are required before merge.

Threat model: presentation-only loading state in the existing authenticated Audit view. No permission, service or persistence changes. This PR targets dev/v1.8, not main or production.

✨ Added

  • Add six static loading placeholders to AuditView.vue.
  • Support table and card layouts based on saved view mode and measured content width.
  • Add French-capable localized loading text with role="status".
  • Add tests for pending, settled, localized, noninteractive, and non-animated states.

🔧 Changed

  • Emit and track DataViewLayout content width.

  • Use card layout below 640px.

  • Keep existing data fetching, filtering, pagination, and settled states unchanged.

  • Confirm hosted checks and the initial CodeRabbit review before merge.

@vercel

vercel Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
drydock-website Ready Ready Preview Sep 13, 2026 9:39pm UTC
drydockdemo-website Ready Ready Preview Sep 13, 2026 9:39pm UTC

@coderabbitai

coderabbitai Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: b169606f-6db9-46ea-a262-c6719b2fc82b

📥 Commits

Reviewing files that changed from the base of the PR and between f35585e and 3abe8e1.

⛔ Files ignored due to path filters (1)
  • CHANGELOG.md is excluded by !CHANGELOG.md
📒 Files selected for processing (2)
  • ui/src/views/AuditView.vue
  • ui/tests/views/AuditView.spec.ts

Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The audit view now tracks measured content width and selects card or table loading placeholders based on view mode and width. It renders an accessible six-row skeleton while audit data loads. Tests cover localized status text, accessibility attributes, pending and settled states, and responsive layout changes.

Priority: ⬇️ Low

Change: Feature

Merge Risk: ⚪ Minimal · up to 3abe8

The audit loading placeholders preserve the existing data flows while providing responsive, localized loading feedback. No actionable merge risk remains.

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/v1.8-audit-loading-skeleton

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.

@codecov

codecov Bot commented Sep 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@scttbnsn

Copy link
Copy Markdown
Contributor Author

Integrated current dev normally at bc697c99bb14f92314e8ae6b141d1306592f180a, including the reviewed opt-in policy for second opinions. Audit source and tests are unchanged; the PR is still three files.

Full pre-push passed in 374.82 seconds, including both configured 100% coverage gates and both builds. Remote head matches. The earlier coverage job also passed on an unchanged retry, so that cancellation did not require a source fix. This new head still needs its own hosted checks and first CodeRabbit review; the latest response is a quota notice, not a review.

@scttbnsn

scttbnsn commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor Author

Integrated the landed Vue coverage gate at 3abe8e17f68d7d76db2ba99accd3f4b95e501d56. Audit source and tests are unchanged. Full pre-push passed in 393.60s: 16,515 backend tests plus one skip, 5,782 UI tests, backend and all 154 UI TypeScript files at 100%, and all 100 Vue components above the unchanged coverage floors. Both builds and the Vue checker passed. Remote head matches and the checkout is clean.

CodeRabbit is already processing this head, so no duplicate review request. Threat model is still presentation-only loading state in the existing authenticated Audit view, with no permission, service or persistence changes. Hosted checks are running.

@scttbnsn
scttbnsn enabled auto-merge (squash) September 13, 2026 21:43
@scttbnsn
scttbnsn merged commit 69efe8d into dev/v1.8 Sep 13, 2026
32 of 33 checks passed
@scttbnsn
scttbnsn deleted the feat/v1.8-audit-loading-skeleton branch September 13, 2026 22:02