Skip to content

Add sticker fulfillment tracking to user model and admin interface#124

Closed
Copilot wants to merge 4 commits intostagingfrom
copilot/add-sticker-fulfilment-status
Closed

Add sticker fulfillment tracking to user model and admin interface#124
Copilot wants to merge 4 commits intostagingfrom
copilot/add-sticker-fulfilment-status

Conversation

Copy link
Contributor

Copilot AI commented Jan 22, 2026

Adds order status tracking for stickers with admin workflows to view pending orders and mark them fulfilled.

Database Schema

  • New sticker_fulfilment_status enum: not_ordered (default), ordered, fulfilled
  • Added stickerFulfilmentStatus column to user table
  • Migration: 0029_bouncy_overlord.sql (rebased on staging after club features in 0028_illegal_robbie_robertson.sql)

Admin Interface

List page (/dashboard/admin/admin/sticker-orders):

  • Queries users where stickerFulfilmentStatus = 'ordered'
  • Grid view showing profile, name, Slack link, status

Detail page (/dashboard/admin/admin/sticker-orders/[id]):

  • Fetches user's shipping address from IDV
  • Action to update status to fulfilled with confirmation
  • Disabled when status is not ordered

Dashboard integration:

  • Added "Sticker Orders" card to main admin page with Sticker icon

Implementation Notes

Follows existing patterns from market item orders (themed-box components, z-index layering for clickable cards, admin guard middleware). Schema changes include both the club features from staging and the new sticker fulfillment status.

Original prompt

Add a field to user called stickerFulfilmentStatus, which should be an enum with values 'not_ordered' (default), 'ordered', 'fulfilled'. Add a page to the dashboard/admin page to show users with ordered statuses, when clicked on it should go to an admin/admin/sticker-orders/[id] which should be a page that shows you the user's address and you should be able to mark it as fulfilled there. Make it as consistent as possible with the existing ui and code. Don't touch any other code that you don't need to, this includes formatting files


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 22, 2026 23:54
Co-authored-by: ArcaEge <40526225+ArcaEge@users.noreply.github.com>
Co-authored-by: ArcaEge <40526225+ArcaEge@users.noreply.github.com>
Copilot AI changed the title [WIP] Add sticker fulfilment status field to user model Add sticker fulfillment tracking to user model and admin interface Jan 22, 2026
Copilot AI requested a review from ArcaEge January 22, 2026 23:59
@ArcaEge
Copy link
Collaborator

ArcaEge commented Feb 6, 2026

@copilot redo the db migrations to fix merge conflicts

Co-authored-by: ArcaEge <40526225+ArcaEge@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 6, 2026

@copilot redo the db migrations to fix merge conflicts

Migration conflicts resolved in commit 0337271. The sticker fulfillment migration has been regenerated as 0029_bouncy_overlord.sql (after incorporating the club changes from staging in 0028_illegal_robbie_robertson.sql).

@ArcaEge
Copy link
Collaborator

ArcaEge commented Feb 7, 2026

Implemented this myself because AI dumb

@ArcaEge ArcaEge closed this Feb 7, 2026
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.

2 participants