-
-
Notifications
You must be signed in to change notification settings - Fork 24
[BUG]: UI Overflow and Outdated Prescription Handling in Transcription Screen #31
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
Issue Description
The Transcription Screen has the following issues:
-
UI Overflow (RenderFlex Error)
- A horizontal overflow occurs in the status indicator row.
- This happens when long status text exceeds screen width.
-
Outdated Prescription Usage
- The UI still relies on
controller.prescription, which is no longer available after migrating to structured AI responses. - This causes compilation errors.
- The UI still relies on
-
Inconsistent UX with New AI Structure
- The app now supports structured insights (symptoms, medicines), but the UI still shows a "Prescription" button.
- This leads to mismatch between backend logic and UI.
Expected Behavior
- Status text should not overflow on small screens.
- UI should use structured data (
symptoms,medicines) instead of deprecated fields. - Navigation should reflect updated AI outputs via a dedicated screen.
Suggested Fix
- Wrap status
Textwidget withExpandedand applyTextOverflow.ellipsis - Replace
controller.prescriptionwith structured getters - Introduce a new
MedicalInsightsScreenfor better UX
Steps to Reproduce
No response
Logs and Screenshots
No response
Environment Details
No response
Impact
Critical - Application is unusable
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working