senke
ab793d0157
cognitive-load: show only 2 key metrics on dashboard, hide rest behind View All
...
- Added progressive disclosure for dashboard metrics
- Shows first 2 metrics (Pistes écoutées, Messages envoyés) initially
- Hides Favoris and Amis actifs behind 'Voir tout' button
- Added 'Voir moins' button to collapse back to 2 metrics
- Reduces cognitive load by showing only essential metrics first
- Action 10.1.1.1 complete
2026-01-16 02:27:26 +01:00
senke
b3694baaa3
cognitive-load: add clear filters button to LibraryPage
...
- Added clear filters button inside AdvancedFilters component
- Button only visible when filters are active
- Clears all filters: search, genre, format, sort
- Uses RotateCcw icon and outline button variant
- Improves UX by allowing quick filter reset
- Action 10.3.1.3 complete
2026-01-16 02:25:46 +01:00
senke
f3f246b383
cognitive-load: hide advanced filters behind AdvancedFilters component
...
- Wrapped Genre, Format, and Sort filters in AdvancedFilters component
- Search input remains visible (basic functionality)
- Advanced filters hidden by default, expandable on demand
- Added tooltip to AdvancedFilters explaining functionality
- Reduces cognitive load through progressive disclosure
- Action 10.3.1.2 complete
2026-01-16 02:24:14 +01:00
senke
5724892ff7
cognitive-load: add tooltips to advanced features
...
- Added optional tooltip prop to AdvancedFilters component
- Added tooltips to LibraryPage view mode toggles (Grid/List)
- Added tooltip to LibraryPage sort button
- Added context-aware tooltip to LibraryPage bulk mode button
- Tooltips explain functionality and improve discoverability
- Action 10.4.1.2 complete
2026-01-16 02:22:41 +01:00
senke
645b51b465
cognitive-load: create AdvancedFilters component
...
- Created collapsible AdvancedFilters component for progressive disclosure
- Uses existing Collapsible component for consistency
- Supports controlled and uncontrolled modes
- Customizable label and optional filter icon
- Follows Kodo design system styling
- Ready to wrap Genre, Format, and Sort filters in LibraryPage
- Action 10.3.1.1 complete
2026-01-16 02:20:26 +01:00
senke
e39ecb8d8f
consistency: add visual test page for Input component
...
- Added comprehensive visual test section to DesignSystemDemoPage
- Tests basic states (normal, with value, disabled, disabled with value)
- Tests 8 input types (text, email, password, number, search, url, tel, date)
- Tests width variations (full, half, fixed)
- Tests placeholder variations (with, without, long, short)
- Available at /design-system route for visual verification
- Action 9.5.1.6 complete
2026-01-16 02:18:06 +01:00
senke
43f710aeda
consistency: add visual test page for button variants
...
- Added comprehensive visual test section to DesignSystemDemoPage
- Tests all 5 variants (default, destructive, outline, secondary, ghost)
- Tests all 4 sizes (sm, default, lg, icon)
- Tests all variant × size combinations (20 total)
- Tests normal and disabled states
- Available at /design-system route for visual verification
- Action 9.3.1.6 complete
2026-01-16 02:17:01 +01:00
senke
2637f2dd82
consistency: add JSDoc documentation for button variants
...
- Added comprehensive JSDoc comments for buttonVariants
- Documented all 5 variants (default, destructive, outline, secondary, ghost) with use cases
- Documented all 4 sizes (default, sm, lg, icon) with descriptions
- Added ButtonProps interface documentation with examples
- Added Button component documentation with usage examples
- Action 9.3.1.5 complete
2026-01-16 02:15:30 +01:00
senke
aa56a869ba
consistency: simplify button glow effects
...
- Removed excessive glows from button variants
- default: removed base glow, reduced hover glow (30px→15px, opacity 0.5→0.3)
- destructive: removed hover glow
- outline: removed hover glow
- Buttons now have minimal, subtle glows for better visual hierarchy
- Action 9.3.1.4 complete
2026-01-16 02:14:52 +01:00
senke
90389c4602
consistency: remove unused button variants (neon, glass, premium, link)
...
- Removed neon, glass, premium, and link variants from Button component
- Replaced variant="link" in PostCard with variant="ghost" (with underline)
- Replaced variant="premium" in LibraryPage and FAB with variant="default"
- Updated COMPONENT_USAGE.md to reflect removed variants
- Remaining variants: default, destructive, outline, secondary, ghost
- Action 9.3.1.2 complete
2026-01-16 02:13:51 +01:00
senke
0a9ec0ebb6
consistency: replace custom components with design system components
...
- Fixed UserCard: removed invalid Card variant prop, fixed Button variants
- Fixed LicenceCard: removed invalid Card variant prop, fixed Button variants
- Replaced FormField Input with design system Input (removed Tailwind defaults)
- Replaced FormField Textarea with design system Textarea (removed Tailwind defaults)
- Replaced FormField Select with design system Select (maintained backward compatibility)
- All components now use design system components with proper error handling
- Action 9.2.1.6 complete
2026-01-16 02:11:40 +01:00
senke
d23afd2fdd
consistency: create component usage guide
...
- Created comprehensive guide documenting design system components
- Documents Button, Card, Input, Select, Dialog, Alert, Badge components
- Includes use cases, variants, sizes, examples, and best practices
- Provides migration guide for custom implementations
- Action 9.2.1.4 complete
2026-01-16 02:08:56 +01:00
senke
097520dcaa
consistency: add ESLint rule to enforce Button component usage
...
- Added no-restricted-syntax rule to detect native <button> elements
- Rule warns developers to use Button component from @/components/ui/button
- Ensures consistent styling, accessibility, and design system compliance
- Rule tested and working correctly
- Action 9.2.1.3 complete
2026-01-16 02:07:51 +01:00
senke
44b6b3785a
consistency: replace custom buttons with Button component (partial)
...
- Replaced custom button implementations with Button component in 14 files
- Files updated: LiveStreamDetailView, DashboardPage, CommentItem, PostCard, SocialPage, SocialView, AdminUsersView, UserTableRow, ProjectsManager, CloudFileBrowser, FileManagerView, CreatorModal, ImageCropper, BulkUploadModal
- ~31 buttons replaced across high-priority files
- Used appropriate Button variants: ghost, outline, default, secondary, link
- Preserved visual appearance with className overrides where needed
- Action 9.2.1.2 in progress (partial completion)
2026-01-16 02:06:14 +01:00
senke
5e84f8ae6f
consistency: add ESLint rule to prevent Tailwind default colors
...
- Added no-restricted-syntax rule to detect Tailwind default color classes
- Warns on default colors (slate, gray, zinc, red, blue, etc.) in className strings
- Prompts developers to use Kodo design system colors instead
- Rule tested and working - correctly flags violations
- Action 9.1.1.4 complete
2026-01-16 02:02:14 +01:00
senke
07642eb3a9
consistency: fix final Tailwind default color instances
2026-01-16 01:59:56 +01:00
senke
1377df579d
consistency: fix remaining Tailwind default colors in auth and features components
2026-01-16 01:59:31 +01:00
senke
a77dc9a631
consistency: fix remaining Tailwind default color edge cases
2026-01-16 01:58:12 +01:00
senke
564de2fd47
consistency: auto-migrate Tailwind default colors (Batch 14, 50 instances)
2026-01-16 01:57:08 +01:00
senke
a234eb354b
consistency: auto-migrate Tailwind default colors (Batch 13, 110 instances)
2026-01-16 01:57:04 +01:00
senke
ccbf0923c0
consistency: auto-migrate Tailwind default colors (Batch 12, 62 instances)
2026-01-16 01:57:01 +01:00
senke
d007ab80d9
consistency: auto-migrate Tailwind default colors (Batch 11, 100 instances)
2026-01-16 01:56:57 +01:00
senke
d7fa337c95
consistency: auto-migrate Tailwind default colors (Batch 10, 130 instances)
2026-01-16 01:56:54 +01:00
senke
9c672b68aa
consistency: auto-migrate Tailwind default colors (Batch 9, 70 instances)
2026-01-16 01:56:50 +01:00
senke
f7a75e90d1
consistency: auto-migrate Tailwind default colors (Batch 8, 47 instances)
2026-01-16 01:56:47 +01:00
senke
6afe3acca9
consistency: auto-migrate Tailwind default colors (Batch 7, 37 instances)
2026-01-16 01:56:44 +01:00
senke
4e6a696e61
consistency: auto-migrate Tailwind default colors (Batch 6, 21 instances)
2026-01-16 01:56:41 +01:00
senke
f4e2dd45d4
consistency: auto-migrate Tailwind default colors (Batch 5, 50 instances)
2026-01-16 01:56:37 +01:00
senke
dccd27022f
consistency: auto-migrate Tailwind default colors (Batch 4, 114 instances)
2026-01-16 01:56:34 +01:00
senke
e1b872ede2
consistency: auto-migrate Tailwind default colors (Batch 3, 70 instances)
2026-01-16 01:56:30 +01:00
senke
20922d06bd
consistency: auto-migrate Tailwind default colors (Batch 2, 64 instances)
2026-01-16 01:56:27 +01:00
senke
576b565a32
consistency: auto-migrate Tailwind default colors (Batch 1, 83 instances)
2026-01-16 01:56:24 +01:00
senke
55b4428df0
docs: generate comprehensive list of all remaining Tailwind default color instances
2026-01-16 01:51:32 +01:00
senke
2cf6073e11
consistency: migrate Tailwind default colors in CheckoutView and FileManagerView (Batches 19-20)
2026-01-16 01:49:52 +01:00
senke
7d9b6fc697
consistency: migrate Tailwind default colors in CartView and SearchPageView (Batches 17-18)
2026-01-16 01:48:26 +01:00
senke
bfbedfe85d
consistency: migrate Tailwind default colors in AdminView and EducationView (Batches 15-16)
2026-01-16 01:47:43 +01:00
senke
7320c47f90
consistency: migrate Tailwind default colors in ProfileView.tsx (Batch 14)
2026-01-16 01:46:58 +01:00
senke
97fe963993
consistency: migrate Tailwind default colors in LiveView, StudioView, and UploadView (Batches 11-13)
2026-01-16 01:46:02 +01:00
senke
579c9b7521
consistency: migrate Tailwind default colors in SettingsView and SocialView (Batches 9-10)
2026-01-16 01:45:00 +01:00
senke
2180bcb2e0
consistency: migrate Tailwind default colors in PurchasesView.tsx (Batch 8)
2026-01-16 01:44:12 +01:00
senke
c7ae928514
consistency: migrate Tailwind default colors in NotificationsView.tsx (Batch 7)
2026-01-16 01:43:37 +01:00
senke
e23f724d39
consistency: migrate Tailwind default colors in DiscoverView.tsx (Batch 6)
2026-01-16 01:43:00 +01:00
senke
b8b265551c
consistency: migrate Tailwind default colors in FileDetailsView.tsx (Batch 5)
2026-01-16 01:42:21 +01:00
senke
653573ff8e
consistency: migrate Tailwind default colors in MarketplaceView.tsx (Batch 4)
2026-01-16 01:41:40 +01:00
senke
ddb1348da7
consistency: migrate Tailwind default colors in AnalyticsView.tsx (Batch 3)
2026-01-16 01:41:11 +01:00
senke
badf3b8ca2
cognitive-load: audit list view usage (Action 10.2.1.1)
...
- Audited all files with view mode toggle (6 files total)
- Found list view is actively used and is default in 3 contexts:
- SearchPageView: List is default for search results
- FileManagerView: List is default for file browsing
- CloudFileBrowser: List is default for cloud files
- Grid view is default in track browsing contexts (LibraryPage, LibraryManager, ProfileView)
- Recommendation: Keep list view - serves different purposes than grid view
- Created comprehensive audit report: apps/web/docs/LIST_VIEW_USAGE_AUDIT.md
- Includes context-specific analysis and recommendations
2026-01-16 01:38:00 +01:00
senke
d29470663b
cognitive-load: mark Tabs as complete and create Accordion component (Actions 10.1.1.2, 10.1.1.4)
...
- Action 10.1.1.2: Tabs component already exists at apps/web/src/components/ui/tabs.tsx
- Action 10.1.1.4: Created Accordion component at apps/web/src/components/ui/accordion.tsx
- Components: Accordion, AccordionItem, AccordionTrigger, AccordionContent
- Features: Single/multiple modes, controlled/uncontrolled, smooth animations
- Design: Kodo design system styling, accessible, follows Tabs pattern
- Ready for use in Dashboard and other pages for collapsible sections
2026-01-16 01:36:19 +01:00
senke
e13d62dcaf
consistency: audit button variant usage (Action 9.3.1.1)
...
- Audited all 9 button variants in design system Button
- Found 5 variants in use (128 total uses):
- ghost: 71 uses (54.2% - most popular)
- outline: 36 uses (27.5%)
- secondary: 13 uses (9.9%)
- default: 4 uses (3.1%)
- destructive: 4 uses (3.1%)
- Found 4 unused variants (zero usage):
- neon, glass, premium, link
- Identified 28 legacy Button uses with variant="primary"
- Created comprehensive audit report: apps/web/docs/BUTTON_VARIANT_USAGE_AUDIT.md
- Includes usage statistics, analysis, and migration strategy
2026-01-16 01:32:40 +01:00
senke
cf947dbc98
consistency: audit custom components (Card, Input, Select) (Action 9.2.1.5)
...
- Audited Card, Input, and Select component implementations
- Identified design system, legacy, and custom components
- Found 4 high-priority issues:
- UserCard and LicenceCard using invalid variant prop
- FormField Input using Tailwind default colors
- FormField Select using native HTML select
- Documented ~8 custom card-like components
- Created comprehensive audit report: apps/web/docs/CUSTOM_COMPONENTS_AUDIT.md
- Includes migration priorities and specific files requiring changes
2026-01-16 01:30:54 +01:00
senke
8abe2733db
consistency: audit custom button implementations (Action 9.2.1.1)
...
- Scanned 166 files with button elements
- Identified 30+ high-priority custom button implementations
- Documented locations, line numbers, and recommended Button variants
- Created comprehensive audit report: apps/web/docs/CUSTOM_BUTTONS_AUDIT.md
- High priority: Live stream, Dashboard, Social, Admin, Studio, File Manager, Modals
- Includes migration strategy and next steps
2026-01-16 01:28:37 +01:00