Skip to content

SponsorSummary has no corresponding adapter function, unlike every other exported domain type #202

Closed

Description

@chonilius

src/types/index.ts declares five core domain types backed by live data:
Bounty, Milestone, MaintenancePool, ReputationProfile, and SponsorSummary.
src/lib/adapters.ts exports exactly four adapter functions — adaptBounty,
adaptMilestone, adaptMaintenancePool, adaptReputation — one per type, except
SponsorSummary, which has none.

SponsorSummary is only ever instantiated once in the whole codebase: as
mockSponsorSummary in mock-data.ts, used purely for the signed-out demo title
(mockSponsorSummary.name) on src/app/dashboard/sponsor/page.tsx. The live-data path on
that same page defines its own separate, ad hoc local interface instead of using
SponsorSummary:

interface SponsorDashboardData {
  activeBounties: Bounty[];
  totalSpent: number;
  budgetLocked: number;
  repoCount: number;
}

So SponsorSummary is a type that exists purely to describe mock data and is never
actually produced from mergefi-backend's response shape — it's scaffolding for a data
path that doesn't exist yet, inconsistent with every other type in this file, all of
which have a real adapter turning backend JSON into that shape.

Suggested fix: either write adaptSponsorSummary once the backend exposes a matching
endpoint and have the sponsor dashboard use the shared type instead of a local one-off
interface, or remove SponsorSummary from types/index.ts until there's a live data
path for it, so the type list doesn't imply parity that doesn't exist.

Activity

  1. added
    architecture
    security
    very hard
    help wanted
    on Aug 21, 2026
  2. added
    Stellar Wave
    on Aug 24, 2026
  3. Opulencechuks commented on Aug 24, 2026

    @Opulencechuks
    Contributor

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

    I am confident that I can implement this issue having worked on something similar in the past

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

  4. Gonness-Codes commented on Aug 24, 2026

    @Gonness-Codes

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

    Hello, I’ve thoroughly read the issue description and understand the expected outcome. I’d love to work on it.

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

  5. LiegeFx commented on Aug 24, 2026

    @LiegeFx

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

    Hello Maintainer, I’ve read through the issue and understand what needs to be done. I’m ready to work on it and deliver a solid solution.

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

  6. michealenny4-star commented on Aug 24, 2026

    @michealenny4-star

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

    I would like to work on this issue

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

  7. Abuh-Bakar commented on Aug 24, 2026

    @Abuh-Bakar

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

    Hi maintainer, I would love to work on this. I have implemeted similar solutions on several projects and I can do same here cleanly and efficiently. Allow me the opportunity to contribute to your project while following contribution guidelines for your project. Kindly assign.

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

  8. Johnjnr1 commented on Aug 24, 2026

    @Johnjnr1

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

    Hi, I'd like to work on this issue! because I am very conversant with solving problems like this!

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

  9. davidishere1 commented on Aug 24, 2026

    @davidishere1
    Contributor

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

    I can work on this please

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

  10. OZILSOLAR commented on Aug 24, 2026

    @OZILSOLAR

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

    OZILSOLAR
    Hi team!!!!
    I came across this issue and would love to work on it. I have experience with similar tasks and I'm confident I can investigate, implement a clean solution, and thoroughly test it before submitting a PR. If the issue is still open, I would appreciate it if you could assign it to me. Thank you!!!!!!

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

  11. 0yOla commented on Aug 24, 2026

    @0yOla

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

    Hello Maintainer, I’ve carefully reviewed the issue and fully understand the requirements. I’m confident I can implement a clean, efficient solution that meets the acceptance criteria,please assign this issue to me.

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

  12. lauferuqquyah commented on Aug 24, 2026

    @lauferuqquyah

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

    Hi, I'm Rukayat — a Full-Stack & Blockchain Developer with 3+ years of experience. I've reviewed this issue and I'm confident I can handle it. I'll submit a clean PR within 2–3 days. Please assign it to me!

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

  13. frienzy514-png commented on Aug 24, 2026

    @frienzy514-png

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

    Hi Maintainer, I’d be happy to work on this issue. I have experience working on similar tasks and will make sure the work is completed on time and to a high standar

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

  14. drips-wave commented on Aug 24, 2026

    @drips-wave

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

    🧑‍💻 @davidishere1: 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 🌊

  15. drips-wave commented on Aug 25, 2026

    @drips-wave

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

    😎 @davidishere1: 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.

  16. removed
    Stellar Wave
    on Oct 15, 2026
  17. added
    Stellar Wave
    on Oct 15, 2026
  18. removed
    Stellar Wave
    on Oct 15, 2026
  19. added
    Stellar Wave
    on Oct 15, 2026
  20. removed
    Stellar Wave
    on Oct 15, 2026
  21. 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 Wavearchitecturehelp wantedsecurityvery hard

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions