Skip to content

fix: suiNS resolves on testnet + Discover search/calendar cleanup (#113, #114) - #115

Merged
dadadave80 merged 3 commits into
mainfrom
worktree-fix+suins-testnet-and-discover-search
Jun 22, 2026
Merged

dadadave80 merged 3 commits into
mainfrom
worktree-fix+suins-testnet-and-discover-search

Conversation

@dadadave80

Copy link
Copy Markdown
Member

Fixes two frontend issues in one PR.

#113 — suiNS resolves on the app's network (testnet), not mainnet

The suiNS client was hard-coded to mainnet on the false premise that "names don't exist on testnet". The app runs on testnet, so every .sui lookup returned null and every organizer showed unverified. suiNS is in fact live on testnet — verified resolution on the testnet fullnode (demo.sui, alice.sui).

  • SUINS_NETWORK now follows config.NETWORK (testnet today, mainnet later — no hard-coding).
  • Corrected the now-false comments in suinsClient.ts / suins.ts / verification.ts.

Effect: .sui names render in Wallet / Settings / profiles / Discover / Check-in, and the verified badge actually resolves on the Event page + quick-view.

#114 — remove inline Discover search; move Calendar beside the header search

  • Removed the inline search bar under "Find your next experience". Text search now lives in the Cmd+K palette (option a from the issue); the page filters by category.
  • Moved the Calendar button to the right of the centered header search bar. It opens the app-level calendar via a new global openCalendar() dispatcher (the discovery island owns the dialog), so DiscoverScreen no longer keeps its own calendar state.
  • Added a mobile-only search affordance (the header is desktop-only); the calendar stays reachable on mobile/tablet via the palette's calendar action.
  • Repointed the / shortcut to open the palette (inline search is gone).

Verification

  • bunx tsc --noEmit — 0 errors
  • bun run lint — 0 errors (changed files add 0 warnings)
  • bun run test — 197/197 pass
  • Adversarial diff review — no issues; calendar confirmed reachable at all viewport widths
  • Runtime probe — suiNS forward/reverse resolution confirmed working on the testnet fullnode

Closes #113
Closes #114

🤖 Generated with Claude Code

dadadave80 and others added 2 commits June 22, 2026 01:01
…#113)

suiNS was hard-coded to mainnet on the false premise that "names don't
exist on testnet". The app runs on testnet, so every .sui lookup returned
null and every organizer showed unverified. suiNS is live on testnet and
the public testnet fullnode resolves it (verified: demo.sui, alice.sui).

SUINS_NETWORK now follows config.NETWORK (testnet today, mainnet later —
no hard-coding); corrected the now-false comments.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…earch (#114)

Remove the inline search under "Find your next experience" — text search
now lives in the Cmd+K palette; the page filters by category. Move the
Calendar button to the right of the centered header search bar, opening the
app-level calendar via a new global openCalendar() dispatcher (the island
owns the dialog). Add a mobile-only search affordance (header is desktop-
only); calendar stays reachable everywhere via the palette's calendar
action. Repoint the "/" shortcut to the palette.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 22, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hostit-sui Ready Ready Preview, Comment Jun 22, 2026 12:25am

main (#116, UI/UX elevation) and #115 both touched the header search area and the
DiscoverScreen filter. Kept #115's structure (search + Calendar in the header,
inline search dropped so text search lives in ⌘K, category-only page filter) and
folded in #116's ⌘K kbd contrast fix (text-muted-foreground). #116's
useDeferredValue debounce is obsolete here (no inline search input) and was
dropped with its now-unused import.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dadadave80
dadadave80 merged commit a10804d into main Jun 22, 2026
7 checks passed
@dadadave80
dadadave80 deleted the worktree-fix+suins-testnet-and-discover-search branch June 22, 2026 01:21

This branch was successfully deployed

1 active deployment
Preview — df6c4b14 Deployed Jun 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant