Skip to content

Fix Swagger lockdown, TestComponent removal, focus/contrast coverage, NFT reward tests - #396

Merged
dzekojohn4 merged 2 commits into
UnityChainxx:mainfrom
solomon35-stack:fix/solomon35-stack-issues-312-324-337-355
Aug 31, 2026
Merged

Fix Swagger lockdown, TestComponent removal, focus/contrast coverage, NFT reward tests#396
dzekojohn4 merged 2 commits into
UnityChainxx:mainfrom
solomon35-stack:fix/solomon35-stack-issues-312-324-337-355

Conversation

@solomon35-stack

Copy link
Copy Markdown
Contributor

Closes #312
Closes #324
Closes #337
Closes #355

What changed

Verification

  • Removed component has no remaining references in production source.
  • Guard test only references jsonplaceholder inside tests/, which its own walker skips.
  • test_double_mint_rejected now exercises the real reject-on-second-mint path.

Note: deps aren't installed and cargo is unavailable in this workspace, so runners weren't executed; logic verified by inspection.

… NFT reward tests

- UnityChainxx#312: Gate Swagger (/docs) behind app config so it stays disabled in
  production unless explicitly enabled; strip internal detail via
  operationIdFactory. Only mounted when the environment allows it.
- UnityChainxx#337: Remove unused frontend/components/TestComponent.jsx (fetched
  JSONPlaceholder in a client component) and add a guard test that keeps
  the external test request out of the production source tree.
- UnityChainxx#324: Add a base :focus-visible indicator for all interactive controls
  plus brand color tokens; improve Pagination focus states and dark-theme
  secondary text contrast in PuzzleComponent.
- UnityChainxx#355: Fix the broken duplicate-mint test in stellar_hunts_nft so the
  crate's test suite compiles and covers the NFT reward flow.

Closes UnityChainxx#312
Closes UnityChainxx#324
Closes UnityChainxx#337
Closes UnityChainxx#355
@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@solomon35-stack 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

@dzekojohn4 dzekojohn4 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, merging in.

@dzekojohn4
dzekojohn4 merged commit 9e5b39b into UnityChainxx:main Aug 31, 2026
8 of 11 checks 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

2 participants