Skip to content

Registration landing page#200

Merged
NiranjanaBinoy merged 7 commits into
mainfrom
feat/registration-home
May 25, 2026
Merged

Registration landing page#200
NiranjanaBinoy merged 7 commits into
mainfrom
feat/registration-home

Conversation

@NiranjanaBinoy
Copy link
Copy Markdown
Contributor

@NiranjanaBinoy NiranjanaBinoy commented May 5, 2026

Pull Request

Description

Adding a new landing/home page for the registration app, which displays the list of registered indexers and hosts.

Changes

Related Issue

#195

Steps to Test

  1. Pull branch locally
  2. Run the app or service
  3. Verify core functionality works as expected (e.g., main page loads, API responds)

Checklist

  • Code compiles / runs
  • Tests added / updated
  • Documentation updated if needed
  • PR is self-contained and focused
  • Code does not break any existing features
  • Code passes personal internal testing

Notes

@NiranjanaBinoy NiranjanaBinoy changed the base branch from main to feat/indexer-assertion May 5, 2026 17:01
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 5, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
shinzo-webapp-staging d985e6f Commit Preview URL

Branch Preview URL
May 22 2026, 08:25 PM

@NiranjanaBinoy NiranjanaBinoy force-pushed the feat/indexer-assertion branch from 8cb652e to 8a88e45 Compare May 6, 2026 20:32
@NiranjanaBinoy NiranjanaBinoy force-pushed the feat/registration-home branch from 9290f58 to 294545d Compare May 7, 2026 05:34
@NiranjanaBinoy NiranjanaBinoy self-assigned this May 7, 2026
@NiranjanaBinoy NiranjanaBinoy added the enhancement New feature or request label May 7, 2026
@NiranjanaBinoy NiranjanaBinoy added this to the Testnet Features milestone May 7, 2026
@NiranjanaBinoy NiranjanaBinoy marked this pull request as ready for review May 7, 2026 21:09
@VanishMax VanishMax mentioned this pull request May 11, 2026
6 tasks
Comment thread apps/webapp/src/features/home/ui/title-home.tsx
Comment on lines +8 to +13
<div className="mx-4 my-4 w-full min-w-0 max-w-full">
<TitleHome />
<StatsHome />
<IndexersHome />
<HostsHome />
</div>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

note: the page looks like this:

it really feels close to explorer, but the UI just feels off. Many explorer components are shared to shinzo/ui package. Would it be possible to reuse almost everything we have for the explorer to make up tables, stats, pagination, buttons? It would be much more shinzo-y

Image

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Referencing the updated UI:

screencapture-localhost-3000-2026-05-25-18_46_31

@NiranjanaBinoy NiranjanaBinoy force-pushed the feat/indexer-assertion branch from f0d0b89 to 5e03fff Compare May 13, 2026 21:26
@NiranjanaBinoy NiranjanaBinoy force-pushed the feat/registration-home branch from d95c585 to f400f1a Compare May 14, 2026 04:38
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 14, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
shinzo-webapp-staging f400f1a May 14 2026, 04:40 AM

@NiranjanaBinoy NiranjanaBinoy linked an issue May 15, 2026 that may be closed by this pull request
Base automatically changed from feat/indexer-assertion to main May 19, 2026 14:07
@NiranjanaBinoy NiranjanaBinoy force-pushed the feat/registration-home branch from 2a6d717 to d985e6f Compare May 22, 2026 20:24
@NiranjanaBinoy NiranjanaBinoy requested a review from VanishMax May 22, 2026 20:58
Comment on lines +27 to +38
export async function fetchRegisteredHosts(
pagination: RegisteredHostsPaginationParams
): Promise<RegisteredHostsResponse> {
const params = buildCursorPaginationSearchParams(pagination);

const response = await fetch(
`${registeredHostsApiEndpoint}?${params.toString()}`
);
if (!response.ok) throw new Error(`HTTP ${response.status}`);

return response.json() as Promise<RegisteredHostsResponse>;
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

note: this would be updated to nicer APIs with #224 and #225

Comment thread apps/webapp/src/features/home/ui/title-home.tsx
@NiranjanaBinoy NiranjanaBinoy merged commit a0cdddd into main May 25, 2026
2 checks passed
@NiranjanaBinoy NiranjanaBinoy deleted the feat/registration-home branch May 25, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor Registration app UI

3 participants