Skip to content

feat: apply production learnings from pbx and vagrant-story#21

Merged
amrtgaber merged 1 commit into
mainfrom
feat/production-learnings-web
Mar 31, 2026
Merged

feat: apply production learnings from pbx and vagrant-story#21
amrtgaber merged 1 commit into
mainfrom
feat/production-learnings-web

Conversation

@amrtgaber
Copy link
Copy Markdown
Contributor

Summary

  • Add loading prop to Button with spinner and width preservation (prevents layout shift)
  • Add extra button sizes: xs, icon-xs, icon-sm, icon-lg
  • Add auth re-validation on visibilitychange (catches expired sessions when user returns to tab)
  • Add name field to auth context and /auth/me response type

Test plan

  • TypeScript type check passes
  • ESLint passes (only pre-existing warnings)
  • All Vitest tests pass
  • Full production build succeeds
  • CI passes

Add Button loading state with width preservation, extra button sizes
(xs, icon-xs, icon-sm, icon-lg), auth re-validation on tab focus via
visibilitychange, and name field to auth context.
@amrtgaber amrtgaber merged commit f63fbbc into main Mar 31, 2026
2 checks passed
@amrtgaber amrtgaber deleted the feat/production-learnings-web branch March 31, 2026 00:03
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