You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactors the Button component to support an `isLoading` prop, ensuring consistent loading feedback across the application. Replaces manual "Processing..." text in Auth page with this new standard.
- Adds `isLoading` prop to `Button` component
- Creates `Spinner` component
- Updates Auth page to use `isLoading`
- Improves accessibility with `aria-disabled` and `role="status"`
**Learning:** The application previously used manual text updates (e.g., "Processing...") for loading states, which causes layout shifts and lacks visual consistency.
5
+
**Action:** Implemented a standardized `isLoading` prop on the `Button` component that automatically disables the button and renders a `Spinner`. This pattern should be used for all async actions going forward to ensure a consistent Neobrutalism look and prevent multiple submissions.
0 commit comments