From 99e53f5d70662d7326149e72769905b7cebe605c Mon Sep 17 00:00:00 2001 From: chihlasm Date: Mon, 23 Mar 2026 04:09:19 +0000 Subject: [PATCH] =?UTF-8?q?refactor:=20rename=20Step=20Library=20=E2=86=92?= =?UTF-8?q?=20Solutions=20Library=20site-wide?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-facing text updated across page title, sidebar, command palette, quick launch, quick actions, post-step modal, empty state, and procedural editor. File paths/component names unchanged — those will be renamed when the full Solutions Library feature ships. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/components/dashboard/QuickActions.tsx | 2 +- frontend/src/components/layout/CommandPalette.tsx | 2 +- frontend/src/components/layout/QuickLaunch.tsx | 2 +- frontend/src/components/layout/Sidebar.tsx | 2 +- frontend/src/components/procedural-editor/StepEditor.tsx | 2 +- frontend/src/components/session/PostStepActionModal.tsx | 2 +- .../src/components/step-library/StepLibraryBrowser.tsx | 4 ++-- frontend/src/pages/StepLibraryPage.tsx | 8 ++++---- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/dashboard/QuickActions.tsx b/frontend/src/components/dashboard/QuickActions.tsx index dd13596a..1e4c5338 100644 --- a/frontend/src/components/dashboard/QuickActions.tsx +++ b/frontend/src/components/dashboard/QuickActions.tsx @@ -4,7 +4,7 @@ import { Plus, Play, BookOpen, UserPlus } from 'lucide-react' const ACTIONS = [ { icon: Plus, label: 'New Flow', description: 'Create a new flow', href: '/trees/new', color: '#06b6d4' }, { icon: Play, label: 'Resume Session', description: 'Continue where you left off', href: '/sessions', color: '#34d399' }, - { icon: BookOpen, label: 'Browse Library', description: 'Explore step library', href: '/step-library', color: '#fbbf24' }, + { icon: BookOpen, label: 'Browse Solutions', description: 'Explore solutions library', href: '/step-library', color: '#fbbf24' }, { icon: UserPlus, label: 'Invite Team', description: 'Add team members', href: '/account', color: '#06b6d4' }, ] as const diff --git a/frontend/src/components/layout/CommandPalette.tsx b/frontend/src/components/layout/CommandPalette.tsx index 9c316638..8d28ab5d 100644 --- a/frontend/src/components/layout/CommandPalette.tsx +++ b/frontend/src/components/layout/CommandPalette.tsx @@ -46,7 +46,7 @@ const PAGES: PaletteItem[] = [ { id: 'page-scripts', group: 'pages', title: 'Script Generator', subtitle: 'Generate PowerShell scripts', path: '/scripts', icon: 'page' }, { id: 'page-analytics', group: 'pages', title: 'Analytics', subtitle: 'Team usage & metrics', path: '/analytics', icon: 'page' }, { id: 'page-settings', group: 'pages', title: 'Settings', subtitle: 'Account & preferences', path: '/account', icon: 'page' }, - { id: 'page-library', group: 'pages', title: 'Step Library', subtitle: 'Reusable steps', path: '/library', icon: 'page' }, + { id: 'page-library', group: 'pages', title: 'Solutions Library', subtitle: 'Team solutions', path: '/step-library', icon: 'page' }, ] const ADMIN_PAGES: PaletteItem[] = [ diff --git a/frontend/src/components/layout/QuickLaunch.tsx b/frontend/src/components/layout/QuickLaunch.tsx index 7f812ec1..da4feb3f 100644 --- a/frontend/src/components/layout/QuickLaunch.tsx +++ b/frontend/src/components/layout/QuickLaunch.tsx @@ -24,7 +24,7 @@ const ACTIONS: QuickAction[] = [ { id: 'new-tree', icon: Plus, label: 'New Troubleshooting Flow', description: 'Create a branching decision tree', path: '/trees/new', color: '#3b82f6' }, { id: 'new-project', icon: Plus, label: 'New Project', description: 'Create a step-by-step project', path: '/flows/new', color: '#8b5cf6' }, { id: 'sessions', icon: Play, label: 'View Sessions', description: 'See active and recent sessions', path: '/sessions', color: '#f59e0b' }, - { id: 'step-library', icon: Bookmark, label: 'Step Library', description: 'Browse reusable steps', path: '/step-library', color: '#10b981' }, + { id: 'step-library', icon: Bookmark, label: 'Solutions Library', description: 'Browse team solutions', path: '/step-library', color: '#10b981' }, { id: 'exports', icon: FileText, label: 'Exports & Shares', description: 'View shared session exports', path: '/shares', color: '#06b6d4' }, { id: 'team', icon: Users, label: 'Team Settings', description: 'Manage team members and roles', path: '/account', color: '#ec4899' }, ] diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx index a6b69c36..99d8677e 100644 --- a/frontend/src/components/layout/Sidebar.tsx +++ b/frontend/src/components/layout/Sidebar.tsx @@ -87,7 +87,7 @@ export function Sidebar() { { href: '/trees', label: 'Guided Flows', count: stats?.tree_counts.total || undefined }, { href: '/trees?type=troubleshooting', label: 'Troubleshooting', count: stats?.tree_counts.troubleshooting || undefined }, { href: '/trees?type=procedural', label: 'Projects', count: stats?.tree_counts.procedural || undefined }, - { href: '/step-library', label: 'Step Library' }, + { href: '/step-library', label: 'Solutions Library' }, { href: '/review-queue', label: 'Review Queue' }, ], }, diff --git a/frontend/src/components/procedural-editor/StepEditor.tsx b/frontend/src/components/procedural-editor/StepEditor.tsx index 39d4506a..1b995d3c 100644 --- a/frontend/src/components/procedural-editor/StepEditor.tsx +++ b/frontend/src/components/procedural-editor/StepEditor.tsx @@ -274,7 +274,7 @@ export function StepEditor({ step, stepNumber, onUpdate, onCollapse, availableVa

- Controls visibility in the step library. Defaults to the flow's own visibility setting. + Controls visibility in the solutions library. Defaults to the flow's own visibility setting.

} diff --git a/frontend/src/components/session/PostStepActionModal.tsx b/frontend/src/components/session/PostStepActionModal.tsx index efca4230..70679b3c 100644 --- a/frontend/src/components/session/PostStepActionModal.tsx +++ b/frontend/src/components/session/PostStepActionModal.tsx @@ -50,7 +50,7 @@ export function PostStepActionModal({

Save for Later

- Add to your step library for future use + Save to solutions library for future use

diff --git a/frontend/src/components/step-library/StepLibraryBrowser.tsx b/frontend/src/components/step-library/StepLibraryBrowser.tsx index 9426ce57..3026800a 100644 --- a/frontend/src/components/step-library/StepLibraryBrowser.tsx +++ b/frontend/src/components/step-library/StepLibraryBrowser.tsx @@ -269,8 +269,8 @@ export function StepLibraryBrowser({ onInsert, onCreateNew, showCreateButton = f ) : ( } - title="Build a reusable step library" - description="Save common troubleshooting steps once, reuse them across flows. Keeps your team consistent and saves build time." + title="Build your solutions library" + description="Save proven resolutions from troubleshooting sessions. Your team's knowledge grows with every ticket solved." action={ onCreateNew ? ( diff --git a/frontend/src/pages/StepLibraryPage.tsx b/frontend/src/pages/StepLibraryPage.tsx index 028c9c19..580a3eb1 100644 --- a/frontend/src/pages/StepLibraryPage.tsx +++ b/frontend/src/pages/StepLibraryPage.tsx @@ -89,17 +89,17 @@ export default function StepLibraryPage() { return ( <> - +
{/* Page Header */}
- +
-

Step Library

-

Reusable steps you can insert into any flow

+

Solutions Library

+

Reusable solutions from your team's troubleshooting sessions

{canCreateSteps && (