Skip to content

MilestonesPage renders empty milestones/pools grids with no EmptyState, unlike sibling list views elsewhere in the app #273

Closed

Description

@chonilius

src/app/milestones/page.tsx#MilestonesPage renders two list sections with no
zero-results handling:

<div className="mt-8 grid gap-4 md:grid-cols-2">
  {milestones.map((m) => ( ... ))}
</div>
...
<div className="mt-8 grid gap-4 md:grid-cols-2">
  {pools.map((pool) => ( ... ))}
</div>

If milestones or pools resolves to an empty array (a genuinely empty live-data
response, since both arrays fall back to non-empty mock data only when the fetch itself
fails, not when it succeeds with zero results), both sections simply render an empty grid
under their heading and descriptive paragraph, with no message explaining there's nothing
here yet — unlike ContributorDashboardPage's claims list or SponsorDashboardPage's
active-bounties list, both of which render a dedicated EmptyState component
(icon/title/description) for exactly this case.

/milestones is a top-level, non-dashboard route (not signed-in-scoped, no per-user
filtering), so a genuinely empty response here is a plausible outcome for a fresh
deployment with no milestones or maintenance pools created yet — not an edge case, a
likely first-run experience.

Suggested fix: render EmptyState for both the milestones grid and the maintenance
pools grid when their respective arrays are empty, consistent with the pattern already
established on the dashboard pages.

Activity

  1. added
    enhancement
    bug
    very hard
    help wanted
    on Aug 21, 2026
  2. added
    Stellar Wave
    on Aug 25, 2026
  3. Ukorstack commented on Aug 25, 2026

    @Ukorstack

    @Ukorstack has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I’m interested in taking this issue and can get started right away. Kindly assign it to me.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Ukorstack to this issue.

  4. ijeoma270 commented on Aug 25, 2026

    @ijeoma270
    Contributor

    @ijeoma270 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    hello can i work on this issue please

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @ijeoma270 to this issue.

  5. drips-wave commented on Aug 25, 2026

    @drips-wave

    Congratulations, @ijeoma270! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

    🧑‍💻 @ijeoma270: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  6. added 2 commits that reference this issue on Aug 25, 2026
  7. drips-wave commented on Aug 25, 2026

    @drips-wave

    This issue has been completed by @ijeoma270 as part of the Stellar Wave Program's 8th Wave 🥳

    😎 @ijeoma270: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

  8. removed
    Stellar Wave
    on Oct 15, 2026
  9. added
    Stellar Wave
    on Oct 15, 2026
  10. removed
    Stellar Wave
    on Oct 15, 2026
  11. added
    Stellar Wave
    on Oct 15, 2026
  12. removed
    Stellar Wave
    on Oct 15, 2026
  13. added
    Stellar Wave
    on Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar Wavebugenhancementhelp wantedvery hard

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions