Skip to content

fix(desktop): ScheduleModal error message styling#9278

Merged
DOsinga merged 1 commit into
aaif-goose:mainfrom
steveofficer:fix-schedule-modal-styles
May 18, 2026
Merged

fix(desktop): ScheduleModal error message styling#9278
DOsinga merged 1 commit into
aaif-goose:mainfrom
steveofficer:fix-schedule-modal-styles

Conversation

@steveofficer
Copy link
Copy Markdown
Contributor

Summary

The ScheduleModal had the error messages styled with danger border, background and text. This meant that the messages were not able to be seen due to the red-on-red.

This has been addressed by removing the danger background style so that only the text is styled.

Additionally, the schedule name and source fields have been marked up in a similar way to the CreateRecipe modal. Required fields have an explicit asterix * to give a visual indicator that they are required.

Testing

This has been manually tested.

Related Issues

Relates to #ISSUE_ID
Discussion: LINK (if any)

Screenshots/Demos (for UX changes)

Before:

No visual indicator
image

Unreadable error text
image

After:

Visual indicator added to labels
image

Error message styling fixed
image

The ScheduleModal had the error messages styled with danger border, background and text.
This meant that the messages were not able to be seen due to the red-on-red.

This has been addressed by removing the danger background style so that only the text is styled.

Additionally, the schedule name and source fields have been marked up in a similar way to the CreateRecipe modal.
Required fields have an explicit asterix `*` to give a visual indicator that they are required.

Signed-off-by: SteveO <steve.officer@gmail.com>
Copilot AI review requested due to automatic review settings May 16, 2026 12:50
@steveofficer steveofficer changed the title fix: ScheduleModule error message styling fix(desktop): ScheduleModule error message styling May 16, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the desktop Schedule modal UI to improve error readability and align required-field labeling with other modals (e.g., the recipe creation flow).

Changes:

  • Removes the “danger” background styling from Schedule modal error messages to avoid red-on-red unreadable text.
  • Adds explicit required-field asterisks to the Schedule name and Source labels for clearer UX consistency.

Comment on lines +242 to +244
<label className={modalLabelClassName}>
{intl.formatMessage(i18n.sourceLabel)} <span className="text-red-500">*</span>
</label>
@steveofficer steveofficer changed the title fix(desktop): ScheduleModule error message styling fix(desktop): ScheduleModal error message styling May 17, 2026
Copy link
Copy Markdown
Collaborator

@DOsinga DOsinga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for this!

@DOsinga DOsinga added this pull request to the merge queue May 18, 2026
Merged via the queue into aaif-goose:main with commit 49ffcf4 May 18, 2026
23 of 24 checks passed
@steveofficer steveofficer deleted the fix-schedule-modal-styles branch May 18, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants