Skip to main content
Version: v1 (Current)

App Store Modal Feature

Historical design/implementation plan. It is retained as background, not a statement that every proposed feature is available. Use the current component/project guides and the deployed editor before following its recipes.

Jira: EZ-2206 Status: Ready for Implementation Total Estimated Effort: 18-24 hours

Overview​

A comprehensive iOS/Android-style app store modal that replaces the current "Add App" dialog for plugin pages. Provides advanced filtering, detailed app information, and streamlined configuration for installing apps to projects.

Documentation​

  • Design Document - Complete feature design with architecture, API specs, and component structure
  • Phase Plans - Detailed step-by-step implementation guides

Implementation Phases​

Execute these phases in order. Each phase includes detailed steps, testing checklists, and acceptance criteria.

Phase 1: Backend API Foundation (2-3 hours)​

File: phase-1-backend-api.md

  • Update PluginPageController with app_store query support
  • Implement source filtering (all/public/team)
  • Add app store details endpoint
  • Write feature tests

Dependencies: None


Phase 2: Core Modal Components (3-4 hours)​

File: phase-2-core-modal-components.md

  • Build AppStoreModal main orchestrator
  • Create AppStoreSidebar with search and tag filtering
  • Build AppStoreSourceFilter segmented control
  • Set up view state management
  • Integrate with tableStyleStore

Dependencies: Phase 1 complete


Phase 3: Browse View Components (3-4 hours)​

File: phase-3-browse-view-components.md

  • Build AppStoreCard with hover overlay
  • Create AppStoreGrid responsive layout
  • Create AppStoreList table view
  • Implement view mode toggle
  • Wire up event handlers

Dependencies: Phase 2 complete


Phase 4: Details View (3-4 hours)​

File: phase-4-details-view.md

  • Build AppStoreDetails component
  • Implement tabs for Details and Documentation
  • Add screenshot lightbox
  • Integrate markdown rendering
  • Load details from API

Dependencies: Phase 3 complete


Phase 5: Configuration Form (4-5 hours)​

File: phase-5-configuration-form.md

  • Build AppStoreConfig two-column layout
  • Implement dependency selectors
  • Add portal navigation fields
  • Add shortcuts checkbox
  • Build recommended tiles section
  • Implement form validation

Dependencies: Phase 4 complete


Phase 6: Backend Integration (4-5 hours)​

File: phase-6-backend-integration.md

  • Update StoreProjectPageRequest validation
  • Enhance ProjectPageController store method
  • Create helper methods for:
    • Dependency processing and auto-creation
    • Portal navigation
    • Shortcuts
    • Dashboard tiles
  • Write integration tests

Dependencies: Phase 5 complete


Phase 7: Testing & Polish (3-4 hours)​

File: phase-7-testing-polish.md

  • Write comprehensive component tests
  • Add accessibility improvements
  • Polish UI/UX details
  • Performance optimization
  • Final QA testing
  • Update documentation

Dependencies: Phase 6 complete


Key Features​

Browse Experience​

  • Source Filtering: All apps, Public only, or My Team only
  • Tag Filtering: Filter by app-store system tags (OR logic)
  • Search: Filter apps by name
  • View Modes: Card grid or table list (persisted preference)

App Details​

  • Information Display: Icon, name, version, long description
  • Permissions & Dependencies: Clear display of what the app requires
  • Screenshots: Gallery with lightbox for full-size viewing
  • Documentation: Markdown-rendered readme in separate tab

Configuration​

  • Smart Defaults: Auto-populated name, handles duplicates
  • Dependency Management: Auto-create or select existing resources
  • Portal Integration: Optional navigation item creation
  • Shortcuts: Optional top-level shortcut creation
  • Dashboard Tiles: Add to new or existing dashboard

Technical Architecture​

Frontend Components​

AppStoreModal/
├── AppStoreModal.vue # Main orchestrator
├── AppStoreSidebar.vue # Search + tag filtering
├── AppStoreSourceFilter.vue # All/Public/Team filter
├── AppStoreGrid.vue # Card layout
├── AppStoreList.vue # Table layout
├── AppStoreCard.vue # Individual app card
├── AppStoreDetails.vue # App details view
└── AppStoreConfig.vue # Configuration form

Backend Endpoints​

  • GET /dashboard/plugins/pages?app_store=true&source={all|public|team} - List apps
  • GET /dashboard/plugins/pages/{page}/app-store-details - App details
  • POST /dashboard/project/pages - Install app (enhanced)

Key Technologies​

  • Vue 3 with Composition API
  • Bootstrap 5 for styling (no MDB components)
  • Inertia.js for SPA navigation
  • marked for markdown rendering
  • tableStyleStore for view preference persistence

Integration Points​

Replaces​

  • Current CreateDialog for plugin pages
  • Located in: resources/js/Dashboard/Pages/Admin/Projects/Pages/Index.vue

Connects With​

  • ProjectPageController for app installation
  • SystemTag model for tag filtering
  • PluginPage, PluginPageVersion models
  • Portal navigation system
  • Project shortcuts
  • Dashboard tiles

Testing Strategy​

Unit Tests​

  • Component behavior and interactions
  • Event emissions
  • Prop validation
  • State management

Feature Tests​

  • API endpoint responses
  • Source filtering logic
  • Complete installation flow
  • Error handling

Manual Testing​

  • UI/UX interactions
  • Responsive design
  • Accessibility
  • Cross-browser compatibility

Success Criteria​

  • All 7 phases complete
  • All automated tests passing
  • Manual QA checklist complete
  • Accessibility audit passed
  • Performance benchmarks met
  • Documentation complete
  • Code review approved
  • Deployed to production

Notes​

  • Each phase is self-contained and can be completed independently
  • Testing checkpoints at the end of each phase
  • Use git worktrees for isolated development
  • Follow existing code conventions
  • No MDB components - use plain Bootstrap

Getting Started​

  1. Review the Design Document
  2. Start with Phase 1: Backend API
  3. Complete phases in order
  4. Test thoroughly after each phase
  5. Proceed to next phase only when acceptance criteria met

Questions or Issues?​

  • Check phase plan for specific guidance
  • Review design document for architecture decisions
  • Consult JIRA ticket EZ-2206 for requirements
  • Ask team for clarification on ambiguous points