feat: Flow Transfer, Procedural Assist & UI Design System #97

Merged
chihlasm merged 51 commits from feat/flow-transfer-and-procedural-assist into main 2026-03-07 23:44:14 +00:00
chihlasm commented 2026-03-07 21:58:42 +00:00 (Migrated from github.com)

Summary

  • Editor-embedded Flow Assist: AI panel integrated directly into tree and procedural editors with context menus, ghost nodes/steps, delta responses, and suggestion audit trail
  • AI model tier routing: Config-driven model selection by action type (fast/standard tiers)
  • Flow export/import: JSON-based .rfflow file format with backend endpoints and frontend UI
  • AI chat conclusion: Outcome tracking, AI-generated ticket summaries, resume flow
  • UI design system primitives: Button (CVA), Input, Textarea, FormField, Skeleton components
  • Accessibility: Modal focus trapping, prefers-reduced-motion support
  • Performance: Route prefetching on sidebar hover, lodash replaced with custom debounce (-71KB), route-level ErrorBoundary wrapping
  • SEO: Dynamic OG/Twitter meta tags via react-helmet-async on public pages

Test plan

  • Verify tree editor AI panel opens/closes, sends messages, shows ghost nodes
  • Verify procedural editor AI panel with step suggestions
  • Test flow export (.rfflow download) and import (file upload)
  • Confirm Modal focus trapping (Tab should cycle within modal)
  • Verify sidebar nav hover triggers chunk prefetch (check Network tab)
  • Check SharedSessionPage and SurveyPage have correct <title> and OG meta tags
  • Run npm run build — should pass clean

🤖 Generated with Claude Code

## Summary - **Editor-embedded Flow Assist**: AI panel integrated directly into tree and procedural editors with context menus, ghost nodes/steps, delta responses, and suggestion audit trail - **AI model tier routing**: Config-driven model selection by action type (fast/standard tiers) - **Flow export/import**: JSON-based .rfflow file format with backend endpoints and frontend UI - **AI chat conclusion**: Outcome tracking, AI-generated ticket summaries, resume flow - **UI design system primitives**: Button (CVA), Input, Textarea, FormField, Skeleton components - **Accessibility**: Modal focus trapping, prefers-reduced-motion support - **Performance**: Route prefetching on sidebar hover, lodash replaced with custom debounce (-71KB), route-level ErrorBoundary wrapping - **SEO**: Dynamic OG/Twitter meta tags via react-helmet-async on public pages ## Test plan - [ ] Verify tree editor AI panel opens/closes, sends messages, shows ghost nodes - [ ] Verify procedural editor AI panel with step suggestions - [ ] Test flow export (.rfflow download) and import (file upload) - [ ] Confirm Modal focus trapping (Tab should cycle within modal) - [ ] Verify sidebar nav hover triggers chunk prefetch (check Network tab) - [ ] Check SharedSessionPage and SurveyPage have correct `<title>` and OG meta tags - [ ] Run `npm run build` — should pass clean 🤖 Generated with [Claude Code](https://claude.com/claude-code)
railway-app[bot] commented 2026-03-07 21:58:51 +00:00 (Migrated from github.com)

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

Service Status Web Updated (UTC)
patherly Success (View Logs) Web Mar 7, 2026 at 11:40 pm
hopeful-liberation Success (View Logs) Web Mar 7, 2026 at 11:40 pm
<!-- railway-bot-comment-version=2 --> <!-- railway-project-id="22b9b58c-271b-42e5-a10e-6fdec8d00134" railway-project-name="selfless-grace" --> 🚅 Deployed to the [patherly-pr-97](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134?environmentId=4462dc55-05c8-473b-992a-a6f9693f2473) 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=0b4a2695-6fa0-4742-b972-d141b526e6b3&environmentId=4462dc55-05c8-473b-992a-a6f9693f2473)) | [Web](https://patherly-patherly-pr-97.up.railway.app) | Mar 7, 2026 at 11:40 pm | | hopeful-liberation | ✅ Success ([View Logs](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134/service/e1db2ee3-d241-4f45-abe4-c9c5fdf483d5?id=ec4829e4-2460-41b2-88a7-6033e0ebd305&environmentId=4462dc55-05c8-473b-992a-a6f9693f2473)) | [Web](https://hopeful-liberation-patherly-pr-97.up.railway.app) | Mar 7, 2026 at 11:40 pm |
Sign in to join this conversation.