Skip to content

[ENG-4030] fix(InstallIntegration): polish API error/remedy display and callout spacing#1616

Open
dionlow wants to merge 3 commits into
mainfrom
fix/error-remedy-ui-cleanup
Open

[ENG-4030] fix(InstallIntegration): polish API error/remedy display and callout spacing#1616
dionlow wants to merge 3 commits into
mainfrom
fix/error-remedy-ui-cleanup

Conversation

@dionlow

@dionlow dionlow commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove the visible [Remedy] token from user-facing error text by serializing API detail/remedy with an internal delimiter and rendering them via a shared ProblemMessage component
  • Show remedy under a "How to fix" label with clear visual separation from the error detail
  • Add spacing between the save-error callout and the read-object success callout in the Configure UI (marginBottom on FormErrorBox, column gap in ReadFields)

Test plan

  • Trigger a Configure save error with both detail and remedy on a Salesforce object tab — confirm no [Remedy] token, remedy appears under "How to fix", and there is clear space before "Reading from … is enabled."
formerrorbox-test

Dion Low and others added 3 commits June 24, 2026 10:29
Replace the visible [Remedy] token with a shared ProblemMessage component
that renders detail and remedy separately, and add spacing between save
errors and the read-object success callout in the Configure UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
Drop shared apiProblem util and ProblemMessage component. Keep remedy
rendering inline in FormErrorBox and spacing changes in Configure.

Co-authored-by: Cursor <cursoragent@cursor.com>
Remedy was only ever prefixed by the frontend; new errors use the
internal delimiter from handleServerError.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dionlow dionlow force-pushed the fix/error-remedy-ui-cleanup branch from fbcc1e9 to 2ea4a7c Compare June 24, 2026 17:29
@dionlow dionlow changed the title fix(Configure): polish API error/remedy display and callout spacing fix(InstallIntegration): polish API error/remedy display and callout spacing Jun 24, 2026
@dionlow dionlow requested a review from AmandaYao00 June 24, 2026 18:38
@dionlow dionlow changed the title fix(InstallIntegration): polish API error/remedy display and callout spacing [ENG-4030] fix(InstallIntegration): polish API error/remedy display and callout spacing Jun 24, 2026
@linear

linear Bot commented Jun 24, 2026

Copy link
Copy Markdown

ENG-4030

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.

2 participants