-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
type:featureRequest for a brand-new capability.Request for a brand-new capability.
Description
Feature Summary
Add custom discovery pages management in admin panel
Problem Statement
Currently, the discovery section has fixed pages. Administrators need the ability to dynamically add custom pages with custom routes to the discovery section, allowing for flexible content management and better user experience customization.
Proposed Solution
Implement a complete discovery pages management system with the following components:
Database Layer:
- Create
discovery_pagestable with fields: route, title, description, icon, content (JSONB), active status, display order - Implement RLS policies for admin management and user viewing
- Add validation constraints for route format
Admin Interface:
- Add "Discovery Pages" menu item in admin panel
- Create page list UI showing all discovery pages with status
- Implement add/edit form for creating new pages
- Add route validation and duplicate checking
- Enable drag-and-drop reordering by display_order
Service Layer:
- Create discovery service for CRUD operations
- Implement route validation logic
- Add permissions checking
Implementation Plan:
- ✅ Database migration for discovery_pages table
- Basic admin page route structure
- I18n translations
- Service layer implementation
- UI components (list, form)
- CRUD operations
- Route validation and testing
Additional Context
This feature will enable administrators to:
- Create custom discovery pages with unique routes
- Manage page visibility (active/inactive)
- Control display order
- Use Lucide icons for visual consistency
- Store flexible content in JSONB format for future extensibility
Contribution
- I can help with frontend development
- I can help with testing
Metadata
Metadata
Assignees
Labels
type:featureRequest for a brand-new capability.Request for a brand-new capability.