[Cases] ServiceNow connectors UI changes#114234
Conversation
mdefazio
left a comment
There was a problem hiding this comment.
Thanks for making those edits!
|
@elasticmachine merge upstream |
gchaps
left a comment
There was a problem hiding this comment.
Other copy suggestions:
Deprecation callout
Title: This connector type is deprecated
Description: Update this connector or create a new one.
ServiceNowInstance URL
Add ending period to this sentence: Include the full URL.
Authentication
You must authenticate each time you edit the connector.
Malware Hashes
Sentence case? Malware hashes
...ons_ui/public/application/components/builtin_action_types/servicenow/credentials_api_url.tsx
Outdated
Show resolved
Hide resolved
...ers_actions_ui/public/application/components/builtin_action_types/servicenow/translations.ts
Outdated
Show resolved
Hide resolved
...ctions_ui/public/application/components/builtin_action_types/servicenow/update_connector.tsx
Outdated
Show resolved
Hide resolved
...ctions_ui/public/application/components/builtin_action_types/servicenow/update_connector.tsx
Outdated
Show resolved
Hide resolved
| children: ( | ||
| <FormattedMessage | ||
| id="xpack.triggersActionsUI.components.builtinActionTypes.serviceNowAction.serviceNowAppRunning" | ||
| defaultMessage="The Elastic App from the ServiceNow App Store must be installed prior to running the update. {visitLink} to install the app" |
There was a problem hiding this comment.
How about:
Go to the ServiceNow app store to install the Elastic app.
where "ServiceNow app store" is the link.
There was a problem hiding this comment.
Thanks for the comments here @gchaps , our thinking for this was to provide the link to the app store prominently since it's a requirement to use the connector—so I'd like to try and keep that if possible.
Are you ok merging this as is and then doing a fix post FF so we don't block them?
There was a problem hiding this comment.
Oh, i like this design. Here is a suggestion for the text, including ending period and consistent capitalization for ServiceNow App Store.
To use this connector, first install the Elastic app from the ServiceNow app store.
| color="warning" | ||
| title={i18n.translate( | ||
| 'xpack.triggersActionsUI.sections.actionsConnectorsList.connectorsListTable.columns.actions.legacyConnectorTitle', | ||
| { defaultMessage: 'Deprecated connector' } |
There was a problem hiding this comment.
how about making this text similar to the deprecation message in the callout. Also as this is a tooltip, how about putting it all together instead of title & description.
This connector is deprecated. Update it or create a new one.
There was a problem hiding this comment.
Sounds good! I'm all for making it more succinct!
b35ae77 to
2937675
Compare
…kibana into 1769_connectors_ui_changes
…nto 1769_connectors_ui_changes
x-pack/plugins/cases/public/components/configure_cases/translations.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/cases/public/components/connectors/deprecated_callout.tsx
Outdated
Show resolved
Hide resolved
...ers_actions_ui/public/application/components/builtin_action_types/servicenow/translations.ts
Outdated
Show resolved
Hide resolved
| children: ( | ||
| <FormattedMessage | ||
| id="xpack.triggersActionsUI.components.builtinActionTypes.serviceNowAction.serviceNowAppRunning" | ||
| defaultMessage="The Elastic App from the ServiceNow App Store must be installed prior to running the update. {visitLink} to install the app" |
There was a problem hiding this comment.
Oh, i like this design. Here is a suggestion for the text, including ending period and consistent capitalization for ServiceNow App Store.
To use this connector, first install the Elastic app from the ServiceNow app store.
...i/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx
Outdated
Show resolved
Hide resolved
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @semd |
* POC * Before and after saving connector callbacks * Draft callbacks on SN * Migrate legacy connectors * Add deprecated connector * Fix callbacks types * Pass isEdit to connector forms * Get application info hook * Validate instance on save * Support both legacy and new app * Seperate SIR * Log application version & and throw otherwise * Deprecated tooltip cases * Deprecated tooltip alerts * Improve message * Improve translation * Change to elastic table & fix types * Add callbacks to add modal * Pass new props to tests * Change health api url to production * Better installation message * Migrate connectors functionality * Change migration version to 7.16 * Fix bug * Improve message * Use feature flag * Create credentials component * Add form to migration modal * Improve installation callout * Improve deprecated callout * Improve modal * Improve application required modal * Improve SN form * Support both connectors * Support correlation attributes * Use same component for SIR * Prevent using legacy connectors when creating a case * Add observables * Unique observables * Push only if there are observables * Change labels to plural * Pass correlation ID and value * Show errors on the callout * Improve alerts tooltip * Improve cases tooltip * Warning callout on cases configuration page * Fix tooltip content * Add help text * Change from string to array * Fix i18n * Fix spelling * Update incidents for ITSM * Update incidents for SIR * Fix types * Fix backend tests * Fix frontend tests * Add service tests * Fix i18n * Fix cypress test * Improve ServiceNow intergration tests * Fix cases integration tests * Fix triggers actions ui end to end test * Fix tests * Rename modal * Show error message on modal * Create useOldConnector helper * Show the update incident toggle only on new connectors * Add observables for old connectors * Fix error when obs are empty * Enable SIR for alerts * Fix types * Improve combineObservables * Add test for the sir api * Add test for the sir service * Add documentation * PR feedback * Improve cases deprecated callouts * Improve observables format * Add integration tests for SIR * Fix doc error * Add config tests * Add getIncident tests * Add util tests * Add migration tests * Add tests for connectors and improve callouts * Add more tests * Add more UI tests * update connector modal to flyout * PR feedback * Test CI * restore auth callout * edit connector form spacing * Improve integration tests * Add 8 pixels to the left of the connector icon * update switch to checkboxes * case detail ui * Seperate ServiceNow integration tests * Remove observables fields * Add correlation values * Fix merge * add deprecated text in the dropdown * update card icon to the right * new update connetor test and other tests fixes * PR feedback * Remove observables from docs * Remove unused translations * Using eui theme for styling * Content feeback * Add more unit tests * Fix i18n * Fix types * Fixes * Fixes * test properly * fix duplicated translation * Simplify tooltip * Writing feedback Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* POC * Before and after saving connector callbacks * Draft callbacks on SN * Migrate legacy connectors * Add deprecated connector * Fix callbacks types * Pass isEdit to connector forms * Get application info hook * Validate instance on save * Support both legacy and new app * Seperate SIR * Log application version & and throw otherwise * Deprecated tooltip cases * Deprecated tooltip alerts * Improve message * Improve translation * Change to elastic table & fix types * Add callbacks to add modal * Pass new props to tests * Change health api url to production * Better installation message * Migrate connectors functionality * Change migration version to 7.16 * Fix bug * Improve message * Use feature flag * Create credentials component * Add form to migration modal * Improve installation callout * Improve deprecated callout * Improve modal * Improve application required modal * Improve SN form * Support both connectors * Support correlation attributes * Use same component for SIR * Prevent using legacy connectors when creating a case * Add observables * Unique observables * Push only if there are observables * Change labels to plural * Pass correlation ID and value * Show errors on the callout * Improve alerts tooltip * Improve cases tooltip * Warning callout on cases configuration page * Fix tooltip content * Add help text * Change from string to array * Fix i18n * Fix spelling * Update incidents for ITSM * Update incidents for SIR * Fix types * Fix backend tests * Fix frontend tests * Add service tests * Fix i18n * Fix cypress test * Improve ServiceNow intergration tests * Fix cases integration tests * Fix triggers actions ui end to end test * Fix tests * Rename modal * Show error message on modal * Create useOldConnector helper * Show the update incident toggle only on new connectors * Add observables for old connectors * Fix error when obs are empty * Enable SIR for alerts * Fix types * Improve combineObservables * Add test for the sir api * Add test for the sir service * Add documentation * PR feedback * Improve cases deprecated callouts * Improve observables format * Add integration tests for SIR * Fix doc error * Add config tests * Add getIncident tests * Add util tests * Add migration tests * Add tests for connectors and improve callouts * Add more tests * Add more UI tests * update connector modal to flyout * PR feedback * Test CI * restore auth callout * edit connector form spacing * Improve integration tests * Add 8 pixels to the left of the connector icon * update switch to checkboxes * case detail ui * Seperate ServiceNow integration tests * Remove observables fields * Add correlation values * Fix merge * add deprecated text in the dropdown * update card icon to the right * new update connetor test and other tests fixes * PR feedback * Remove observables from docs * Remove unused translations * Using eui theme for styling * Content feeback * Add more unit tests * Fix i18n * Fix types * Fixes * Fixes * test properly * fix duplicated translation * Simplify tooltip * Writing feedback Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co> Co-authored-by: Sergi Massaneda <sergi.massaneda@elastic.co> Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co> Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>



Summary
Design improvements for #105440
Design ticket: https://github.com/elastic/stack-design-team/issues/109
Design Round 2: https://whimsical.com/servicenow-certification-ux-updates-FtUbWGLgxXppnWNSnwabwu
List of changes:
Connector's list:
Edit connector form:
Update connector form:
Dropdown deprecated connectors updated:
Edit connector in case:
Connector's parameters form:
ITSM:

SIR:

Checklist
Delete any items that are not applicable to this PR.
For maintainers