Skip to content

feat: implement grant application submission history (#150) - #180

Merged
Abd-Standard merged 2 commits into
Core-Foundry:mainfrom
akindoyinabraham0-collab:feat/submission-history-ui
Aug 30, 2026
Merged

feat: implement grant application submission history (#150)#180
Abd-Standard merged 2 commits into
Core-Foundry:mainfrom
akindoyinabraham0-collab:feat/submission-history-ui

Conversation

@akindoyinabraham0-collab

Copy link
Copy Markdown
Contributor

Closes #150

Summary

Allows users to view a history of their submitted work and track previous submission attempts (issue #150, GrantFox Third Campaign).

  • GET /api/my-submissions?contributor=<address> — new endpoint returning a contributor's submission history (newest first), including task title and task status alongside each submission record.
  • listContributorSubmissions() in task-workflow.ts — filters the submission store by contributor, joins task metadata.
  • "My Submissions" dashboard page (/my-submissions) — one card per submission attempt showing:
    • Submission date/time
    • Review status (Pending / Approved / Rejected, color-coded badge)
    • Task title + task ID
    • Expandable detail view: full description, work URL, attached files (name, size, MIME type), submission ID and task status
  • Status filter tabs — All / Pending / Approved / Rejected with live counts.
  • Navbar entry — "My Submissions" added to the nav.
  • Wallet-aware: history follows the connected Stellar account (polls getPublicKey()).

Acceptance criteria (issue #150)

  • Users can view submitted applications
  • Submission date is displayed
  • Application status is visible

Tests

  • src/lib/my-submissions.test.ts — 4 tests covering the endpoint: history content (title/date/status), status changes reflected after approval, empty list for unknown contributor, 400 on missing contributor param. All passing.
  • Typecheck: no new errors. (3 pre-existing task-submission-e2e failures exist on main and are unrelated to this PR.)

🤖 Generated with Codebuff
Co-Authored-By: Codebuff noreply@codebuff.com

Users can now view every work submission they made: each entry shows the
submitted date/time, current review status (pending/approved/rejected),
task title, and expands to reveal the work URL, attached files, and IDs.
Adds listContributorSubmissions to the workflow, a GET /api/my-submissions
endpoint, a status-filterable "My Submissions" dashboard page, and a nav
entry, with e2e-style tests for the endpoint.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Users can save/activate grants and receive deadline reminder
notifications. Reminder windows are configurable (default 7d/3d/1d/6h
before deadline), each window fires at most once via dedupe keys, and
expired grants are skipped and reported so they never generate
notifications again.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@Abd-Standard
Abd-Standard merged commit e4b0c6b into Core-Foundry:main Aug 30, 2026
2 of 3 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

Development

Successfully merging this pull request may close these issues.

Implement Grant Application Submission History

2 participants