Skip to content

feat: Add admin market management - feature/unfeature markets#490

Open
gracekenn wants to merge 2 commits intoArena1X:mainfrom
gracekenn:admin_market
Open

feat: Add admin market management - feature/unfeature markets#490
gracekenn wants to merge 2 commits intoArena1X:mainfrom
gracekenn:admin_market

Conversation

@gracekenn
Copy link
Copy Markdown

  • Add is_featured and featured_at fields to Market entity
  • Create migration for new Market fields
  • Implement PATCH /admin/markets/:id/feature endpoint
  • Implement PATCH /admin/markets/:id/unfeature endpoint
  • Update market listing to prioritize featured markets
  • Create GET /markets/featured endpoint
  • Write comprehensive tests for new functionality
  • Add proper admin activity logging

Closes #405

- Add is_featured and featured_at fields to Market entity
- Create migration for new Market fields
- Implement PATCH /admin/markets/:id/feature endpoint
- Implement PATCH /admin/markets/:id/unfeature endpoint
- Update market listing to prioritize featured markets
- Create GET /markets/featured endpoint
- Write comprehensive tests for new functionality
- Add proper admin activity logging

Closes Arena1X#405
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
insight-arena-4rll Ready Ready Preview, Comment Mar 30, 2026 4:46pm

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 29, 2026

@gracekenn 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

@Olowodarey
Copy link
Copy Markdown
Collaborator

@gracekenn pls fix workflow

- Resolved merge conflicts in admin and markets modules
- Fixed featured_at field type to be nullable Date | null
- Added missing UserBookmarkRepository to test mocks
- Fixed test expectations for featured markets functionality
- All tests now pass successfully
@gracekenn
Copy link
Copy Markdown
Author

Hi, workflow fixed and conflict resolved
@Olowodarey

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.

[Backend] Admin Market Management - Feature/Unfeature Market

2 participants