Skip to content

Keep button text visible during loading states #65

@grantfox-oss

Description

@grantfox-oss

Problem
The shared Button component hides its children while isLoading is true and only shows a spinner. In several flows, this removes important context such as whether a project is being submitted, updated, or loaded.

Suggested fix
Let loading buttons keep their label by default, optionally replacing only icons with the spinner. Add an accessible loading label when needed.

Acceptance criteria
Loading buttons retain meaningful text.
Spinner has appropriate accessible treatment.
Existing callers continue to work without layout shifts.
Forms still prevent duplicate submits while loading.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignenhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions