repo
stringclasses
20 values
path
stringlengths
6
94
lang
stringclasses
5 values
n_chars
int64
81
200k
sha256
stringlengths
64
64
content
stringlengths
81
200k
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/HistoryPanel.stories.tsx
tsx
16,321
7f2b938b83166f512d292ded16f730dc5e19053b476dc3ab26ff342d9bad8760
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * HistoryPanel is a dual-mode history display component. * It shows node version/regeneration history when a node is selected, * or flow activity log when nothing is selected. * * **Features:** * - Node history view sho...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/LibraryPanel.stories.tsx
tsx
38,988
b6271099a60bd0cb756d137559e56629639775b1b975dc37cadc4740e6954bf6
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * LibraryPanel provides a central repository for managing documents. * Users can upload, search, filter, and manage documents with AI-extracted metadata. * * **Features:** * - Document upload with drag-and-drop * - Sear...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/FlowInsightsPanel.stories.tsx
tsx
32,268
c6cf148d258e6332542e7caea88c5c07a81da02bb9e37374ebd0a59c23aed6f0
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * FlowInsightsPanel displays flow metadata, analytics, and relationships. * It provides a comprehensive view of a flow's content and connections. * * **Features:** * - Summary section with AI-generated description * - S...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/CapturesPanel.stories.tsx
tsx
34,781
4db0e9761b22ae1be897a28fb11d72bc60bc26ff2360e2317299fb6bcf17f916
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Globe, X, Search, Trash2, RefreshCw, ChevronLeft, ChevronRight, ChevronDown, ChevronUp, Loader2, Tag, Highlighter, Video, Image, Edit2, Download, Eye, EyeOff, FolderTree, Camera, } ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/ChatPanel.stories.tsx
tsx
22,757
54998bbee11f78bacfda4ca829df6c63685dc4b08aeec43566eaf458c4ac196f
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useCallback } from 'react'; /** * ChatPanel is a sliding conversation view for selected chat nodes. * It displays the full ancestry chain conversation and supports message expansion. * * **Features:** * - Slides in from right when chat nod...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/DocumentChatPanel.stories.tsx
tsx
21,726
85824d4f68206535e3615636fb5d0b45726a271e7451d24d145f8868b910c66f
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useRef, useEffect } from 'react'; import type { CSSProperties } from 'react'; /** * DocumentChatPanel is a portal-rendered slide-in panel (bottom-right) for * document Q&A. Users can ask questions about an uploaded document and receive * str...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/NoteSidePanel.stories.tsx
tsx
19,747
fd456b891c9496a8b92d7bb556f5ef108df168d0cdc92792d0376426dd81fe55
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * NoteSidePanel is a slide-out side panel for focused note editing. * It appears from the right side of the screen with an overlay background. * * **Features:** * - Header with close, pin toggle, and more menu * - NoteE...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/FlowFilesPanel.stories.tsx
tsx
23,992
9d5b5195db8495ff607ecf0b2f6ce35d6b9e34b4fcde3d209cda12710ce84050
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useEffect } from 'react'; import { Paperclip, X, Link as LinkIcon, Trash2, UploadCloud, BookOpen, Plus, Loader2, Check, AlertCircle } from 'lucide-react'; /** * FlowFilesPanel manages file attachments for conversation flows. * Supports file u...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/BackgroundTasksPanel.stories.tsx
tsx
22,805
48d6e4143ec7431666ed031e29481e1b0280917cba43fc59845885d493df3657
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { X, Search, GitMerge, Link2, Clock, Play, CheckCircle, XCircle, Ban, ChevronDown, ChevronUp, ListTodo, Loader2, Plus, Zap, Eye, } from 'lucide-react'; /** * BackgroundTasksPanel displays a...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/WebOpsPanel.stories.tsx
tsx
11,216
1c269f6e8bc11474ad0a6de1f73b6e533e67ae060f91372b0a7ee11f659362bd
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { WebOpsPanel } from '@/components/controls/WebOpsPanel'; import { WebResultCard } from '@/components/controls/WebResultCard'; import type { SearchResult, ScrapeResult } from '@/lib/webOpsApi'; /** * WebOpsPanel provides ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/SettingsPanel.stories.tsx
tsx
39,664
e20ccf210e6d7477559c84e8102a07f3a57a19912930e3442cc165977c5b6c13
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * SettingsPanel provides user preferences and configuration options. * It organizes settings into collapsible categories for easy navigation. * * **Features:** * - Generation settings (model, temperature, RAG) * - Appea...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/ReviewPanel.stories.tsx
tsx
17,608
be907991a325d1396e8eccd067acb078dcc004cd3ee510cfdcad95e5f690126f
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Brain, CheckCircle, RotateCcw, Archive, Loader2, ChevronRight, Sparkles, Calendar, } from 'lucide-react'; /** * ReviewPanel provides a spaced repetition review interface for knowledge cards. * Users mar...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/NotificationPanel.stories.tsx
tsx
18,174
3b882750327e337c78457572c12be909b0c077f34db1b0c8b4b2b9a792ae1f15
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Bell, X, Check, Trash2, AlertCircle, AlertTriangle, Info, CheckCircle } from 'lucide-react'; /** * NotificationPanel displays and manages user notifications. * Supports different notification types with visual indicato...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/PropertiesPanel.stories.tsx
tsx
25,030
3f6a89a81676c195568b8e9de5fa171607f73097b569908c0db8cff9581ae4ee
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * PropertiesPanel is a context-sensitive properties router that shows * different property panels based on the current selection. * * **Features:** * - FlowProperties when nothing is selected * - NodeProperties when a s...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/BugReportPanel.stories.tsx
tsx
19,419
eb705402811c59f99ca2d966280fa647a52e53de394e7409b201135c060d859f
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * BugReportPanel allows users to report bugs with detailed context. * It captures flow/node context, reproduction steps, and expected vs actual behavior. * * **Features:** * - Auto-populates current flow and selected nod...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/panels/SignalsTab.stories.tsx
tsx
15,145
8df8a1e2e19bfcccc4fca33f2090e2208ddb6937e092a9f4740a1547d88b41bb
import type { Meta, StoryObj } from '@storybook/react'; import React, { useState } from 'react'; import { RefreshCw, Loader2, Settings } from 'lucide-react'; /** * SignalsTab shows always-on browsing signal threads and telemetry. * Admin-only, rendered within the CapturesPanel dialog. * * These stories use inline ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/admin/AdminTemplates.stories.tsx
tsx
33,553
9a1da84984a9ddd5e8f535589a2ad701998dfcdfbb1f987364b77aa476ab8a4a
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useCallback } from 'react'; import { LayoutTemplate, Plus, Trash2, Edit2, Eye, EyeOff, Star, StarOff, FolderPlus, RefreshCw, X, Rocket, Search, Code, Lightbulb, GraduationCap, Puzzle, Calendar, FileText, B...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/admin/AdminCronJobs.stories.tsx
tsx
2,126
35b54d2f8e957d54916c01e56e63e58d4cc382da49cf5373ac8b0d054d960ac3
import type { Meta, StoryObj } from '@storybook/react'; import { AdminCronJobs } from '@/components/admin/sections/AdminCronJobs'; import type { CronJobRun, CronJobSummary } from '@/lib/cronApi'; const summary: CronJobSummary[] = [ { jobName: 'model-sync', lastRunStatus: 'completed', lastSuccessTime: '20...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/admin/AdminUsers.stories.tsx
tsx
18,799
252eab45c71b63f4add8be349c6316d7944d9a8d3a7a4eb1226138d47fb97360
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Users, MoreVertical, History, Shield, X, } from 'lucide-react'; /** * AdminUsers provides a user management table with account status badges, * action menus for suspend/unsuspend/delete/restore, a reason dial...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/admin/AdminFeedback.stories.tsx
tsx
23,044
3af8b6cf736e0eba5e45eacc73002b0699079c0a79fc8d70133ea011981dca17
import type { Meta, StoryObj } from '@storybook/react'; import React, { useState } from 'react'; import { ThumbsUp, ThumbsDown, RefreshCw } from 'lucide-react'; /** * AdminFeedback displays feedback statistics and individual entries * collected from users' thumbs up/down ratings on chat text, images, * videos, and ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/admin/AdminSystemConfig.stories.tsx
tsx
29,337
03e80162aadbe194bc1be3d0f1c8aff957e1749c5eca61f5f8215d14a7b2f4a6
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useCallback } from 'react'; import { Sliders, RotateCcw, Search, Download, Upload, ChevronDown, ChevronRight, Clock, AlertTriangle, Loader2, X, } from 'lucide-react'; /** * AdminSystemConfig provides a management interfac...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/modals/OnboardingModal.stories.tsx
tsx
20,145
e6c1d955d874b683d3678f78be76ed987f9cfc2bd7febfa08e866fba47d29fd7
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useCallback } from 'react'; /** * OnboardingModal introduces new users to the application with a 3-step guide. * This is a self-contained mock component that doesn't require external dependencies. */ // =====================================...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/modals/NotesModal.stories.tsx
tsx
48,758
205f32ce32d5269409379517c75db35efafb2ec75736520add3c7df09aeec02d
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useCallback } from 'react'; /** * NotesModal is the main container for the memory/notes interface. * It provides a 5-tab interface for managing notes, memories, reminders, search, and graph visualization. * * **Features:** * - 5-tab interf...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/modals/CreateEventModal.stories.tsx
tsx
30,035
cb4586687e2cb028cd40fe3d3e14ca66fbb64bb4fc1936aa014a896bbc889d29
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useEffect, useCallback } from 'react'; /** * CreateEventModal allows users to create calendar events from memory items. * This is a self-contained mock component that doesn't require external dependencies. * * **Features:** * - Pre-fills f...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/modals/FlowManager.stories.tsx
tsx
43,822
847502685c31da67d64bb57983c04c8faaa62a777bd801e9835a42da4fd3e355
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useCallback } from 'react'; /** * FlowManager provides a comprehensive interface for managing saved flows. * Users can save, load, organize into groups, share, and bulk delete flows. * * **Features:** * - Save/update flows with name and de...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/modals/FlowBrowserModal.stories.tsx
tsx
32,408
f3f87b4b1bdb9df3720dcf81004f30dad3ffa30a9a85db363c63bdf018a5addb
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useCallback } from 'react'; /** * FlowBrowserModal allows browsing and selecting nodes from a referenced flow. * This is a self-contained mock component that doesn't require external dependencies. */ // =====================================...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/modals/QuickCaptureModal.stories.tsx
tsx
38,019
8ba70361f6f0417ec7eb16c95cdf647dfcbdfc08410acdddb79a8e667da829b3
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useRef, useEffect, useCallback } from 'react'; /** * QuickCaptureModal is a lightweight modal for rapid note-taking with autocomplete support. * This is a self-contained mock component that doesn't require external dependencies. * * Feature...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/modals/OcrModeDialog.stories.tsx
tsx
17,794
5e464c7d6701567ed705151fafa32fe264185caa8b08a5316be0fab6b07bb21b
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useCallback, useEffect, useRef } from 'react'; /** * OcrModeDialog presents users with OCR mode selection when processing images. * This is a self-contained mock component that doesn't require external dependencies. */ // ==================...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/modals/ParallelGenerationModal.stories.tsx
tsx
32,885
3afaa38838a236f05a2b984e62cb38a194e1fe4084006b9f56f5d55b5d1b7c08
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * ParallelGenerationModal allows users to configure parallel generation options * for creating multiple response branches simultaneously. * * **Features:** * - Three generation modes: Branches, Multi-Model, and Synthesis...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/modals/TaskSuggestionBanner.stories.tsx
tsx
17,383
6223e6a9923bbc43578361526375215af6810ec1282844fac01bf013f120e335
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * TaskSuggestionBanner shows a notification when an actionable task is detected in a memory. * This is a self-contained mock component that doesn't require external dependencies. */ // ====================================...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/modals/CaptureEditModal.stories.tsx
tsx
8,937
feb67b660dca42b15ff09ce768e4bf16bb4a66d216818750b2cbc4f17a0af701
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { X, Loader2 } from 'lucide-react'; /** * CaptureEditModal is a portal-based modal for editing capture title, * content (via RichTextEditor), and tags. * * Note: The real component depends on Zustand store and RichText...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/user/ExpenseDashboard.stories.tsx
tsx
18,819
4b3d765a726659673b09cf198ed4594a326403b092435a7adfbd5f3dbb4ad624
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * ExpenseDashboard displays the user's AI usage costs and limits. * It provides visual breakdowns of spending by flow, operation type, * and daily usage patterns to help users understand and manage their costs. * * **Fea...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/user/CalendarSettings.stories.tsx
tsx
18,033
f64c20d34511c1dd7ff9503dc49310159234c3ee8943a54252ffbbc38fc66f3a
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * CalendarSettings manages Google Calendar integration and scheduling preferences. * Users can connect their Google Calendar, select which calendars to sync, * and configure automation preferences for scheduling. * * **F...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/user/ApiTokensSettings.stories.tsx
tsx
18,444
d54d1a2ea8a1442423244e2385ba36a5116491b6afafc09dd63400cf5ac3ca3a
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useEffect } from 'react'; /** * ApiTokensSettings allows users to manage their API tokens for MCP integration. * Users can generate new tokens, view existing tokens with expiry status, * copy tokens to clipboard, and revoke tokens when neede...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/user/TelegramSettings.stories.tsx
tsx
17,430
865cd08bb88abe7087f71579e9f132b4c00ab073c090d82455cac438370dca71
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useEffect } from 'react'; /** * TelegramSettings manages Telegram bot integration for Spider Chat. * Users can link their Telegram account to receive notifications and * interact with the bot directly from Telegram. * * **Features:** * - ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/agent/AgentSetupDialog.stories.tsx
tsx
7,378
59e07952197cc8d0af1badf1bfaa1525cf0b96604dd6b186fd69f9a46cdb3f9e
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * AgentSetupDialog lets the user configure and start an AI agent session. * * **Features:** * - Task description textarea * - Budget / model summary * - Error state display * - Start / cancel actions */ // Icons cons...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/agent/AgentChatBar.stories.tsx
tsx
15,117
9935a415b36dbed34ca06402ccb8f33a8956dc51f5a72216579899a99e04bdfd
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * AgentChatBar is the primary control surface while an AI agent is active. * Replaces the FloatingInputBar and shows: * - Task description & status * - Activity feed (real-time log of actions) * - Message input for mid-s...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/agent/PermissionDialog.stories.tsx
tsx
8,397
8d1ba42292bf42dbf0ef8de6b1968686c8379cd4f7dc5fb4ade2e21db3775350
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useEffect } from 'react'; /** * PermissionDialog appears when the AI agent needs user approval * for a gated action (delete_node, search_memories, create_memory). * * **Features:** * - Action description with reason * - Allow / Allow Once...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/agent/AgentOverlay.stories.tsx
tsx
12,243
fd3184f6616e6da3b3e7965b3e681bbf7cc049052146177ae4f50d96e48560b8
import type { Meta, StoryObj } from '@storybook/react'; /** * AgentOverlay is the top-level composition shown when an AI agent is active. * * It renders: * - A semi-transparent blocking overlay (prevents canvas interaction) * - A top banner indicating the agent is working * - The AgentChatBar at the bottom * - ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/visual-pickers/WeatherPicker.stories.tsx
tsx
10,118
5dc8357b684b2e967794cd38267ec9c0edddb3b89e02ffb9d8cf1be80c697601
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * WeatherPicker provides a visual interface for selecting weather/atmosphere conditions. * Features scene preview boxes with visual atmosphere effects. */ interface WeatherPickerProps { value: string; onChange: (value...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/visual-pickers/CameraAnglePicker.stories.tsx
tsx
11,447
784377488639a0148a439703f7c7b0a6c438c8280a1ce37c86b679c2a8393ff2
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * CameraAnglePicker provides a visual interface for selecting camera angles. * Features an arc visualization with interactive points representing different angles. */ type CameraAngle = 'birds-eye' | 'high-angle' | 'eye-l...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/visual-pickers/CameraDistancePicker.stories.tsx
tsx
13,537
b0ffd87de2ff06182d5205b66fe83fef40a738e4e9c5069647daefa8c402e5c1
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * CameraDistancePicker provides a visual interface for selecting camera distance/shot type. * Features a silhouette with scale indicator, slider, and crop frame indicators. */ type CameraDistance = 'close-up' | 'medium-sh...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/visual-pickers/AspectRatioPicker.stories.tsx
tsx
8,364
fe64b994db37e4a00de60001393e7dac5d2d385ed9abf82425b021414e3fba52
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * AspectRatioPicker provides a visual interface for selecting image aspect ratio. * Features mini frame previews showing the aspect ratio shape with dimensions. */ interface AspectRatioPickerProps { value: string; onC...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/visual-pickers/CompositionPicker.stories.tsx
tsx
10,720
18e8009b442a553297ebebc0c1becfb3c0e52e6228bd66ca8a505f9138f7be73
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * CompositionPicker provides a visual interface for selecting composition styles. * Features mini frame previews with grid overlays. */ interface CompositionPickerProps { value: string; onChange: (value: string) => vo...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/visual-pickers/TimeOfDayPicker.stories.tsx
tsx
16,525
3733640403973a347d8c2aebd087747ed764881e7a7f7d862eff6fb039eea6bf
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * TimeOfDayPicker provides a visual interface for selecting time of day. * Features a sky gradient, celestial body (sun/moon), and gradient bar. */ type TimeOfDay = 'dawn' | 'morning' | 'midday' | 'afternoon' | 'golden-ho...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/visual-pickers/DepthOfFieldPicker.stories.tsx
tsx
11,688
32ccbe99465d4b34872c6765751596b55881d5e1a61bdb87160c992d3b2516d1
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * DepthOfFieldPicker provides a visual interface for selecting depth of field / aperture. * Features blur visualization with bokeh effects. */ interface DepthOfFieldPickerProps { value: string; onChange: (value: strin...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/visual-pickers/LightingDirectionPicker.stories.tsx
tsx
14,681
ba0db2f9c7a6bae265c4bed4628bdc530211ea4f8d7c24bce65f30824b7e9529
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * LightingDirectionPicker provides a visual interface for selecting lighting direction. * Features a hemisphere visualization with light rays and sun animation. */ type LightingDirection = | 'front-light' | 'front-lef...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/foundations/Shadows.stories.tsx
tsx
18,143
822a09d71654cc5c838db6c59d87b4a32ecc75396f633ebd5242d5bd6d36bcd1
import type { Meta, StoryObj } from '@storybook/react'; const meta: Meta = { title: 'Foundations/Shadows', parameters: { layout: 'padded', }, tags: ['autodocs'], }; export default meta; type Story = StoryObj; // Token values from design-tokens/tokens.json const shadowTokens = { none: 'none', sm: '0 1...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/foundations/Animations.stories.tsx
tsx
25,023
2f7f2a15519e8b7e49403287949df9f0a088f5a5430a36a3a71c4f1906b19fa5
import type { Meta, StoryObj } from '@storybook/react'; import { useEffect, useState } from 'react'; const meta: Meta = { title: 'Foundations/Animations', parameters: { layout: 'padded', }, tags: ['autodocs'], }; export default meta; type Story = StoryObj; // Token values from design-tokens/tokens.json c...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/foundations/Colors.stories.tsx
tsx
13,628
870cc619cc90a620411026454eb0156234fe60ccfea0b61d7c74e8eae64203e3
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; const meta: Meta = { title: 'Foundations/Colors', parameters: { layout: 'padded', }, tags: ['autodocs'], }; export default meta; type Story = StoryObj; // Token values from design-tokens/tokens.json const tokens = {...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/foundations/Borders.stories.tsx
tsx
18,774
e26b3b529a195a0f5c3bfc9ba15d11cc1d1ddee789df9bab54a6ef8f7de270c3
import type { Meta, StoryObj } from '@storybook/react'; const meta: Meta = { title: 'Foundations/Borders', parameters: { layout: 'padded', }, tags: ['autodocs'], }; export default meta; type Story = StoryObj; // Token values from design-tokens/tokens.json const radiusTokens = { none: '0', sm: '4px', ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/foundations/Typography.stories.tsx
tsx
15,495
0a2eb9bb9d29c55a0db0f93817bdde819d62ab29dc356bc66747b27aaed09f04
import type { Meta, StoryObj } from '@storybook/react'; const meta: Meta = { title: 'Foundations/Typography', parameters: { layout: 'padded', }, tags: ['autodocs'], }; export default meta; type Story = StoryObj; // Token values from design-tokens/tokens.json const fontTokens = { family: { sans: "-a...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/foundations/Spacing.stories.tsx
tsx
14,759
337994a81fce11b735ab439c890e7d291c24633813af35dd1e1074bb94c25dbd
import type { Meta, StoryObj } from '@storybook/react'; const meta: Meta = { title: 'Foundations/Spacing', parameters: { layout: 'padded', }, tags: ['autodocs'], }; export default meta; type Story = StoryObj; // Token values from design-tokens/tokens.json const spaceTokens = { 0: '0', '0-5': '2px', ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/search/NoteSemanticSearch.stories.tsx
tsx
15,705
4d81ff0a1b265cfeca54cddd27dc1871dfea35380299726dc3df52af6a5a1faa
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Search, Sparkles, Clock, Copy, ChevronDown, ChevronUp, AlertTriangle, Pin, Tag, } from 'lucide-react'; /** * NoteSemanticSearch provides vector-based semantic search for notes using AI embeddings. * U...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/search/UnifiedSearch.stories.tsx
tsx
26,639
7595ee9b3daa704fdef01f8608d54df43aee0e95507c69ae7f919430a16b29ae
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Search, X, Sparkles, FileText, ChevronDown, Filter, Calendar, Link2, Pin, Hash, Loader2, MessageSquare, Lightbulb, } from 'lucide-react'; /** * UnifiedSearch combines text search, AI semantic s...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/search/SearchResultItem.stories.tsx
tsx
6,507
a66225ad891ff1c4dfa14c181d97ced0434204ad591febb2f73485b7c488dabd
import type { Meta, StoryObj } from '@storybook/react'; import SearchResultItem from '../../../components/controls/SearchResultItem'; import type { GlobalSearchResult } from '../../../lib/globalSearchApi'; /** * SearchResultItem renders a single global search result with type-specific * styling, score bar, metadata ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/controls/FlowTreeView.stories.tsx
tsx
39,933
2b749e983fedec09f0c5d556a0c657f396b683ee64edfa59ec403f44dc3997b6
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useCallback, useRef, useEffect } from 'react'; /** * FlowTreeView is a hierarchical display component for flows and groups. * It provides a tree structure with expand/collapse functionality, * checkbox multi-selection, and context menus for ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/controls/CustomInstructionsEditor.stories.tsx
tsx
13,617
370c10171a1cd5dab631bb24f690b480036393c0c49ef8abe4c8d1100b9de08f
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * CustomInstructionsEditor lets users set persistent instructions * that get injected into every LLM call. * * Features: * - Status badge (Active / Not set) * - Collapsible "How it works" section * - Template chips for...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/controls/TokenCountBadge.stories.tsx
tsx
24,561
cc24ea5c01a1ee032a08464719fb2f2acacd72c310a372dbc6da87dbf428b9bd
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * TokenCountBadge displays estimated token count for ancestry chain. * * Features: * - Color indicator: green (<50%), yellow (50-80%), red (>80%) * - Optional progress bar * - Warning text when approaching limit * - Co...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/controls/BranchComparisonView.stories.tsx
tsx
37,917
51c383f7a41dc0c94295935b0407a8e32d815b708b47f437d2e99fe6a10184ce
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useCallback } from 'react'; /** * BranchComparisonView - Modal for comparing parallel generation branches. * * Features: * - Side-by-side comparison of multiple branches * - Real-time streaming output display * - Status indicators (pendin...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/controls/WebResultCard.stories.tsx
tsx
19,396
9171e68358002b179ec2aecfbe49c8d374357da593ebc728b42a4cb17062bdc9
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * WebResultCard displays a single web search or scrape result with expand/collapse, * copy-to-clipboard, and scrape functionality. * * Note: The actual component uses API calls. For Storybook, * we create standalone visu...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/controls/UploadProgressPanel.stories.tsx
tsx
12,472
87b6ae68681416d62ec937844ace361f83417c1af1aa4723f91c80ea90c7f2a2
import type { Meta, StoryObj } from '@storybook/react'; import { Upload, ChevronDown, Loader2, CheckCircle, AlertCircle, FileText, Scissors, Database, ShieldCheck, X, } from 'lucide-react'; /** * UploadProgressPanel is a floating bottom-right panel that shows real-time * file upload progress via ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/controls/FloatingInputBar.stories.tsx
tsx
16,041
542ce261fbdfe24328378b805d60788814d45b047827bb47afb5cd9e6ab9d2bb
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * FloatingInputBar - Floating bottom input bar for prompt entry and generation. * * Renders when a single chat or media generation node is selected on the canvas. * Replaces inline prompt editing that was previously in No...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/SidebarTabs.stories.tsx
tsx
7,852
dabaefc11d2ea7ad992d080120c19855b3ac8cec4ebbdac9c7939cea6ff16ccb
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * SidebarTabs provides tab navigation for the Right Sidebar. * Features an animated sliding indicator. */ const meta: Meta = { title: 'Components/SidebarTabs', parameters: { layout: 'centered', docs: { de...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/ErrorBoundary.stories.tsx
tsx
14,316
052faf65619ead899fbf85de7311d0278eff2f56ec9e640dd957463f31cd67e8
import type { Meta, StoryObj } from '@storybook/react'; import { useState, Component, ErrorInfo, ReactNode } from 'react'; import { AlertTriangle, RefreshCw } from 'lucide-react'; /** * ErrorBoundary catches JavaScript errors in child components, * logs them, and displays a fallback UI. * * Note: The actual compon...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/PromptDialog.stories.tsx
tsx
6,891
3191d1ee6315c6a709413c4abd762f71f4282497f2ab34b188f59adbfff7b527
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import PromptDialog from '@/components/controls/PromptDialog'; /** * PromptDialog replaces the native browser prompt() with a styled dialog. * Supports both text input and textarea modes. */ const meta: Meta<typeof PromptDialo...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/Navbar.stories.tsx
tsx
7,079
d64c69b6f9d66163e9f561f6509fa0fff660b57253e2520f5d52946d7a357f29
import type { Meta, StoryObj } from '@storybook/react'; import { ChevronRight, Search, MessageSquare, Bell, HelpCircle, Compass, } from 'lucide-react'; /** * Navbar is the top navigation bar for the application. * * Note: The actual component uses Zustand store state. For Storybook, * we create standal...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/VideoModelSelector.stories.tsx
tsx
15,960
a0b2777d7380d3c84bc2294f3e723687e879af0bbf787f742f529f78cd0e30f8
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Video, Image, ChevronDown, ChevronRight, DollarSign, Zap, Star, AlertCircle, } from 'lucide-react'; /** * VideoModelSelector provides a dropdown for selecting video generation models. * * Models are gr...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/VoiceRecordButton.stories.tsx
tsx
9,477
5599b6f06a70657f7cf797ac3f5fb1873a8d16ae3e1988a7ef9121ddc1700fe7
import type { Meta, StoryObj } from '@storybook/react'; import { Mic, Square, Loader2 } from 'lucide-react'; /** * VoiceRecordButton provides speech-to-text input functionality. * * Note: The actual component uses the useAudioRecorder hook which requires * browser audio APIs. For Storybook, we show visual represen...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/VideoProgressIndicator.stories.tsx
tsx
7,195
66dcc269f3e6c204d9d26a71eabb73b59009d59574528063b0e8ab5049374415
import type { Meta, StoryObj } from '@storybook/react'; import { AlertCircle, CheckCircle, Loader2 } from 'lucide-react'; /** * VideoProgressIndicator shows the progress of video generation. * * Used within MediaGenerationNode to provide feedback during video generation. */ const meta: Meta = { title: 'Component...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/CursorOverlay.stories.tsx
tsx
9,625
3fb9245becb0790b6f4f3345952e02da83e7019ed5fae0c038a577a7639d5fc5
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useEffect } from 'react'; /** * CursorOverlay shows other users' cursors during real-time collaboration. */ const meta: Meta = { title: 'Components/CursorOverlay', parameters: { layout: 'fullscreen', docs: { description: { ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/OverflowMenu.stories.tsx
tsx
7,300
5d662c650416a7848340c3cb7452bc397e691957b1066d801ae4919e8542ddb5
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Settings, Download, Share2, Trash2, Edit2, Copy, FileText, type LucideIcon } from 'lucide-react'; import OverflowMenu from '@/components/controls/OverflowMenu'; /** * OverflowMenu provides a collapsible dropdown for sec...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/FeatureGate.stories.tsx
tsx
9,942
181b97ba269bc200aa909363a4a264a095240c168cbdeb522c3f13ba14ffbfb1
import type { Meta, StoryObj } from '@storybook/react'; import { AlertTriangle, Lock, Sparkles } from 'lucide-react'; /** * FeatureGate conditionally renders content based on feature flags. * * Note: The actual component uses the useFeature hook. For Storybook, * we create standalone visual representations. */ co...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/SlashCommandMenu.stories.tsx
tsx
8,836
cab1f869b0204bf4541cba0fac966d1dd17b342a3e285bca76ec2659459a7a42
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { FileText, Terminal, Image, Code, Search } from 'lucide-react'; /** * SlashCommandMenu shows a popup menu for slash commands in chat input. * Triggered when user types '/' in the chat input area. */ const meta: Meta = ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/PerformanceIndicator.stories.tsx
tsx
10,857
49a33c8d7e486c997363b83b77ad887dcf5c1547db20d9ad2d78408728c0c65a
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Activity, ChevronDown, ChevronUp } from 'lucide-react'; /** * PerformanceIndicator shows memory and performance metrics in the tab bar. */ const meta: Meta = { title: 'Components/PerformanceIndicator', parameters: ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/ToastNotifications.stories.tsx
tsx
7,955
99ba3347df30229633cb236f6f93019a78d339b12077addf6112e8242299a83b
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import ToastNotifications, { type Toast, type ToastType } from '@/components/controls/ToastNotifications'; /** * Toast Notifications provide immediate feedback on user actions. * Supports four types: success, error, warning, an...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/ChainToNoteModal.stories.tsx
tsx
14,656
6e4e843341b5da847e9591d77ff82776df7480ade750346b026b46961b35164c
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * ChainToNoteModal - allows users to select ancestor nodes from an ancestry chain * and promote them to a note with aggregated content. * * Since the real component depends on Zustand stores, these stories use a mock * i...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/BottomToolbar.stories.tsx
tsx
9,890
d250c5ce344471587e2338a80e50eb03bd4a82ee2afbf93db1f64e66adac0fb6
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Plus, MousePointer2, Hand, Grid3X3, Undo2, Redo2, Trash2, Zap, } from 'lucide-react'; /** * BottomToolbar is a floating toolbar at the bottom of the canvas. * * Note: The actual component uses Zustand ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/FileUploadIndicator.stories.tsx
tsx
8,674
dd2267e05d9c1c7d04ebf55a996385d3f84ca2a2740e4952d2b6366c6c9c56b1
import type React from 'react'; import type { Meta, StoryObj } from '@storybook/react'; import { FileText, Image as ImageIcon, Loader2, Paperclip, Plus, X, AlertCircle, ChevronUp } from 'lucide-react'; /** * FileUploadIndicator shows upload states for file attachments on chat nodes. * * Note: The actual ChatNodeFil...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/NodeLockBadge.stories.tsx
tsx
8,171
aecb0a53a63bec69be4fd8be121c57ec5a9fef29dc433dc5563282feeea82189
import type { Meta, StoryObj } from '@storybook/react'; import { Lock } from 'lucide-react'; /** * NodeLockBadge shows who is currently editing a node during collaboration. */ const meta: Meta = { title: 'Components/NodeLockBadge', parameters: { layout: 'centered', docs: { description: { co...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/CommandPalette.stories.tsx
tsx
6,612
8a3cd1b781def298571862d606c5176696b2102d45bf9f388392ecfa5f060145
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { MessageSquare, Image, Layers, Undo2, Redo2, StickyNote, Settings, LayoutGrid, FolderOpen, Trash2, Copy, RefreshCw, GitBranch, } from 'lucide-react'; import CommandPalette, { type Command } from '...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/EmptyStateInput.stories.tsx
tsx
8,063
1d4cf78385702bca538ab3facb9cce181df06bfeb2a83cf5883ae02bc0397c20
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Send, GitBranch, Layers, History, LayoutTemplate, HelpCircle, ChevronDown, } from 'lucide-react'; /** * EmptyStateInput is the hero input shown on an empty canvas. * * Note: The actual component uses Zus...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/ModelSelector.stories.tsx
tsx
6,490
b1d1326340f451c3c54acb12242f97aa0ba2707fedf644af77b2894e312876c3
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import ModelSelector from '@/components/controls/ModelSelector'; import type { ModelInfo, ModelCategory, ModelStatus, ProviderFamily } from '@/types/graph'; /** * ModelSelector provides a complex dropdown for selecting AI models...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/TaskCard.stories.tsx
tsx
9,802
8a6a396f26cf5195c64638ff810b892d4acca3401272eab75f4970b9130fb809
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Clock, Trash2, Archive, Check, Bell, Repeat, Edit2 } from 'lucide-react'; /** * TaskCard displays a single task with completion toggle, due date, and actions. * * Note: The actual component uses API calls. For Storybo...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/TabBar.stories.tsx
tsx
9,286
b349ad58293ce9bec29cfb745be1b8fd215ed84ac3f17ec83ae378ec613817d4
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { X, Plus, Moon, Loader2 } from 'lucide-react'; /** * TabBar provides browser-style tabs for multi-flow navigation. * * Note: The actual component uses Zustand store state. For Storybook, * we create standalone visual ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/SaveStatusIndicator.stories.tsx
tsx
7,086
df47ccca4c9a4ce90dc691c035f4b3edd15295f8e3c9ad45ddf86a66b0f238d1
import type { Meta, StoryObj } from '@storybook/react'; import { Cloud, CloudOff, Check, Loader2, AlertCircle } from 'lucide-react'; /** * SaveStatusIndicator shows the current auto-save status. * * Note: The actual component uses Zustand store state. For Storybook, * we create standalone visual representations of...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/FeatureHint.stories.tsx
tsx
9,079
5a106ee72cf1018a0fa06c10221429360a122ba712aa1914a6c9eb1d2804694a
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Sparkles, Settings, Zap, Download } from 'lucide-react'; /** * FeatureHint shows a pulsing indicator and tooltip for undiscovered features. * * Note: The actual component uses the useFeatureDiscovery hook. For Storybo...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/VideoPlayer.stories.tsx
tsx
13,549
05bc9d38f60d6005c81237993b71b0453455cad3d98055628991e232bf67f950
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Play, Pause, Volume2, VolumeX, Maximize, Download, RotateCcw } from 'lucide-react'; /** * VideoPlayer provides custom video controls for playing media. * * Note: For Storybook, we create standalone visual representati...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/LeftSidebar.stories.tsx
tsx
10,008
7bfa95ae87b5e6b4fecb0004a07d3d1a887309e82aab77632f0a1bf3171b6bdc
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { Sparkles, Settings, BookOpen, FileText, Globe, ChevronLeft, ChevronRight, LogOut, Shield, LayoutDashboard, Plus, MessageSquare, AlertCircle, } from 'lucide-react'; /** * LeftSidebar is a collap...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/ConfirmDialog.stories.tsx
tsx
7,204
0cad8643d669d0277f4a5a723526221d05229f09a269343ac56007bc7166534a
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import ConfirmDialog from '@/components/controls/ConfirmDialog'; /** * ConfirmDialog replaces the native browser confirm() with a styled dialog. * Supports three visual types: danger, warning, and info. */ const meta: Meta<typ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/components/ModelPickerDropdown.stories.tsx
tsx
7,153
3be25750c7234e672a979f1bf93e73e255eec415004f7dcc61929d42a7bfb3a0
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; import { ModelPickerDropdown } from '@/components/controls/ModelPickerDropdown'; import type { ModelInfo, ModelCategory, ModelStatus, ProviderFamily } from '@/types/graph'; const meta: Meta<typeof ModelPickerDropdown> = { title...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/collab/PendingInvites.stories.tsx
tsx
15,265
8641ae543294c8d68384b6e18097e8e6c422b1181b821730a8ebdfd21b188565
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * PendingInvites displays collaboration invitations that a user has received. * Users can accept or decline invitations to join collaborative flows. * * **Features:** * - Invite cards with inviter information * - Accept...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/collab/CollaboratorList.stories.tsx
tsx
12,680
d11938f580763b6ba6aceeff9658b8dfa3f449dbc3df4756067c770d282140be
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * CollaboratorList shows active collaborators in a flow and provides * an invite button to bring others into the collaboration session. * * **Features:** * - Expandable panel with click-to-toggle * - "Coming Soon" state...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/notes/TagSuggestions.stories.tsx
tsx
18,367
1c958161e09ae2e62409fa1404fd81e5b07520ea1a2271c8c01bab243f7d2e88
import type { Meta, StoryObj } from '@storybook/react'; import { useState } from 'react'; /** * TagSuggestions displays AI-suggested tags and mentions for notes. * Users can add suggestions to their note or dismiss unwanted ones. * * Note: The actual component uses API calls and store state. For Storybook, * we c...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/notes/NoteGraphExplorer.stories.tsx
tsx
29,483
d8c7f5910381706cd4fd2686f66324569ba50d34eb67c5850c2b75065b088952
import type { Meta, StoryObj } from '@storybook/react'; import React, { useState, useCallback } from 'react'; /** * NoteGraphExplorer displays note connections in a three-column layout: * backlinks (notes linking to selected), selected note, and outgoing links. * * **Features:** * - Three-column layout for visual...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/notes/NoteEditor.stories.tsx
tsx
37,848
0b87c2a53c08ebc1d5dfc7aa4b064cb424bd5bd20578a112152d00a95971131d
import type { Meta, StoryObj } from '@storybook/react'; import React, { useState, useCallback, useRef, useEffect } from 'react'; /** * NoteEditor is the main note editing component with rich autocomplete support. * * **Features:** * - View/edit mode toggle for existing notes * - Autocomplete for [[note links]], @...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/notes/MemoryTimeline.stories.tsx
tsx
72,542
e21c8c40b9d8b583f2aa210fea8e3855581da47e987a8791b3b838079a12cb18
import type { Meta, StoryObj } from '@storybook/react'; import React, { useState, useMemo, useCallback } from 'react'; /** * MemoryTimeline displays memories chronologically with filtering, bulk selection, * and rich metadata including entities, task suggestions, and category badges. * * **Features:** * - Filter ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/notes/ContentTypeFilter.stories.tsx
tsx
2,771
4cf20fcd68362116b24a7ef4b870a8486e03962e9d43f3b9d518984ac771a55c
import type { Meta, StoryObj } from '@storybook/react'; import { useState, useCallback } from 'react'; import ContentTypeFilter from '../../../components/notes/ContentTypeFilter'; import type { KnowledgeContentType } from '../../../lib/knowledgeGraphApi'; /** * ContentTypeFilter shows pill-shaped toggle buttons for N...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/notes/NoteContentRenderer.stories.tsx
tsx
20,403
8201edd42f2e6fdc5f692fe89a7f3e21f29cd8d56df8f27c102591667dcdfcbe
import type { Meta, StoryObj } from '@storybook/react'; import React, { useCallback, useMemo } from 'react'; /** * NoteContentRenderer parses and renders note content with clickable [[links]], @mentions, and #tags. * * **Features:** * - Wiki-style [[Note Title]] links for connecting notes * - @mention syntax for ...
eren23/non_linear_ai_chat
frontend/src/design-system/stories/notes/MemoryConnections.stories.tsx
tsx
32,745
8822f16c82a3b31acead178c9aa62d6535cea6520e9aff6ce1f2b833d7524e1a
import type { Meta, StoryObj } from '@storybook/react'; import React, { useState, useCallback } from 'react'; /** * MemoryConnections visualizes relationships between memories using semantic search. * * **Features:** * - Memory list with search/filter capabilities * - Select a memory to find semantically related ...