Skip to content

Conversation

byte-hedgy
Copy link
Contributor

@byte-hedgy byte-hedgy commented Jul 17, 2025

Description

  1. I created builders/page.tsx to display information about checked-in builders.
  2. Added a Builders link in the head navigation.

Regarding the issue in #3, the problem might have been caused by the default blocksBatchSize value of 500, which led the browser to continuously send requests without showing any results. One of the requests triggered a "too many requests" error, which may have caused repeated retries.

I’ve increased blocksBatchSize to 5000000, and now everything works as expected.

Screenshots below:
图片

Additional Information

Related Issues

Closes #3

Your ENS/address: 0xADAeE26D04f78D24F2E73D87944f83E2eE50d6BB

Copy link

vercel bot commented Jul 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
batch18.buidlguidl.com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 18, 2025 5:38pm

Comment on lines 25 to 68
<table className="table overflow-hidden">
<thead>
<tr>
<th>Member Address</th>
<th>Contract Address</th>
<th>Personal Profile</th>
</tr>
</thead>
<tbody>
{!filteredEvents || filteredEvents.length === 0 ? (
<tr>
<td colSpan={3} className="text-center">
No Data
</td>
</tr>
) : (
filteredEvents?.map((event, index) => {
return (
<tr key={index}>
<td>
<Address address={event.args.builder} format="short" onlyEnsOrAddress />
</td>
<td>
<Address address={event.args.checkInContract} format="short" onlyEnsOrAddress />
</td>
<td>
{builders.includes(event.args.builder ?? "") ? (
<Link
href={`builders/${event.args.builder}`}
target="_blank"
className="text-base text-blue-600 underline hover:text-blue-800 cursor-pointer whitespace-nowrap"
>
🧑‍💻 builders/{event.args.builder}
</Link>
) : (
"N/A"
)}
</td>
</tr>
);
})
)}
</tbody>
</table>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this table good on mobile devices?

Copy link
Contributor

@MrRogueKnight MrRogueKnight Jul 17, 2025

Choose a reason for hiding this comment

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

one suggestion @byte-hedgy Wrap your table in a div with overflow-x-auto and w-full

Copy link
Collaborator

Choose a reason for hiding this comment

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

one suggestion @byte-hedgy Wrap your table in a div with overflow-x-auto and w-full

It might feel a bit clunky to have horizontal scrolling within a vertical scroll. Since there isn’t that much info, a simple vertical list of cards could work nicely!

@byte-hedgy
Copy link
Contributor Author

hi, @melanke

Thank you for your review. I have made the following changes based on your feedback:

  1. Renamed the parameter builders to publishedBuilders.
  2. Changed to a card grid layout, which is also responsive and works on mobile devices.

Thanks again for taking the time to review!

Screenshots are attached below.

图片 图片

@melanke melanke merged commit 39cac2c into BuidlGuidl:main Jul 18, 2025
3 checks passed
@byte-hedgy byte-hedgy deleted the dev-hedgy-issue-g branch July 19, 2025 06:42
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.

g) List the members of the batch (read BatchRegistry contract)
3 participants