Internal / Proworkbench Admin Port Map
ProWorkbench Admin Port Map
This document maps Curator Marketplace admin patterns into the new ProWorkbench admin workspace without copying Curator’s marketplace-specific business logic.
Reference source
Curator Marketplace layout and shell
| Curator source file | Role | ProWorkbench target |
| --- | --- | --- |
| /var/www/curatormarketplace/index.php:652 | marketplace_render_admin_page() embeds admin pages inside a shared shell or standalone admin page renderer. | /var/www/proworkbench.com/app/admin_workspace.php + /var/www/proworkbench.com/views/admin_workspace_layout.php |
| /var/www/curatormarketplace/index.php:1677 | Admin shell composition with sticky sidebar, workspace header, and iframe panel. | /var/www/proworkbench.com/views/admin_workspace_layout.php |
| /var/www/curatormarketplace/public/assets/app.css:138-268 | Core admin shell, sidebar, panel, iframe, card, and embed styles. | /var/www/proworkbench.com/public/assets/admin-workspace.css |
Curator Marketplace page patterns
| Curator source file | Pattern | ProWorkbench target |
| --- | --- | --- |
| /var/www/curatormarketplace/index.php:2482-2594 | Listing management table/list + editor actions. | /var/www/proworkbench.com/views/admin_workspace_products.php |
| /var/www/curatormarketplace/index.php:2601-2706 | Release/build catalog and detail pattern. | /var/www/proworkbench.com/views/admin_workspace_builds.php |
| /var/www/curatormarketplace/analytics.php:1122-1459 | Summary cards, admin analytics page, internal reporting patterns. | /var/www/proworkbench.com/views/admin_workspace_analytics.php |
| /var/www/curatormarketplace/index.php:2706-2752 | Settings page sections, form-card layout, action grouping. | /var/www/proworkbench.com/views/admin_workspace_settings.php |
ProWorkbench route and shell plan
| ProWorkbench current file | Current responsibility | New target |
| --- | --- | --- |
| /var/www/proworkbench.com/public/admin/index.php | Existing monolithic admin router and legacy operations pages. | Keep as the source of truth for legacy operations while adding new workspace routes and a legacy dashboard fallback. |
| /var/www/proworkbench.com/views/layout.php | Public site layout also used by current admin. | Leave intact to avoid breaking live public/admin rendering during rollout. |
| /var/www/proworkbench.com/views/admin_dashboard.php | Existing legacy dashboard. | Preserve behind /admin/legacy/dashboard. |
New ProWorkbench targets
| Target file | Purpose |
| --- | --- |
| /var/www/proworkbench.com/app/admin_workspace.php | Shared workspace nav, dashboard data, recent activity queries, and renderer helpers. |
| /var/www/proworkbench.com/views/admin_workspace_layout.php | New admin shell with sidebar, top bar, flashes, and workspace content region. |
| /var/www/proworkbench.com/views/admin_workspace_dashboard.php | New operational dashboard homepage. |
| /var/www/proworkbench.com/views/admin_workspace_products.php | Product catalog list shell with real data and legacy actions. |
| /var/www/proworkbench.com/views/admin_workspace_builds.php | Builds/downloads shell with release and file library tables. |
| /var/www/proworkbench.com/views/admin_workspace_orders.php | Orders and entitlement-oriented data table. |
| /var/www/proworkbench.com/views/admin_workspace_payments.php | Payment operations page plus PBDownloads Stripe handoff inside the new shell. |
| /var/www/proworkbench.com/views/admin_workspace_analytics.php | Curator-style analytics summary surface using current ProWorkbench analytics helpers. |
| /var/www/proworkbench.com/views/admin_workspace_users.php | User/account view for future admin management. |
| /var/www/proworkbench.com/views/admin_workspace_settings.php | Clean settings launcher page for future native settings modules. |
| /var/www/proworkbench.com/views/admin_workspace_system.php | Schema health, system checks, and legacy utility links. |
| /var/www/proworkbench.com/public/assets/admin-workspace.css | Curator-inspired admin design system adapted to ProWorkbench. |
Reuse vs adapt
Can be reused directly as patterns
| Source | Reuse type | Notes |
| --- | --- | --- |
| Curator sticky sidebar shell | Structural pattern | Reimplemented with ProWorkbench labels, sections, and routes. |
| Curator card/panel/table/form spacing | Visual pattern | Adapted into new CSS tokens and utilities. |
| Curator “shell + operational panels” page composition | Information architecture pattern | Used to separate dashboard, products, builds, payments, analytics, settings, and system areas. |
Must be adapted
| Source | Why adaptation is required | ProWorkbench adaptation |
| --- | --- | --- |
| Curator marketplace listings and releases | Curator entities are marketplace/plugin/release specific. | Mapped to ProWorkbench products, files, product releases, and purchases. |
| Curator admin iframe shell | Curator renders many internal routes with shell=1. | ProWorkbench uses direct workspace views for first-class sections and preserves legacy routes separately. |
| Curator auth/capability model | Curator uses role/capability services. | ProWorkbench keeps users.is_admin + require_admin() for safety and compatibility. |
| Curator database/runtime settings model | Curator uses runtime config JSON + repository/services. | ProWorkbench keeps existing bootstrap/config model and wraps it with workspace helpers. |
Safe rollout notes
- The new workspace is added alongside the current admin router.
- The old ProWorkbench dashboard is preserved at
/admin/legacy/dashboard. - Legacy operational pages such as products, files, square, purchases, analytics, email settings, and db health remain intact.
- The new workspace acts as the front door and orchestration layer while legacy operational routes continue handling proven business logic.
- PBDownloads Stripe admin is surfaced from the new shell as an integrated handoff, avoiding disruption to the live purchase flow while the broader admin architecture is standardized.