Commit 30493e4
ui: Migrate item dialogs to right panel UI with modernized styling (#70)
* docs: comprehensive quality evaluation of meeting upload system
Adds detailed evaluation report analyzing 14 meeting transcriptions uploaded to
Transformation Program project, identifying 5 critical quality issues with
root cause analysis:
- API overload failures (14% rate)
- Semantic risk duplication (37 pairs)
- Incorrect date parsing (2024 dates in 2025 data)
- Missing automatic task closure feature
- High task unassignment rate (30%)
Report includes code-level analysis, fix recommendations with implementation
effort estimates, priority matrix, and re-evaluation prompt templates for
future quality assessments.
Overall quality score: 7.0/10
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* docs: update evaluation report to reflect Issue #1 already fixed
Corrects UPLOAD_QUALITY_EVALUATION_2025-10-13.md to indicate that Critical
Issue #1 (API Overload Failures) was already resolved via PR #69 after the
evaluation period.
Key updates:
- Mark Issue #1 as "ALREADY IMPLEMENTED" with ✅ status
- Document the multi_llm_client.py implementation details
- Note circuit breaker (purgatory), OpenAI fallback, and model translation
- Update recommendations to remove completed actions from P0 list
- Adjust effort estimates from 8-10 days to ~5 days remaining
- Update quality score from 7.0 to effective 7.5/10
- Add verification checklist for monitoring fallback effectiveness
Implementation includes:
- ProviderCascade class with intelligent 529/503 error handling
- Circuit breaker opening after 5 failures, 5min timeout
- Automatic model translation (claude-3-5-haiku → gpt-4o-mini)
- Configuration via environment variables (enabled by default)
Remaining P0 work: Date validation, auto-closure, assignee extraction
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* docs: fix incorrect statement about deduplication timing
Corrects Issue #2 analysis - deduplication is actually preventive (happens
before DB creation via analyzer.deduplicate_extracted_items at line 75 in
project_items_sync_service.py), not post-creation.
The real issue is that the AI deduplication threshold is not aggressive enough,
allowing 37 semantic duplicate pairs through despite the preventive check.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* feat: Migrate item dialogs to right panel UI with project selection
Migrated tasks, risks, lessons, and blockers from dialog-based UI to
a consistent right panel pattern using the new ItemDetailPanel component.
## Key Changes
### New Components
- Created `ItemDetailPanel` shared widget for consistent panel UI
- Created `ItemUpdatesTab` for standardized updates/comments section
- Implemented detail panels for: tasks, risks, lessons, blockers
### Project Selection
- Added project dropdown when creating items from global screens
- Users must explicitly select a project (no default selection)
- Validation ensures project is selected before saving
- Only shows when creating new items, not when editing existing ones
### UI/UX Improvements
- Right-side sliding panel replaces modal dialogs
- Consistent header with icon, title, subtitle, and actions
- Tabbed interface: Main view + Updates/Comments
- Better use of screen real estate
- More contextual actions based on item state
### Migration Details
- Removed old dialog files: task_dialog, create_task_dialog,
task_detail_dialog, risk_view_dialog, lesson_learned_dialog,
blocker_dialog, blocker_detail_dialog
- Updated all screens to use new panels: tasks_screen_v2,
risks_aggregation_screen_v2, lessons_learned_screen_v2
- Updated project detail widgets to use new panels
## Technical Notes
- Project selection uses `projectsListProvider` with Consumer pattern
- Validation in save methods ensures project is not null/empty
- Panel state management handles create vs edit modes
- All panels follow consistent patterns for maintainability
## Testing
- All files pass flutter analyze with no issues
- Removed outdated test: create_task_dialog_test.dart
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* ui: Modernize form field styling across all item detail panels
Apply consistent modern design system to Tasks, Risks, Blockers, and
Lessons Learned panels with the following improvements:
- Replace labelText with separate Text widget labels above fields
- Increase border radius from 8px to 12px for smoother appearance
- Reduce fill opacity from 0.3 to 0.25 for subtler backgrounds
- Add proper border states (enabled/focused) with custom opacities
- Update label typography to labelMedium with w600 and letterSpacing
- Standardize icon sizing to 20px with alpha 0.7
- Increase spacing: 24px between sections, 12px between label and field
- Apply modern styling to all dropdowns, text fields, and date pickers
- Update dialog forms (Mark as Blocked, Mark as Resolved) to match
This creates a cleaner, more elegant, and consistent user experience
across all item management interfaces.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* ui: Standardize item detail panel styling
- Remove colored styling from action buttons across all detail panels (Risk, Task, Blocker, Lesson)
- Use monochrome theme colors instead of explicit blue/green/orange colors
- Remove border from Risk status label to match Severity label styling
- Consistent visual appearance reduces clutter and improves elegance
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* ux: Reduce notification noise for create/update operations
Remove success notifications for create and update operations across all item detail panels (risks, tasks, lessons, blockers). Visual state changes provide sufficient feedback for these actions.
Changes:
- Remove success notifications for create operations (panel closes, item appears)
- Remove success notifications for update operations (state updates in place)
- Remove success notifications for quick status changes (UI reflects changes)
- Keep success notifications for delete operations (destructive action)
- Keep all error and warning notifications (critical feedback)
This reduces notification fatigue while maintaining clear feedback for important operations.
Also includes:
- Fix risk Kanban card click handler to open detail panel
- Disable swipe gesture between Overview/Updates tabs
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* ui: Add AI assistant and refine lesson learned panel layout
- Add AI assistant button to lesson learned detail panel header
- Optimize Type/Category/Impact display into single horizontal row
- Remove border from blocker status label (matches impact label styling)
- Hide metadata section in blocker create/edit mode
- Clean up unused list tile styling code
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* ui: Migrate documents dialog to right panel UI
Replace DocumentDetailDialog with DocumentDetailPanel to provide consistent
right-side panel UI across the application. This change aligns documents
with the existing patterns used for risks and tasks.
Changes:
- Create DocumentDetailPanel widget using ItemDetailPanel base
- Add intelligent parsing for action items and key points (handles JSON objects)
- Implement expand/collapse for key points and action items (show 3 initially)
- Use neutral theme colors instead of bright purple/blue accents
- Reduce transcription preview from 1200 to 400 characters
- Update DocumentsScreen to use showGeneralDialog with new panel
- Update SimplifiedProjectDetailsScreen to use new panel
- Remove DocumentDetailDialog and all references
UI Improvements:
- Consistent right panel experience across all item types
- Less colorful, more professional appearance with theme-based colors
- Better handling of long lists with "Show X More" buttons
- Metadata chips now use neutral surfaceContainerHighest colors
- Summary and content sections use primary theme color for accents
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* ui: Use consistent color for summary status badges
Change summary "Available" badges from purple to green to match the
"Processed" status color, providing better visual consistency across
the documents table.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* test: Add comprehensive widget tests for detail panels
Add test coverage for lesson learned, risk, blocker, task, and document detail panels. Tests verify form validation, edit/view mode transitions, field requirements, and CRUD operations to ensure consistent behavior across all item types.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: Resolve production assert and memory leak issues
- Replace assert with ArgumentError in TaskDetailPanel constructor
* Ensures validation runs in production builds, not just debug mode
* Prevents invalid widget construction with proper error handling
- Fix memory leak in ItemDetailPanel TabController listener
* Convert anonymous listener to named method (_onTabChanged)
* Properly remove listener in dispose() to prevent memory leaks
- Remove obsolete AI indicator tests from lesson learned widgets
* Tests were for UI features that have been removed
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: nikolay.k <77578004+the-harpia-io@users.noreply.github.com>1 parent 8769f95 commit 30493e4
47 files changed
Lines changed: 9846 additions & 9500 deletions
File tree
- docs
- lib
- features
- documents/presentation
- screens
- widgets
- lessons_learned/presentation
- screens
- widgets
- projects/presentation
- screens
- widgets
- risks/presentation
- screens
- widgets
- tasks/presentation
- screens
- widgets
- test
- features
- documents/presentation/widgets
- lessons_learned/presentation/widgets
- projects/presentation/widgets
- tasks/presentation/widgets
- helpers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
0 commit comments