Skip to content

feat(mobile-ui): implement skeleton loading states - #351

Draft
Adamskiee wants to merge 1 commit into
developfrom
feature/mobile-skeleton-loading
Draft

feat(mobile-ui): implement skeleton loading states#351
Adamskiee wants to merge 1 commit into
developfrom
feature/mobile-skeleton-loading

Conversation

@Adamskiee

Copy link
Copy Markdown
Collaborator

Summary

  • Adds delayed, accessible skeleton loading states across announcements, search, peer profile, profile settings, QR code, and public chat.
  • Adds shared skeleton primitives and timing coverage, including overlapping loading cycles.
  • Fixes stale peer profile content when a route id changes without an unmount.

Validation

  • pnpm run testAll before rebasing onto develop
  • pnpm test -- --runInBand app/\(drawer\)/\(tabs\)/peer/__tests__/peer-profile.test.tsx features/shared/hooks/use-delayed-loading.test.ts
  • pnpm run typecheck
  • pnpm run lint

Smoke test

  • Verify slow first loads show one accessible skeleton announcement while cached loads and refetches keep content visible.
  • Verify peer A to peer B navigation never shows peer A data on peer B.
  • Verify Public Chat and chat detail show unchanged message-bubble skeleton layouts.

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