Skip to content

Feat/rating groups extensions - #893

Merged
Kingsman-99 merged 6 commits into
Stellar-split:mainfrom
williamsokperez-arch:feat/rating-groups-extensions
Sep 28, 2026
Merged

Kingsman-99 merged 6 commits into
Stellar-split:mainfrom
williamsokperez-arch:feat/rating-groups-extensions

Conversation

@williamsokperez-arch

Copy link
Copy Markdown

closes #862
closes #863
closes #864
closes #865

Ehonrie and others added 5 commits September 24, 2026 21:28
…oting

- Add InvoiceNotReleasedForRatingError for rating unrel eased invoices
- Add AlreadyRatedError for duplicate ratings
- Add NotEligibleToVoteError for non-contributors voting on extensions

These errors support issue Stellar-split#865 (rating), Stellar-split#864 (extension voting), and related features.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…ions

- Add CreatorRating type for Stellar-split#865
- Add ExtensionStatus type for Stellar-split#864
- Add GroupStats type for Stellar-split#863
- Add Attestation type for Stellar-split#862

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Issue Stellar-split#862: Add attestation management
- attestInvoice(invoiceId, statement, payer)
- revokeAttestation(invoiceId, payer)
- getAttestations(invoiceId)

Issue Stellar-split#863: Add campaign group management
- createGroup(creator, name, description)
- addInvoiceToGroup(creator, groupId, invoiceId)
- getGroupStats(groupId)
- getGroupInvoices(groupId)

Issue Stellar-split#864: Add deadline extension voting
- voteExtendDeadline(invoiceId, payer)
- getExtensionStatus(invoiceId)

Issue Stellar-split#865: Add invoice rating system
- rateInvoice(invoiceId, stars, payer)
- getCreatorRating(creator)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…s, and ratings

Export Attestation, GroupStats, ExtensionStatus, and CreatorRating types.
Export NotEligibleToVoteError, AlreadyRatedError, and InvoiceNotReleasedForRatingError.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Tests cover:
- Issue Stellar-split#862: attestInvoice, revokeAttestation, getAttestations
- Issue Stellar-split#863: createGroup, addInvoiceToGroup, getGroupStats, getGroupInvoices
- Issue Stellar-split#864: voteExtendDeadline, getExtensionStatus
- Issue Stellar-split#865: rateInvoice, getCreatorRating with average calculation

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@drips-wave

drips-wave Bot commented Sep 24, 2026

Copy link
Copy Markdown

@williamsokperez-arch Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Kingsman-99
Kingsman-99 merged commit 704caa3 into Stellar-split:main Sep 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants