Skip to content

Consolidate duplicated UI action strings#492

Merged
KillariDev merged 9 commits into
mainfrom
t3code/consolidate-duplicated-ui-strings
Jul 10, 2026
Merged

Consolidate duplicated UI action strings#492
KillariDev merged 9 commits into
mainfrom
t3code/consolidate-duplicated-ui-strings

Conversation

@KillariDev

Copy link
Copy Markdown
Collaborator

Summary

  • Centralized repeated action labels and safety-copy strings into shared UI string helpers.
  • Added action-safety metadata and a modal flow for higher-risk transactions.
  • Threaded safety identifiers through key deployment, reporting, trading, oracle, fork, and security pool actions.
  • Added and updated tests for action safety IDs, scan coverage, and affected UI flows.

Testing

  • bun run tsc
  • bun run ensure-contract-artifacts && bun run check:shared-dependencies && bun run test:run -- --bail=1
  • bun run format
  • bun run check
  • bun run knip

- Centralize shared UI labels and templates
- Reuse the common strings across curated and TSX string maps
- Replace component-local string constants with shared UI string helpers
- Keep labels, ARIA text, and fallback copy consistent across the UI
- Update approved amount tests for the new shared max label
@KillariDev KillariDev merged commit fd4db36 into main Jul 10, 2026
1 check passed
@KillariDev KillariDev deleted the t3code/consolidate-duplicated-ui-strings branch July 10, 2026 13:31
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