You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fadff0e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(integrations): keep the Atlassian coverage hint visible, and trim dead surface (#6105)
* fix(integrations): keep the Atlassian coverage hint visible, and trim comments
Cursor Bugbot: `ChipModalField` hides a `hint` whenever that field shows an
`error`, so the multi-product coverage sentence vanished the moment the domain
format check fired — exactly when someone mid-form most needs it. The sentence
also describes the token, not the domain, so it read as domain guidance.
Moves it to the API token field, which surfaces its errors through
`ChipModalError` at the bottom rather than its own `error` prop, so the hint
cannot be displaced.
Also drops rationale comments that restated the code they sat above.
* chore(integrations): trim the credential-display barrel to what consumers use
* fix(emcn): let a custom modal field associate its hint with the control it wraps
`ChipModalField` computes `aria-required`/`aria-invalid`/`aria-describedby` from
its own state, but `type='custom'` returned its children untouched — so the
`hint` and `error` text it renders was visible and never announced. The field
cannot apply the ARIA itself here: a custom child may be a bare input or a
wrapper several levels above one, which is the same reason `associatesLabel`
already excludes custom from the label's `htmlFor`.
Adds a function form for custom children that receives the ARIA, so the
consumer — which knows where focus lands — attaches it. Existing `ReactNode`
children are unaffected; all five current custom-field call sites keep working
untouched.
Uses it for the Atlassian API token field, whose coverage hint this branch had
just relocated onto a custom field.
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/integrations/components/connect-service-account-modal/connect-service-account-modal.tsx
+23-20Lines changed: 23 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -62,10 +62,11 @@ function openDocs(url: string): void {
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/integrations/components/connect-service-account-modal/use-service-account-connect.ts
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/integrations/connected/[credentialId]/connected-credential-detail.tsx
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -96,12 +96,6 @@ export function ConnectedCredentialDetail({
96
96
[oauthServiceNameByProviderId]
97
97
)
98
98
99
-
/**
100
-
* Service, brand tile, and copy all come from the shared resolver so this
101
-
* page, the integrations list, and the Cmd-K search agree on how a credential
102
-
* is named and branded — a family service account reads as its family
103
-
* ("Atlassian"), not as whichever product the provider walk happened to hit.
0 commit comments