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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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

@DOsinga DOsinga left a comment

Copy link
Copy Markdown
Collaborator

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
michaelneale added a commit that referenced this pull request May 19, 2026
* origin/main: (160 commits)
  Add Linux musl CLI builds (#9240)
  feat(acp): paginate session list (#9199)
  docs: reorganize (#9310)
  Structured per-provider config block, non-destructive provider switching (#8977)
  feat(cli): add `goose review` local code review command (#9114)
  feat(tui): diff viewer (#9260)
  fix(otel): emit trace_output as span attribute instead of event (#9255)
  docs: add guide for connecting goose Desktop to a remote goosed server (#9275)
  fix(config): check file fallback when keyring has no entry (#9279)
  fix(desktop): ScheduleModal error message styling (#9278)
  fix(ui): align sidebar hamburger in macOS fullscreen (#9257)
  Add documentation for new provider SaladCloud AI Gateway (#9253)
  fix: use current_exe() instead of PATH lookup when spawning goose (#9236)
  fix(extension_manager): set TCP_USER_TIMEOUT on streamable HTTP clients (#9207)
  fix: activate custom provider after adding via configure (#9213)
  Flush OTLP traces reliably on exit with configurable timeout (#9228)
  fix: reduce excessive MISSING_TRANSLATION warnings for fallback locales (#9294)
  feat(acp): pass session cwd param to acp providers (#9229)
  fix(desktop): eliminate cross-window deep link contamination (#9273)
  fix: improve Telegram gateway error reporting and connection reliability (#9223)
  ...

Signed-off-by: Michael Neale <michael.neale@gmail.com>

# Conflicts:
#	crates/goose/src/agents/agent.rs
#	crates/goose/tests/agent.rs
lifeizhou-ap added a commit that referenced this pull request May 20, 2026
* main: (70 commits)
  Feat/summon subagent instructions (#9325)
  feat: open-plugins generalization + skills (#9112)
  feat(hooks): PreToolUse denial (#9304)
  Add support for optional api_key configuration for declarative openai-engine providers (#9202)
  fix(cli): use plain '> ' prompt instead of goose emoji (#9305)
  flag for login shell PATH (#9313)
  Remove popular chat topics from new chat screen (#9307)
  fix: stop killing goosed when a window closes (#9302)
  Remove vendored Windows binaries (#9318)
  Add Linux musl CLI builds (#9240)
  feat(acp): paginate session list (#9199)
  docs: reorganize (#9310)
  Structured per-provider config block, non-destructive provider switching (#8977)
  feat(cli): add `goose review` local code review command (#9114)
  feat(tui): diff viewer (#9260)
  fix(otel): emit trace_output as span attribute instead of event (#9255)
  docs: add guide for connecting goose Desktop to a remote goosed server (#9275)
  fix(config): check file fallback when keyring has no entry (#9279)
  fix(desktop): ScheduleModal error message styling (#9278)
  fix(ui): align sidebar hamburger in macOS fullscreen (#9257)
  ...
shafqatevo pushed a commit to shafqatevo/goose that referenced this pull request Aug 7, 2026
Signed-off-by: SteveO <steve.officer@gmail.com>
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