feat: FlowPilot AI — Phases 4 & 5 (Gallery, Export, Responsive, Enterprise, Analytics) #116

Merged
chihlasm merged 66 commits from feat/flowpilot-ai-session into main 2026-03-21 05:15:51 +00:00
chihlasm commented 2026-03-18 14:28:01 +00:00 (Migrated from github.com)

Summary

  • Phase 4 — Enterprise & Growth Features (10 commits)

    • Slice 1: Public Templates Gallery — 5 public API endpoints (no auth), responsive gallery page with search/filters/detail modal, admin curation tools, 25 backend tests
    • Slice 3: Session Export Polish — branding footer added to all 5 export formats, PDF template fix, loading spinner
    • Slice 4: Mobile/Responsive — 11 FlowPilot components audited for mobile/tablet (collapsible sidebar, stacked layouts, 44px touch targets, slide-up modals)
    • Slice 5: Enterprise Readiness — custom branding (logo/color/name), Autotask + Halo PSA stubs with Coming Soon UI, SSO model + stub service
  • Phase 5 — Analytics Enhancement (11 commits)

    • Tabbed analytics page (Overview, Coverage, Flow Quality, PSA)
    • Coverage heatmap: domain grid with color-coded cells for resolution/escalation/guided rates + avg resolution time
    • Flow quality scoring: usage tracking, quality formula, sortable table with type badges
    • PSA metrics: activity logging, push success funnel, daily trend chart
    • Flow usage tracking wired into session matching + resolution
    • Audit fixes: 6 backend bugs (domain case matching, decimal casts, funnel counting, dead queries) + 12 frontend UX issues (accessibility tooltips, error recovery, sort indicators, routing, empty states)
    • 19 backend tests for coverage, flow quality, and PSA metrics endpoints

Test plan

  • Backend tests pass: cd backend && pytest --override-ini="addopts="
  • Frontend build passes: cd frontend && npm run build
  • Public templates gallery accessible at /templates without login
  • Admin can feature/unfeature flows in gallery management
  • Analytics page tabs load data independently with loading states
  • Coverage heatmap shows color-coded domain metrics
  • Flow quality table sorts correctly, links navigate to correct editor
  • PSA metrics funnel displays conversion rates
  • All FlowPilot pages usable on mobile viewport (390px)
  • Custom branding (logo + color) applies throughout app
  • Autotask/Halo show as "Coming Soon" on integrations page

🤖 Generated with Claude Code

## Summary - **Phase 4 — Enterprise & Growth Features** (10 commits) - **Slice 1:** Public Templates Gallery — 5 public API endpoints (no auth), responsive gallery page with search/filters/detail modal, admin curation tools, 25 backend tests - **Slice 3:** Session Export Polish — branding footer added to all 5 export formats, PDF template fix, loading spinner - **Slice 4:** Mobile/Responsive — 11 FlowPilot components audited for mobile/tablet (collapsible sidebar, stacked layouts, 44px touch targets, slide-up modals) - **Slice 5:** Enterprise Readiness — custom branding (logo/color/name), Autotask + Halo PSA stubs with Coming Soon UI, SSO model + stub service - **Phase 5 — Analytics Enhancement** (11 commits) - Tabbed analytics page (Overview, Coverage, Flow Quality, PSA) - Coverage heatmap: domain grid with color-coded cells for resolution/escalation/guided rates + avg resolution time - Flow quality scoring: usage tracking, quality formula, sortable table with type badges - PSA metrics: activity logging, push success funnel, daily trend chart - Flow usage tracking wired into session matching + resolution - **Audit fixes:** 6 backend bugs (domain case matching, decimal casts, funnel counting, dead queries) + 12 frontend UX issues (accessibility tooltips, error recovery, sort indicators, routing, empty states) - 19 backend tests for coverage, flow quality, and PSA metrics endpoints ## Test plan - [ ] Backend tests pass: `cd backend && pytest --override-ini="addopts="` - [ ] Frontend build passes: `cd frontend && npm run build` - [ ] Public templates gallery accessible at `/templates` without login - [ ] Admin can feature/unfeature flows in gallery management - [ ] Analytics page tabs load data independently with loading states - [ ] Coverage heatmap shows color-coded domain metrics - [ ] Flow quality table sorts correctly, links navigate to correct editor - [ ] PSA metrics funnel displays conversion rates - [ ] All FlowPilot pages usable on mobile viewport (390px) - [ ] Custom branding (logo + color) applies throughout app - [ ] Autotask/Halo show as "Coming Soon" on integrations page 🤖 Generated with [Claude Code](https://claude.com/claude-code)
railway-app[bot] commented 2026-03-18 14:28:26 +00:00 (Migrated from github.com)

🚅 Deployed to the patherly-pr-116 environment in selfless-grace

Service Status Web Updated (UTC)
patherly Success (View Logs) Web Mar 21, 2026 at 5:05 am
hopeful-liberation Success (View Logs) Web Mar 21, 2026 at 5:05 am
<!-- railway-bot-comment-version=2 --> <!-- railway-project-id="22b9b58c-271b-42e5-a10e-6fdec8d00134" railway-project-name="selfless-grace" --> 🚅 Deployed to the [patherly-pr-116](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134?environmentId=41bb7daf-7b2b-4de8-aaeb-aa175b657d5b) environment in **[selfless-grace](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134)** | **Service** | **Status** | **Web** | **Updated** (UTC) | | :--- | :--- | :--- | :--- | | patherly | ✅ Success ([View Logs](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134/service/95f556ff-5264-4116-a0c2-618a2fc53ba4?id=b7d069aa-e61d-40a9-ac07-395d90547e44&environmentId=41bb7daf-7b2b-4de8-aaeb-aa175b657d5b)) | [Web](https://patherly-patherly-pr-116.up.railway.app) | Mar 21, 2026 at 5:05 am | | hopeful-liberation | ✅ Success ([View Logs](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134/service/e1db2ee3-d241-4f45-abe4-c9c5fdf483d5?id=19437ad4-9a47-4571-85d6-8e191d379424&environmentId=41bb7daf-7b2b-4de8-aaeb-aa175b657d5b)) | [Web](https://hopeful-liberation-patherly-pr-116.up.railway.app) | Mar 21, 2026 at 5:05 am |
Sign in to join this conversation.