Description
In the CreateSessionModal single mode, the workDirError validation message renders under the "Session Name" input field instead of under "Working Directory" where it belongs.
Location
dashboard/src/components/CreateSessionModal.tsx lines ~163-185:
The error block {workDirError && (...)} is placed after the Name input field instead of after the WorkDir input field.
Steps to Reproduce
- Open New Session modal
- Enter an invalid working directory path
- Click Create Session
- Error message appears below "Session Name" field instead of "Working Directory"
Expected Behavior
workDirError should render immediately after the Working Directory input field.
Fix
Move the {workDirError && (...)} block from after the Name field to after the WorkDir field (line ~157).
Environment
- Aegis Dashboard (all versions with this component)
- All screen sizes
Description
In the CreateSessionModal single mode, the
workDirErrorvalidation message renders under the "Session Name" input field instead of under "Working Directory" where it belongs.Location
dashboard/src/components/CreateSessionModal.tsxlines ~163-185:The error block
{workDirError && (...)}is placed after the Name input field instead of after the WorkDir input field.Steps to Reproduce
Expected Behavior
workDirErrorshould render immediately after the Working Directory input field.Fix
Move the
{workDirError && (...)}block from after the Name field to after the WorkDir field (line ~157).Environment