Skip to content

add disabled reason helper text for claims#150

Merged
Chucks1093 merged 4 commits into
accesslayerorg:mainfrom
Johnpii1:codex/add-disabled-reason-helper-text-for-claims
Apr 25, 2026
Merged

add disabled reason helper text for claims#150
Chucks1093 merged 4 commits into
accesslayerorg:mainfrom
Johnpii1:codex/add-disabled-reason-helper-text-for-claims

Conversation

@Johnpii1

Copy link
Copy Markdown
Contributor

Summary

Description
Add a centralized helper getClaimActionDisabledReasonText in src/utils/claimActionDisabledReason.ts with a ClaimActionDisabledReasonKey type and a mapped set of standardized messages.
Add unit tests in src/utils/tests/claimActionDisabledReason.test.ts covering every supported disabled-reason key.
Add documentation docs/ClaimActionHelperText-DisabledReason.md with intent, supported keys, usage example, and local validation instructions.
Keep the change scoped to the new utility, tests, and docs with no unrelated file churn.

Testing

Ran pnpm test src/utils/tests/claimActionDisabledReason.test.ts, and the test file passed.
Ran pnpm lint (ESLint), and lint completed successfully.

  • pnpm lint
  • pnpm build

Checklist

close #131

  • Linked issue or backlog item
  • Scope is limited to the stated change
  • Updated docs if behavior or setup changed
  • Added screenshots for UI changes when relevant

@drips-wave

drips-wave Bot commented Apr 25, 2026

Copy link
Copy Markdown

@Johnpii1 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093 Chucks1093 merged commit 9f359a2 into accesslayerorg:main Apr 25, 2026
1 check passed
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.

Add claim action disabled-reason helper text

2 participants