Skip to content

refactor(scan): remove legacy discovery preview - #1150

Open
jasonhedman wants to merge 1 commit into
json/adopt-typeset-public-pagesfrom
json/simplify-discovery-preview
Open

refactor(scan): remove legacy discovery preview#1150
jasonhedman wants to merge 1 commit into
json/adopt-typeset-public-pagesfrom
json/simplify-discovery-preview

Conversation

@jasonhedman

@jasonhedman jasonhedman commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • replace the legacy registration-grade docs tester with the compact MPPscan discovery result pattern
  • delete the 1,839-line discovery preview panel, its dummy data, and its compatibility export surface
  • keep only the discovery, probing, and registration result states used by the production registration page and move them to the nearest route owner
  • remove orphaned ownership, registered-resource, retry, and refresh client plumbing plus the two unused tRPC procedures it kept alive
  • adopt Foundation primitives and semantic typography/color recipes throughout the remaining registration surface

Lint impact

  • legacy discovery panel: 225 diagnostics removed with the file
  • registration UI and discovery hooks: 0 diagnostics under the currently exposed Foundation/Oxlint rules
  • repository total: 2,595 warnings before this cleanup, 2,319 after (276 removed); 0 errors
  • no new lint exceptions or suppressions

Validation

  • pnpm check
  • pnpm --filter @x402scan/app build
  • browser verified /resources/register in light and dark themes
  • live discovery against x402scan.com returned 14 decoded resources and enabled registration without submitting a mutation

@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
x402scan Ready Ready Preview Sep 4, 2026 5:47pm UTC

Request Review

@jasonhedman
jasonhedman force-pushed the json/simplify-discovery-preview branch from 9f8b366 to 7a4e15f Compare September 3, 2026 19:40
@jasonhedman jasonhedman changed the title refactor(scan): simplify docs discovery preview refactor(scan): remove legacy discovery preview Sep 3, 2026
@jasonhedman
jasonhedman force-pushed the json/simplify-discovery-preview branch from 7a4e15f to 0f94f6f Compare September 4, 2026 17:40
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