Skip to content

fix(web): clarify unconfigured registry error message (#218) - #347

Merged
blockchain-maxis merged 2 commits into
blockchain-maxis:mainfrom
kaylachi:fix/unconfigured-registry-message-218
Sep 2, 2026
Merged

fix(web): clarify unconfigured registry error message (#218)#347
blockchain-maxis merged 2 commits into
blockchain-maxis:mainfrom
kaylachi:fix/unconfigured-registry-message-218

Conversation

@kaylachi

Copy link
Copy Markdown
Contributor

Closes #218

Summary of Changes

Updates the error status message shown when NEXT_PUBLIC_IDENTITY_REGISTRY_ID is unset (RegistryNotConfiguredError) to accurately communicate that the local deployment is not configured against an Identity Registry contract, rather than asserting the contract is not deployed.

Key Changes

  • apps/web/app/(marketing)/components/connect-wallet.tsx:
    • Updated setStatus copy from "On-chain claim launches in Phase 2 — registry not yet deployed." to "On-chain claim is unavailable — this deployment is not configured against an Identity Registry contract."
  • apps/web/e2e/claim.spec.ts:
    • Updated assertion text in unconfigured claim test.
  • docs/TROUBLESHOOTING.md:
    • Updated quick table and section 6 headings/symptom copy to match the updated wording.

Verification Status

  • node scripts/check-docs.mjs: Passed cleanly (22 markdown files, 27 env vars, no drift).
  • node scripts/check-contract-errors.mjs: Passed cleanly.

@drips-wave

drips-wave Bot commented Aug 30, 2026

Copy link
Copy Markdown

@kaylachi 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

@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

@kaylachi is attempting to deploy a commit to the blockchainmaxis-8449's projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify

netlify Bot commented Aug 30, 2026

Copy link
Copy Markdown

Deploy Preview for stellar-signet ready!

Name Link
🔨 Latest commit 62cec6b
🔍 Latest deploy log https://app.netlify.com/projects/stellar-signet/deploys/6a98154651a36c00096794c8
😎 Deploy Preview https://deploy-preview-347--stellar-signet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

…essage

Merge resolution: main reformatted the TROUBLESHOOTING table (prettier, via
blockchain-maxis#344), so took main's formatting and reapplied this branch's wording change to
the one affected cell.

The PR changed the status message and its e2e assertion, but the same false
claim was left in four other places, which is the thing issue blockchain-maxis#218 is actually
about — the copy asserting the contract is not deployed when it is:

- docs/TROUBLESHOOTING.md §6 still said 'the Phase 2 message is intentional'
  and 'unset → Phase 2 copy';
- docs/DEPLOYMENT.md's verification table said 'UI shows Phase 2';
- README.md said the UI 'shows an honest "Phase 2" message';
- the e2e test was still named '…shows the honest Phase 2 state'.

All now describe the real condition: the deployment is not configured against a
registry. The genuine roadmap uses of 'Phase 2' (README's 'What's coming next',
the docs page) are untouched — those are about project phases, not this error.

check-docs and the web build pass. Locally the unconfigured e2e case cannot run
— my .env bakes NEXT_PUBLIC_IDENTITY_REGISTRY_ID into the build, so the
not-configured path never renders; that is the 'build and shell disagree' case
the test's own comment describes, and it skips correctly once the shell env
matches. CI builds without the id, so it exercises the real path there.
@blockchain-maxis
blockchain-maxis merged commit 6a37686 into blockchain-maxis:main Sep 2, 2026
10 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

Development

Successfully merging this pull request may close these issues.

Unconfigured-registry message claims the contract is not deployed

2 participants