@atlaskit/link-datasource 4.19.8 → 4.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/cjs/i18n/en.js +3 -0
- package/dist/cjs/i18n/en_GB.js +3 -0
- package/dist/cjs/i18n/en_ZZ.js +3 -0
- package/dist/cjs/ui/common/error-state/messages.js +5 -0
- package/dist/cjs/ui/common/error-state/provider-auth-required.js +2 -1
- package/dist/es2019/i18n/en.js +3 -0
- package/dist/es2019/i18n/en_GB.js +3 -0
- package/dist/es2019/i18n/en_ZZ.js +3 -0
- package/dist/es2019/ui/common/error-state/messages.js +5 -0
- package/dist/es2019/ui/common/error-state/provider-auth-required.js +2 -1
- package/dist/esm/i18n/en.js +3 -0
- package/dist/esm/i18n/en_GB.js +3 -0
- package/dist/esm/i18n/en_ZZ.js +3 -0
- package/dist/esm/ui/common/error-state/messages.js +5 -0
- package/dist/esm/ui/common/error-state/provider-auth-required.js +2 -1
- package/dist/types/analytics/ufoExperiences/hooks/useDataRenderedUfoExperience.d.ts +3 -3
- package/dist/types/analytics/ufoExperiences/types.d.ts +3 -3
- package/dist/types/common/types.d.ts +11 -11
- package/dist/types/common/ui/common/render-svg.d.ts +2 -2
- package/dist/types/hooks/useAssetsClient.d.ts +3 -3
- package/dist/types/hooks/useDatasourceTableFlag.d.ts +1 -1
- package/dist/types/hooks/useDatasourceTableState.d.ts +21 -21
- package/dist/types/hooks/useLoadOptions.d.ts +2 -2
- package/dist/types/hooks/useObjectSchemas.d.ts +3 -3
- package/dist/types/hooks/useValidateAqlText.d.ts +2 -2
- package/dist/types/i18n/en.d.ts +3 -0
- package/dist/types/i18n/en_GB.d.ts +3 -0
- package/dist/types/i18n/en_ZZ.d.ts +3 -0
- package/dist/types/services/useBasicFilterAGG.d.ts +1 -1
- package/dist/types/state/index.d.ts +1 -1
- package/dist/types/types/assets/types.d.ts +4 -4
- package/dist/types/ui/assets-modal/modal/render-assets-content/index.d.ts +10 -10
- package/dist/types/ui/assets-modal/search-container/aql-search-input/index.d.ts +2 -2
- package/dist/types/ui/assets-modal/search-container/index.d.ts +4 -4
- package/dist/types/ui/assets-modal/search-container/object-schema-select/index.d.ts +3 -3
- package/dist/types/ui/assets-modal/types.d.ts +1 -1
- package/dist/types/ui/common/error-state/messages.d.ts +5 -0
- package/dist/types/ui/common/error-state/no-instances.d.ts +1 -1
- package/dist/types/ui/common/error-state/provider-auth-required.d.ts +3 -3
- package/dist/types/ui/common/initial-state-view/index.d.ts +3 -3
- package/dist/types/ui/common/modal/basic-search-input/index.d.ts +2 -2
- package/dist/types/ui/common/modal/datasource-context/index.d.ts +4 -4
- package/dist/types/ui/common/modal/datasource-modal/createDatasourceModal.d.ts +2 -2
- package/dist/types/ui/common/modal/datasources-table-in-modal-preview/use-column-visibility/index.d.ts +2 -2
- package/dist/types/ui/common/modal/insert-button/index.d.ts +1 -1
- package/dist/types/ui/common/modal/mode-switcher/index.d.ts +3 -3
- package/dist/types/ui/common/modal/mode-switcher/useViewModeContext.d.ts +3 -3
- package/dist/types/ui/common/modal/popup-select/footer.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/index.d.ts +10 -10
- package/dist/types/ui/common/modal/popup-select/menu-list/errorMessage.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/menu-list/index.d.ts +5 -5
- package/dist/types/ui/common/modal/popup-select/menu-list/selectMessage.d.ts +1 -1
- package/dist/types/ui/common/modal/popup-select/menu-list/showMoreButton.d.ts +2 -2
- package/dist/types/ui/common/modal/popup-select/trigger.d.ts +4 -4
- package/dist/types/ui/common/modal/popup-select/types.d.ts +7 -7
- package/dist/types/ui/common/modal/search-count/index.d.ts +2 -2
- package/dist/types/ui/common/modal/site-selector/index.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.d.ts +2 -2
- package/dist/types/ui/confluence-search-modal/basic-filters/filters/edited-or-created-by/index.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/hooks/useBasicFilterHydration.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/hooks/useCurrentUserInfo.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/basic-filters/hooks/useRecommendation.d.ts +3 -3
- package/dist/types/ui/confluence-search-modal/basic-filters/index.d.ts +2 -2
- package/dist/types/ui/confluence-search-modal/confluence-search-container/index.d.ts +1 -1
- package/dist/types/ui/confluence-search-modal/types.d.ts +7 -7
- package/dist/types/ui/datasource-table-view/datasourceTableView.d.ts +2 -2
- package/dist/types/ui/issue-like-table/column-picker/types.d.ts +2 -2
- package/dist/types/ui/issue-like-table/drag-column-preview.d.ts +1 -1
- package/dist/types/ui/issue-like-table/draggable-table-heading.d.ts +5 -5
- package/dist/types/ui/issue-like-table/edit-type/icon/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/edit-type/index.d.ts +2 -2
- package/dist/types/ui/issue-like-table/edit-type/status/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/edit-type/user/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/date-time/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/number/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/render-type/user/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/shared-components/icon/index.d.ts +4 -4
- package/dist/types/ui/issue-like-table/table-cell-content/index.d.ts +1 -1
- package/dist/types/ui/issue-like-table/table-cell-content/inline-edit.d.ts +1 -1
- package/dist/types/ui/issue-like-table/types.d.ts +29 -29
- package/dist/types/ui/jira-issues-modal/basic-filters/hooks/useFilterOptions.d.ts +4 -4
- package/dist/types/ui/jira-issues-modal/basic-filters/hooks/useHydrateJqlQuery.d.ts +1 -1
- package/dist/types/ui/jira-issues-modal/basic-filters/types.d.ts +8 -8
- package/dist/types/ui/jira-issues-modal/basic-filters/ui/async-popup-select/index.d.ts +2 -2
- package/dist/types/ui/jira-issues-modal/basic-filters/ui/index.d.ts +3 -3
- package/dist/types/ui/jira-issues-modal/jira-search-container/buildJQL.d.ts +2 -2
- package/dist/types/ui/jira-issues-modal/jira-search-container/index.d.ts +2 -2
- package/dist/types/ui/table-footer/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/ufoExperiences/hooks/useDataRenderedUfoExperience.d.ts +3 -3
- package/dist/types-ts4.5/analytics/ufoExperiences/types.d.ts +3 -3
- package/dist/types-ts4.5/common/types.d.ts +11 -11
- package/dist/types-ts4.5/common/ui/common/render-svg.d.ts +2 -2
- package/dist/types-ts4.5/hooks/useAssetsClient.d.ts +3 -3
- package/dist/types-ts4.5/hooks/useDatasourceTableFlag.d.ts +1 -1
- package/dist/types-ts4.5/hooks/useDatasourceTableState.d.ts +21 -21
- package/dist/types-ts4.5/hooks/useLoadOptions.d.ts +2 -2
- package/dist/types-ts4.5/hooks/useObjectSchemas.d.ts +3 -3
- package/dist/types-ts4.5/hooks/useValidateAqlText.d.ts +2 -2
- package/dist/types-ts4.5/i18n/en.d.ts +3 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +3 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +3 -0
- package/dist/types-ts4.5/services/useBasicFilterAGG.d.ts +1 -1
- package/dist/types-ts4.5/state/index.d.ts +1 -1
- package/dist/types-ts4.5/types/assets/types.d.ts +4 -4
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/index.d.ts +10 -10
- package/dist/types-ts4.5/ui/assets-modal/search-container/aql-search-input/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/assets-modal/search-container/index.d.ts +4 -4
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/assets-modal/types.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/error-state/messages.d.ts +5 -0
- package/dist/types-ts4.5/ui/common/error-state/no-instances.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/error-state/provider-auth-required.d.ts +3 -3
- package/dist/types-ts4.5/ui/common/initial-state-view/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/common/modal/basic-search-input/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/common/modal/datasource-context/index.d.ts +4 -4
- package/dist/types-ts4.5/ui/common/modal/datasource-modal/createDatasourceModal.d.ts +2 -2
- package/dist/types-ts4.5/ui/common/modal/datasources-table-in-modal-preview/use-column-visibility/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/common/modal/insert-button/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/modal/mode-switcher/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/common/modal/mode-switcher/useViewModeContext.d.ts +3 -3
- package/dist/types-ts4.5/ui/common/modal/popup-select/footer.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/modal/popup-select/index.d.ts +10 -10
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/errorMessage.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/index.d.ts +5 -5
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/selectMessage.d.ts +1 -1
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/showMoreButton.d.ts +2 -2
- package/dist/types-ts4.5/ui/common/modal/popup-select/trigger.d.ts +4 -4
- package/dist/types-ts4.5/ui/common/modal/popup-select/types.d.ts +7 -7
- package/dist/types-ts4.5/ui/common/modal/search-count/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/common/modal/site-selector/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.d.ts +2 -2
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/edited-or-created-by/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/hooks/useBasicFilterHydration.d.ts +1 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/hooks/useCurrentUserInfo.d.ts +1 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/hooks/useRecommendation.d.ts +3 -3
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/confluence-search-modal/confluence-search-container/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/confluence-search-modal/types.d.ts +7 -7
- package/dist/types-ts4.5/ui/datasource-table-view/datasourceTableView.d.ts +2 -2
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/types.d.ts +2 -2
- package/dist/types-ts4.5/ui/issue-like-table/drag-column-preview.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/draggable-table-heading.d.ts +5 -5
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/icon/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/status/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/user/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/render-type/date-time/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/render-type/number/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/render-type/user/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/shared-components/icon/index.d.ts +4 -4
- package/dist/types-ts4.5/ui/issue-like-table/table-cell-content/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/table-cell-content/inline-edit.d.ts +1 -1
- package/dist/types-ts4.5/ui/issue-like-table/types.d.ts +29 -29
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/hooks/useFilterOptions.d.ts +4 -4
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/hooks/useHydrateJqlQuery.d.ts +1 -1
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/types.d.ts +8 -8
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/ui/async-popup-select/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/ui/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/buildJQL.d.ts +2 -2
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/table-footer/index.d.ts +1 -1
- package/examples-helpers/buildAssetsIssuesTable.tsx +2 -2
- package/examples-helpers/buildConfluenceSearchTable.tsx +1 -1
- package/examples-helpers/buildIssueLikeTable.tsx +4 -4
- package/examples-helpers/buildJiraIssuesTable.tsx +2 -2
- package/package.json +9 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 4.20.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1b7d48c39ae03`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1b7d48c39ae03) -
|
|
8
|
+
Sorted type and interface props to improve Atlaskit docs
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 4.20.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`cdc1b340de640`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cdc1b340de640) -
|
|
16
|
+
Product/App term refresh
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 4.19.8
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -40,6 +40,7 @@ var _default = exports.default = {
|
|
|
40
40
|
'linkDataSource.basic-filter.no-options-message': "We couldn't find anything matching your search",
|
|
41
41
|
'linkDataSource.basic-filter.no-options-message-old': 'No matches found',
|
|
42
42
|
'linkDataSource.basic-filter.project.label': 'Project',
|
|
43
|
+
'linkDataSource.basic-filter.project.label-galaxia': 'Space',
|
|
43
44
|
'linkDataSource.basic-filter.project.searchPlaceholder': 'Search for projects',
|
|
44
45
|
'linkDataSource.basic-filter.showMoreButton': 'Show more',
|
|
45
46
|
'linkDataSource.basic-filter.status.label': 'Status',
|
|
@@ -86,6 +87,7 @@ var _default = exports.default = {
|
|
|
86
87
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
87
88
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
88
89
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
90
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
89
91
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
90
92
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
91
93
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
|
@@ -94,6 +96,7 @@ var _default = exports.default = {
|
|
|
94
96
|
'linkDataSource.issue-line-table.error-generic-description': 'We had an issue trying to complete the update. Wait a few minutes, then try again. Contact support if this keeps happening.',
|
|
95
97
|
'linkDataSource.issue-line-table.error-generic-title': 'Something went wrong',
|
|
96
98
|
'linkDataSource.issue-line-table.fetch-action-error-generic-description': 'Wait a few minutes, then try again. Check your project settings or contact support if this keeps happening.',
|
|
99
|
+
'linkDataSource.issue-line-table.fetch-action-error-generic-description-galaxia': 'Wait a few minutes, then try again. Check your space settings or contact support if this keeps happening.',
|
|
97
100
|
'linkDataSource.issue-line-table.fetch-action-error-generic-title': 'We’re having trouble fetching options',
|
|
98
101
|
'linkDataSource.issue-line-table.unwrap-text': 'Unwrap text',
|
|
99
102
|
'linkDataSource.issue-line-table.wrap-text': 'Wrap text',
|
package/dist/cjs/i18n/en_GB.js
CHANGED
|
@@ -40,6 +40,7 @@ var _default = exports.default = {
|
|
|
40
40
|
'linkDataSource.basic-filter.no-options-message': "We couldn't find anything matching your search",
|
|
41
41
|
'linkDataSource.basic-filter.no-options-message-old': 'No matches found',
|
|
42
42
|
'linkDataSource.basic-filter.project.label': 'Project',
|
|
43
|
+
'linkDataSource.basic-filter.project.label-galaxia': 'Space',
|
|
43
44
|
'linkDataSource.basic-filter.project.searchPlaceholder': 'Search for projects',
|
|
44
45
|
'linkDataSource.basic-filter.showMoreButton': 'Show more',
|
|
45
46
|
'linkDataSource.basic-filter.status.label': 'Status',
|
|
@@ -86,6 +87,7 @@ var _default = exports.default = {
|
|
|
86
87
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
87
88
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
88
89
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
90
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
89
91
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
90
92
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
91
93
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
|
@@ -94,6 +96,7 @@ var _default = exports.default = {
|
|
|
94
96
|
'linkDataSource.issue-line-table.error-generic-description': 'We had an issue trying to complete the update. Wait a few minutes, then try again. Contact support if this keeps happening.',
|
|
95
97
|
'linkDataSource.issue-line-table.error-generic-title': 'Something went wrong',
|
|
96
98
|
'linkDataSource.issue-line-table.fetch-action-error-generic-description': 'Wait a few minutes, then try again. Check your project settings or contact support if this keeps happening.',
|
|
99
|
+
'linkDataSource.issue-line-table.fetch-action-error-generic-description-galaxia': 'Wait a few minutes, then try again. Check your space settings or contact support if this keeps happening.',
|
|
97
100
|
'linkDataSource.issue-line-table.fetch-action-error-generic-title': 'We’re having trouble fetching options',
|
|
98
101
|
'linkDataSource.issue-line-table.unwrap-text': 'Unwrap text',
|
|
99
102
|
'linkDataSource.issue-line-table.wrap-text': 'Wrap text',
|
package/dist/cjs/i18n/en_ZZ.js
CHANGED
|
@@ -40,6 +40,7 @@ var _default = exports.default = {
|
|
|
40
40
|
'linkDataSource.basic-filter.no-options-message': "We couldn't find anything matching your search",
|
|
41
41
|
'linkDataSource.basic-filter.no-options-message-old': 'No matches found',
|
|
42
42
|
'linkDataSource.basic-filter.project.label': 'Project',
|
|
43
|
+
'linkDataSource.basic-filter.project.label-galaxia': 'Space',
|
|
43
44
|
'linkDataSource.basic-filter.project.searchPlaceholder': 'Search for projects',
|
|
44
45
|
'linkDataSource.basic-filter.showMoreButton': 'Show more',
|
|
45
46
|
'linkDataSource.basic-filter.status.label': 'Status',
|
|
@@ -86,6 +87,7 @@ var _default = exports.default = {
|
|
|
86
87
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
87
88
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
88
89
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
90
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
89
91
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
90
92
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
91
93
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
|
@@ -94,6 +96,7 @@ var _default = exports.default = {
|
|
|
94
96
|
'linkDataSource.issue-line-table.error-generic-description': 'We had an issue trying to complete the update. Wait a few minutes, then try again. Contact support if this keeps happening.',
|
|
95
97
|
'linkDataSource.issue-line-table.error-generic-title': 'Something went wrong',
|
|
96
98
|
'linkDataSource.issue-line-table.fetch-action-error-generic-description': 'Wait a few minutes, then try again. Check your project settings or contact support if this keeps happening.',
|
|
99
|
+
'linkDataSource.issue-line-table.fetch-action-error-generic-description-galaxia': 'Wait a few minutes, then try again. Check your space settings or contact support if this keeps happening.',
|
|
97
100
|
'linkDataSource.issue-line-table.fetch-action-error-generic-title': 'We’re having trouble fetching options',
|
|
98
101
|
'linkDataSource.issue-line-table.unwrap-text': 'Unwrap text',
|
|
99
102
|
'linkDataSource.issue-line-table.wrap-text': 'Wrap text',
|
|
@@ -116,5 +116,10 @@ var loadingErrorMessages = exports.loadingErrorMessages = (0, _reactIntlNext.def
|
|
|
116
116
|
id: 'linkDataSource.datasource.table.authConnectButtonText',
|
|
117
117
|
defaultMessage: 'Connect',
|
|
118
118
|
description: 'Label for the authentication button.'
|
|
119
|
+
},
|
|
120
|
+
authScreenDescriptionTextAppify: {
|
|
121
|
+
id: 'linkDataSource.datasource.table.authScreenDescriptionText-appify',
|
|
122
|
+
defaultMessage: 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
123
|
+
description: 'Description text to be displayed in the auth screen UI.'
|
|
119
124
|
}
|
|
120
125
|
});
|
|
@@ -17,6 +17,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
17
17
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
18
18
|
var _emptyState = _interopRequireDefault(require("@atlaskit/empty-state"));
|
|
19
19
|
var _outboundAuthFlowClient = require("@atlaskit/outbound-auth-flow-client");
|
|
20
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
20
21
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
21
22
|
var _analytics = require("../../../analytics");
|
|
22
23
|
var _useErrorLogger2 = _interopRequireDefault(require("../../../hooks/useErrorLogger"));
|
|
@@ -87,7 +88,7 @@ var ProviderAuthRequired = exports.ProviderAuthRequired = function ProviderAuthR
|
|
|
87
88
|
};
|
|
88
89
|
}();
|
|
89
90
|
var renderAuthDescription = function renderAuthDescription() {
|
|
90
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, formatMessage(_messages.loadingErrorMessages.authScreenDescriptionText, {
|
|
91
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, formatMessage((0, _platformFeatureFlags.fg)('product-terminology-refresh') ? _messages.loadingErrorMessages.authScreenDescriptionTextAppify : _messages.loadingErrorMessages.authScreenDescriptionText, {
|
|
91
92
|
providerName: providerName
|
|
92
93
|
}), ' ', /*#__PURE__*/_react.default.createElement(_compiled.Anchor, {
|
|
93
94
|
href: learnMoreAboutSmartLinksUrl,
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -34,6 +34,7 @@ export default {
|
|
|
34
34
|
'linkDataSource.basic-filter.no-options-message': "We couldn't find anything matching your search",
|
|
35
35
|
'linkDataSource.basic-filter.no-options-message-old': 'No matches found',
|
|
36
36
|
'linkDataSource.basic-filter.project.label': 'Project',
|
|
37
|
+
'linkDataSource.basic-filter.project.label-galaxia': 'Space',
|
|
37
38
|
'linkDataSource.basic-filter.project.searchPlaceholder': 'Search for projects',
|
|
38
39
|
'linkDataSource.basic-filter.showMoreButton': 'Show more',
|
|
39
40
|
'linkDataSource.basic-filter.status.label': 'Status',
|
|
@@ -80,6 +81,7 @@ export default {
|
|
|
80
81
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
81
82
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
82
83
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
84
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
83
85
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
84
86
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
85
87
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
|
@@ -88,6 +90,7 @@ export default {
|
|
|
88
90
|
'linkDataSource.issue-line-table.error-generic-description': 'We had an issue trying to complete the update. Wait a few minutes, then try again. Contact support if this keeps happening.',
|
|
89
91
|
'linkDataSource.issue-line-table.error-generic-title': 'Something went wrong',
|
|
90
92
|
'linkDataSource.issue-line-table.fetch-action-error-generic-description': 'Wait a few minutes, then try again. Check your project settings or contact support if this keeps happening.',
|
|
93
|
+
'linkDataSource.issue-line-table.fetch-action-error-generic-description-galaxia': 'Wait a few minutes, then try again. Check your space settings or contact support if this keeps happening.',
|
|
91
94
|
'linkDataSource.issue-line-table.fetch-action-error-generic-title': 'We’re having trouble fetching options',
|
|
92
95
|
'linkDataSource.issue-line-table.unwrap-text': 'Unwrap text',
|
|
93
96
|
'linkDataSource.issue-line-table.wrap-text': 'Wrap text',
|
|
@@ -34,6 +34,7 @@ export default {
|
|
|
34
34
|
'linkDataSource.basic-filter.no-options-message': "We couldn't find anything matching your search",
|
|
35
35
|
'linkDataSource.basic-filter.no-options-message-old': 'No matches found',
|
|
36
36
|
'linkDataSource.basic-filter.project.label': 'Project',
|
|
37
|
+
'linkDataSource.basic-filter.project.label-galaxia': 'Space',
|
|
37
38
|
'linkDataSource.basic-filter.project.searchPlaceholder': 'Search for projects',
|
|
38
39
|
'linkDataSource.basic-filter.showMoreButton': 'Show more',
|
|
39
40
|
'linkDataSource.basic-filter.status.label': 'Status',
|
|
@@ -80,6 +81,7 @@ export default {
|
|
|
80
81
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
81
82
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
82
83
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
84
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
83
85
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
84
86
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
85
87
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
|
@@ -88,6 +90,7 @@ export default {
|
|
|
88
90
|
'linkDataSource.issue-line-table.error-generic-description': 'We had an issue trying to complete the update. Wait a few minutes, then try again. Contact support if this keeps happening.',
|
|
89
91
|
'linkDataSource.issue-line-table.error-generic-title': 'Something went wrong',
|
|
90
92
|
'linkDataSource.issue-line-table.fetch-action-error-generic-description': 'Wait a few minutes, then try again. Check your project settings or contact support if this keeps happening.',
|
|
93
|
+
'linkDataSource.issue-line-table.fetch-action-error-generic-description-galaxia': 'Wait a few minutes, then try again. Check your space settings or contact support if this keeps happening.',
|
|
91
94
|
'linkDataSource.issue-line-table.fetch-action-error-generic-title': 'We’re having trouble fetching options',
|
|
92
95
|
'linkDataSource.issue-line-table.unwrap-text': 'Unwrap text',
|
|
93
96
|
'linkDataSource.issue-line-table.wrap-text': 'Wrap text',
|
|
@@ -34,6 +34,7 @@ export default {
|
|
|
34
34
|
'linkDataSource.basic-filter.no-options-message': "We couldn't find anything matching your search",
|
|
35
35
|
'linkDataSource.basic-filter.no-options-message-old': 'No matches found',
|
|
36
36
|
'linkDataSource.basic-filter.project.label': 'Project',
|
|
37
|
+
'linkDataSource.basic-filter.project.label-galaxia': 'Space',
|
|
37
38
|
'linkDataSource.basic-filter.project.searchPlaceholder': 'Search for projects',
|
|
38
39
|
'linkDataSource.basic-filter.showMoreButton': 'Show more',
|
|
39
40
|
'linkDataSource.basic-filter.status.label': 'Status',
|
|
@@ -80,6 +81,7 @@ export default {
|
|
|
80
81
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
81
82
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
82
83
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
84
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
83
85
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
84
86
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
85
87
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
|
@@ -88,6 +90,7 @@ export default {
|
|
|
88
90
|
'linkDataSource.issue-line-table.error-generic-description': 'We had an issue trying to complete the update. Wait a few minutes, then try again. Contact support if this keeps happening.',
|
|
89
91
|
'linkDataSource.issue-line-table.error-generic-title': 'Something went wrong',
|
|
90
92
|
'linkDataSource.issue-line-table.fetch-action-error-generic-description': 'Wait a few minutes, then try again. Check your project settings or contact support if this keeps happening.',
|
|
93
|
+
'linkDataSource.issue-line-table.fetch-action-error-generic-description-galaxia': 'Wait a few minutes, then try again. Check your space settings or contact support if this keeps happening.',
|
|
91
94
|
'linkDataSource.issue-line-table.fetch-action-error-generic-title': 'We’re having trouble fetching options',
|
|
92
95
|
'linkDataSource.issue-line-table.unwrap-text': 'Unwrap text',
|
|
93
96
|
'linkDataSource.issue-line-table.wrap-text': 'Wrap text',
|
|
@@ -110,5 +110,10 @@ export const loadingErrorMessages = defineMessages({
|
|
|
110
110
|
id: 'linkDataSource.datasource.table.authConnectButtonText',
|
|
111
111
|
defaultMessage: 'Connect',
|
|
112
112
|
description: 'Label for the authentication button.'
|
|
113
|
+
},
|
|
114
|
+
authScreenDescriptionTextAppify: {
|
|
115
|
+
id: 'linkDataSource.datasource.table.authScreenDescriptionText-appify',
|
|
116
|
+
defaultMessage: 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
117
|
+
description: 'Description text to be displayed in the auth screen UI.'
|
|
113
118
|
}
|
|
114
119
|
});
|
|
@@ -6,6 +6,7 @@ import { useIntl } from 'react-intl-next';
|
|
|
6
6
|
import Button from '@atlaskit/button/new';
|
|
7
7
|
import EmptyState from '@atlaskit/empty-state';
|
|
8
8
|
import { AuthError, auth as outboundAuth } from '@atlaskit/outbound-auth-flow-client';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
10
|
import { Anchor, Box } from '@atlaskit/primitives/compiled';
|
|
10
11
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
11
12
|
import useErrorLogger from '../../../hooks/useErrorLogger';
|
|
@@ -58,7 +59,7 @@ export const ProviderAuthRequired = ({
|
|
|
58
59
|
onAuthError === null || onAuthError === void 0 ? void 0 : onAuthError();
|
|
59
60
|
}
|
|
60
61
|
};
|
|
61
|
-
const renderAuthDescription = () => /*#__PURE__*/React.createElement(React.Fragment, null, formatMessage(loadingErrorMessages.authScreenDescriptionText, {
|
|
62
|
+
const renderAuthDescription = () => /*#__PURE__*/React.createElement(React.Fragment, null, formatMessage(fg('product-terminology-refresh') ? loadingErrorMessages.authScreenDescriptionTextAppify : loadingErrorMessages.authScreenDescriptionText, {
|
|
62
63
|
providerName
|
|
63
64
|
}), ' ', /*#__PURE__*/React.createElement(Anchor, {
|
|
64
65
|
href: learnMoreAboutSmartLinksUrl,
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -34,6 +34,7 @@ export default {
|
|
|
34
34
|
'linkDataSource.basic-filter.no-options-message': "We couldn't find anything matching your search",
|
|
35
35
|
'linkDataSource.basic-filter.no-options-message-old': 'No matches found',
|
|
36
36
|
'linkDataSource.basic-filter.project.label': 'Project',
|
|
37
|
+
'linkDataSource.basic-filter.project.label-galaxia': 'Space',
|
|
37
38
|
'linkDataSource.basic-filter.project.searchPlaceholder': 'Search for projects',
|
|
38
39
|
'linkDataSource.basic-filter.showMoreButton': 'Show more',
|
|
39
40
|
'linkDataSource.basic-filter.status.label': 'Status',
|
|
@@ -80,6 +81,7 @@ export default {
|
|
|
80
81
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
81
82
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
82
83
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
84
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
83
85
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
84
86
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
85
87
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
|
@@ -88,6 +90,7 @@ export default {
|
|
|
88
90
|
'linkDataSource.issue-line-table.error-generic-description': 'We had an issue trying to complete the update. Wait a few minutes, then try again. Contact support if this keeps happening.',
|
|
89
91
|
'linkDataSource.issue-line-table.error-generic-title': 'Something went wrong',
|
|
90
92
|
'linkDataSource.issue-line-table.fetch-action-error-generic-description': 'Wait a few minutes, then try again. Check your project settings or contact support if this keeps happening.',
|
|
93
|
+
'linkDataSource.issue-line-table.fetch-action-error-generic-description-galaxia': 'Wait a few minutes, then try again. Check your space settings or contact support if this keeps happening.',
|
|
91
94
|
'linkDataSource.issue-line-table.fetch-action-error-generic-title': 'We’re having trouble fetching options',
|
|
92
95
|
'linkDataSource.issue-line-table.unwrap-text': 'Unwrap text',
|
|
93
96
|
'linkDataSource.issue-line-table.wrap-text': 'Wrap text',
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -34,6 +34,7 @@ export default {
|
|
|
34
34
|
'linkDataSource.basic-filter.no-options-message': "We couldn't find anything matching your search",
|
|
35
35
|
'linkDataSource.basic-filter.no-options-message-old': 'No matches found',
|
|
36
36
|
'linkDataSource.basic-filter.project.label': 'Project',
|
|
37
|
+
'linkDataSource.basic-filter.project.label-galaxia': 'Space',
|
|
37
38
|
'linkDataSource.basic-filter.project.searchPlaceholder': 'Search for projects',
|
|
38
39
|
'linkDataSource.basic-filter.showMoreButton': 'Show more',
|
|
39
40
|
'linkDataSource.basic-filter.status.label': 'Status',
|
|
@@ -80,6 +81,7 @@ export default {
|
|
|
80
81
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
81
82
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
82
83
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
84
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
83
85
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
84
86
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
85
87
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
|
@@ -88,6 +90,7 @@ export default {
|
|
|
88
90
|
'linkDataSource.issue-line-table.error-generic-description': 'We had an issue trying to complete the update. Wait a few minutes, then try again. Contact support if this keeps happening.',
|
|
89
91
|
'linkDataSource.issue-line-table.error-generic-title': 'Something went wrong',
|
|
90
92
|
'linkDataSource.issue-line-table.fetch-action-error-generic-description': 'Wait a few minutes, then try again. Check your project settings or contact support if this keeps happening.',
|
|
93
|
+
'linkDataSource.issue-line-table.fetch-action-error-generic-description-galaxia': 'Wait a few minutes, then try again. Check your space settings or contact support if this keeps happening.',
|
|
91
94
|
'linkDataSource.issue-line-table.fetch-action-error-generic-title': 'We’re having trouble fetching options',
|
|
92
95
|
'linkDataSource.issue-line-table.unwrap-text': 'Unwrap text',
|
|
93
96
|
'linkDataSource.issue-line-table.wrap-text': 'Wrap text',
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -34,6 +34,7 @@ export default {
|
|
|
34
34
|
'linkDataSource.basic-filter.no-options-message': "We couldn't find anything matching your search",
|
|
35
35
|
'linkDataSource.basic-filter.no-options-message-old': 'No matches found',
|
|
36
36
|
'linkDataSource.basic-filter.project.label': 'Project',
|
|
37
|
+
'linkDataSource.basic-filter.project.label-galaxia': 'Space',
|
|
37
38
|
'linkDataSource.basic-filter.project.searchPlaceholder': 'Search for projects',
|
|
38
39
|
'linkDataSource.basic-filter.showMoreButton': 'Show more',
|
|
39
40
|
'linkDataSource.basic-filter.status.label': 'Status',
|
|
@@ -80,6 +81,7 @@ export default {
|
|
|
80
81
|
'linkDataSource.confluence-search.no.confluence.sites.access.title': "You don't have access to any Confluence sites",
|
|
81
82
|
'linkDataSource.datasource.table.authConnectButtonText': 'Connect',
|
|
82
83
|
'linkDataSource.datasource.table.authScreenDescriptionText': 'Connect your {providerName} account to collaborate on work across Atlassian products.',
|
|
84
|
+
'linkDataSource.datasource.table.authScreenDescriptionText-appify': 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
83
85
|
'linkDataSource.datasource.table.authScreenHeaderText': 'Connect your {providerName} account',
|
|
84
86
|
'linkDataSource.datasource.table.learnMoreAboutSmartLinks': 'Learn more about Smart Links.',
|
|
85
87
|
'linkDataSource.issue-line-table.edit-button-label.non-final': '{fieldValue}, {fieldName} field',
|
|
@@ -88,6 +90,7 @@ export default {
|
|
|
88
90
|
'linkDataSource.issue-line-table.error-generic-description': 'We had an issue trying to complete the update. Wait a few minutes, then try again. Contact support if this keeps happening.',
|
|
89
91
|
'linkDataSource.issue-line-table.error-generic-title': 'Something went wrong',
|
|
90
92
|
'linkDataSource.issue-line-table.fetch-action-error-generic-description': 'Wait a few minutes, then try again. Check your project settings or contact support if this keeps happening.',
|
|
93
|
+
'linkDataSource.issue-line-table.fetch-action-error-generic-description-galaxia': 'Wait a few minutes, then try again. Check your space settings or contact support if this keeps happening.',
|
|
91
94
|
'linkDataSource.issue-line-table.fetch-action-error-generic-title': 'We’re having trouble fetching options',
|
|
92
95
|
'linkDataSource.issue-line-table.unwrap-text': 'Unwrap text',
|
|
93
96
|
'linkDataSource.issue-line-table.wrap-text': 'Wrap text',
|
|
@@ -110,5 +110,10 @@ export var loadingErrorMessages = defineMessages({
|
|
|
110
110
|
id: 'linkDataSource.datasource.table.authConnectButtonText',
|
|
111
111
|
defaultMessage: 'Connect',
|
|
112
112
|
description: 'Label for the authentication button.'
|
|
113
|
+
},
|
|
114
|
+
authScreenDescriptionTextAppify: {
|
|
115
|
+
id: 'linkDataSource.datasource.table.authScreenDescriptionText-appify',
|
|
116
|
+
defaultMessage: 'Connect your {providerName} account to collaborate on work across Atlassian apps.',
|
|
117
|
+
description: 'Description text to be displayed in the auth screen UI.'
|
|
113
118
|
}
|
|
114
119
|
});
|
|
@@ -9,6 +9,7 @@ import { useIntl } from 'react-intl-next';
|
|
|
9
9
|
import Button from '@atlaskit/button/new';
|
|
10
10
|
import EmptyState from '@atlaskit/empty-state';
|
|
11
11
|
import { AuthError, auth as outboundAuth } from '@atlaskit/outbound-auth-flow-client';
|
|
12
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
13
|
import { Anchor, Box } from '@atlaskit/primitives/compiled';
|
|
13
14
|
import { useDatasourceAnalyticsEvents } from '../../../analytics';
|
|
14
15
|
import useErrorLogger from '../../../hooks/useErrorLogger';
|
|
@@ -78,7 +79,7 @@ export var ProviderAuthRequired = function ProviderAuthRequired(_ref) {
|
|
|
78
79
|
};
|
|
79
80
|
}();
|
|
80
81
|
var renderAuthDescription = function renderAuthDescription() {
|
|
81
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, formatMessage(loadingErrorMessages.authScreenDescriptionText, {
|
|
82
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, formatMessage(fg('product-terminology-refresh') ? loadingErrorMessages.authScreenDescriptionTextAppify : loadingErrorMessages.authScreenDescriptionText, {
|
|
82
83
|
providerName: providerName
|
|
83
84
|
}), ' ', /*#__PURE__*/React.createElement(Anchor, {
|
|
84
85
|
href: learnMoreAboutSmartLinksUrl,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type DatasourceTableStatusType } from '@atlaskit/linking-types';
|
|
2
2
|
interface DataRenderedUfoExperienceProps {
|
|
3
|
-
status: DatasourceTableStatusType;
|
|
4
|
-
experienceId: string;
|
|
5
|
-
itemCount: number;
|
|
6
3
|
canBeLink?: boolean;
|
|
4
|
+
experienceId: string;
|
|
7
5
|
extensionKey?: string | null;
|
|
6
|
+
itemCount: number;
|
|
7
|
+
status: DatasourceTableStatusType;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Hook to mark DataRendered UFO experience as either Success or Failure
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
interface DatasourceRendered {
|
|
2
|
-
name: 'datasource-rendered';
|
|
3
2
|
metadata?: {
|
|
4
3
|
extensionKey?: string;
|
|
5
4
|
};
|
|
5
|
+
name: 'datasource-rendered';
|
|
6
6
|
}
|
|
7
7
|
interface ColumnPickerRendered {
|
|
8
|
-
name: 'column-picker-rendered';
|
|
9
8
|
metadata?: {
|
|
10
9
|
extensionKey?: string;
|
|
11
10
|
};
|
|
11
|
+
name: 'column-picker-rendered';
|
|
12
12
|
}
|
|
13
13
|
interface InlineEditRendered {
|
|
14
|
-
name: 'inline-edit-rendered';
|
|
15
14
|
metadata?: {
|
|
16
15
|
extensionKey?: string;
|
|
17
16
|
};
|
|
17
|
+
name: 'inline-edit-rendered';
|
|
18
18
|
}
|
|
19
19
|
export type UfoExperience = DatasourceRendered | ColumnPickerRendered | InlineEditRendered;
|
|
20
20
|
export {};
|
|
@@ -13,26 +13,26 @@ export type OnInsertFunction<ADF> = (adf: ADF, analyticsEvent?: UIAnalyticsEvent
|
|
|
13
13
|
export type ConfigModalProps<ADF, Parameters> = {
|
|
14
14
|
/** Unique identifier for which type of datasource is being rendered and for making its requests */
|
|
15
15
|
datasourceId: string;
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
/** Parameters for making the data requests necessary to render data within the table */
|
|
19
|
-
parameters?: Parameters;
|
|
16
|
+
/** Disable the view mode display dropdown */
|
|
17
|
+
disableDisplayDropdown?: boolean;
|
|
20
18
|
/** Callback function to be invoked when the modal is closed either via cancel button click, esc keydown, or modal blanket click */
|
|
21
19
|
onCancel: () => void;
|
|
22
20
|
/** Callback function to be invoked when the insert issues button is clicked */
|
|
23
21
|
onInsert: OnInsertFunction<ADF>;
|
|
22
|
+
/** Parameters for making the data requests necessary to render data within the table */
|
|
23
|
+
parameters?: Parameters;
|
|
24
|
+
/**
|
|
25
|
+
* Set the focus to return to the element that had focus before focus lock was activated or pass through a specific ref element
|
|
26
|
+
* Defaults to false, meaning focus remains where it was when the FocusLock was deactivated
|
|
27
|
+
*/
|
|
28
|
+
shouldReturnFocus?: ShouldReturnFocus;
|
|
29
|
+
/** The url that was used to insert a List of Links */
|
|
30
|
+
url?: string;
|
|
24
31
|
/**
|
|
25
32
|
* The view mode that the modal will show on open:
|
|
26
33
|
* - Table = Displays a list of links in table format
|
|
27
34
|
* - Inline = Presents a smart link that shows the count of query results. However, if there's only one result, it converts to an inline smart link of that issue.
|
|
28
35
|
*/
|
|
29
36
|
viewMode?: DisplayViewModes;
|
|
30
|
-
/** Disable the view mode display dropdown */
|
|
31
|
-
disableDisplayDropdown?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Set the focus to return to the element that had focus before focus lock was activated or pass through a specific ref element
|
|
34
|
-
* Defaults to false, meaning focus remains where it was when the FocusLock was deactivated
|
|
35
|
-
*/
|
|
36
|
-
shouldReturnFocus?: ShouldReturnFocus;
|
|
37
37
|
} & Partial<Pick<IssueLikeDataTableViewProps, 'visibleColumnKeys' | 'wrappedColumnKeys' | 'columnCustomSizes'>>;
|
|
38
38
|
export {};
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
export type RenderSVGProps = {
|
|
6
|
-
size?: 'xlarge' | 'large' | 'medium';
|
|
7
6
|
alt: string;
|
|
7
|
+
size?: 'xlarge' | 'large' | 'medium';
|
|
8
8
|
};
|
|
9
9
|
type RenderSVGInternalProps = RenderSVGProps & {
|
|
10
|
+
className?: string;
|
|
10
11
|
src: string;
|
|
11
12
|
srcDark?: string;
|
|
12
|
-
className?: string;
|
|
13
13
|
};
|
|
14
14
|
export declare const RenderSVG: ({ alt, size, src, srcDark }: RenderSVGInternalProps) => JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { type ObjectSchema } from '../types/assets/types';
|
|
2
2
|
import { type AssetsDatasourceParameters } from '../ui/assets-modal/types';
|
|
3
3
|
export type UseAssetsClientState = {
|
|
4
|
-
|
|
5
|
-
workspaceError: Error | undefined;
|
|
4
|
+
assetsClientLoading: boolean;
|
|
6
5
|
existingObjectSchema: ObjectSchema | undefined;
|
|
7
6
|
existingObjectSchemaError: Error | undefined;
|
|
8
7
|
objectSchemas: ObjectSchema[] | undefined;
|
|
9
8
|
objectSchemasError: Error | undefined;
|
|
10
9
|
totalObjectSchemas: number | undefined;
|
|
11
|
-
|
|
10
|
+
workspaceError: Error | undefined;
|
|
11
|
+
workspaceId: string | undefined;
|
|
12
12
|
};
|
|
13
13
|
export declare const useAssetsClient: (initialParameters?: AssetsDatasourceParameters) => UseAssetsClientState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type CreateFlagArgs } from '@atlaskit/flag';
|
|
2
2
|
interface DatasourceTableFlagOptions {
|
|
3
|
-
url?: string;
|
|
4
3
|
isFetchAction?: boolean;
|
|
4
|
+
url?: string;
|
|
5
5
|
}
|
|
6
6
|
export declare const useDatasourceTableFlag: (options?: DatasourceTableFlagOptions) => {
|
|
7
7
|
showErrorFlag: (args?: Partial<CreateFlagArgs> & {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type DatasourceDataResponseItem, type DatasourceMeta, type DatasourceParameters, type DatasourceResponseSchemaProperty, type DatasourceTableStatusType } from '@atlaskit/linking-types';
|
|
2
2
|
export interface onNextPageProps {
|
|
3
3
|
isSchemaFromData?: boolean;
|
|
4
|
-
shouldRequestFirstPage?: boolean;
|
|
5
4
|
shouldForceRequest?: boolean;
|
|
5
|
+
shouldRequestFirstPage?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export type NextPageType = (requestInfo?: onNextPageProps) => void;
|
|
8
8
|
interface ResetOptions {
|
|
@@ -12,42 +12,42 @@ interface ResetOptions {
|
|
|
12
12
|
shouldResetColumns?: boolean;
|
|
13
13
|
}
|
|
14
14
|
export interface DatasourceTableState {
|
|
15
|
-
/**
|
|
16
|
-
|
|
17
|
-
/** Requests the available data with pagination and also sets column headers if not already available */
|
|
18
|
-
onNextPage: NextPageType;
|
|
19
|
-
/** Resets state of the hook to be as if it is a first time it is being called. */
|
|
20
|
-
reset: (options?: ResetOptions) => void;
|
|
21
|
-
/** Requests the available column schemas that can be displayed within the table */
|
|
22
|
-
loadDatasourceDetails: () => Promise<void>;
|
|
23
|
-
/** Item ids to be hydrated from a store by consumers [NOTE: They must be in the same order as responseItems] */
|
|
24
|
-
responseItemIds: string[];
|
|
25
|
-
/** Items to be rendered within the table */
|
|
26
|
-
responseItems: DatasourceDataResponseItem[];
|
|
27
|
-
/** Indicates whether there is still more data that can be paginated */
|
|
28
|
-
hasNextPage: boolean;
|
|
15
|
+
/** Auth info used to connect to the provider account. */
|
|
16
|
+
authDetails?: DatasourceMeta['auth'];
|
|
29
17
|
/** All available columns for a datasource table to display */
|
|
30
18
|
columns: DatasourceResponseSchemaProperty[];
|
|
31
19
|
/** The keys belonging to all of the currently visible columns in a table */
|
|
32
20
|
defaultVisibleColumnKeys: string[];
|
|
33
|
-
/** Total count of response items available for pagination in a query */
|
|
34
|
-
totalCount?: number;
|
|
35
21
|
/** List of objects types that will be included in the reponse (e.g. 'issues' for Jira) */
|
|
36
22
|
destinationObjectTypes: string[];
|
|
37
23
|
/** Used as an indicated of which provider type is being used - originates from ORS */
|
|
38
24
|
extensionKey?: string;
|
|
25
|
+
/** Indicates whether there is still more data that can be paginated */
|
|
26
|
+
hasNextPage: boolean;
|
|
27
|
+
/** Requests the available column schemas that can be displayed within the table */
|
|
28
|
+
loadDatasourceDetails: () => Promise<void>;
|
|
29
|
+
/** Requests the available data with pagination and also sets column headers if not already available */
|
|
30
|
+
onNextPage: NextPageType;
|
|
39
31
|
/** Indicates which provider name is being used - originates from ORS */
|
|
40
32
|
providerName?: string;
|
|
41
|
-
/**
|
|
42
|
-
|
|
33
|
+
/** Resets state of the hook to be as if it is a first time it is being called. */
|
|
34
|
+
reset: (options?: ResetOptions) => void;
|
|
35
|
+
/** Item ids to be hydrated from a store by consumers [NOTE: They must be in the same order as responseItems] */
|
|
36
|
+
responseItemIds: string[];
|
|
37
|
+
/** Items to be rendered within the table */
|
|
38
|
+
responseItems: DatasourceDataResponseItem[];
|
|
39
|
+
/** The current status of the table for rendering of the different UI states (e.g.: loading, error, etc). */
|
|
40
|
+
status: DatasourceTableStatusType;
|
|
41
|
+
/** Total count of response items available for pagination in a query */
|
|
42
|
+
totalCount?: number;
|
|
43
43
|
}
|
|
44
44
|
export interface DatasourceTableStateProps {
|
|
45
45
|
/** Unique identifier for which type of datasource is being rendered and for making its requests */
|
|
46
46
|
datasourceId: string;
|
|
47
|
-
/** Parameters for making the data requests necessary to render data within the table */
|
|
48
|
-
parameters?: DatasourceParameters;
|
|
49
47
|
/** Keys for each of the columns to be shown in the table */
|
|
50
48
|
fieldKeys?: string[];
|
|
49
|
+
/** Parameters for making the data requests necessary to render data within the table */
|
|
50
|
+
parameters?: DatasourceParameters;
|
|
51
51
|
}
|
|
52
52
|
export declare const useDatasourceTableState: ({ datasourceId, parameters, fieldKeys, }: DatasourceTableStateProps) => DatasourceTableState;
|
|
53
53
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type AtomicActionExecuteRequest } from '@atlaskit/linking-types';
|
|
2
2
|
import type { ExecuteFetch } from '../state/actions';
|
|
3
3
|
export type LoadOptionsProps<T> = {
|
|
4
|
-
fetchInputs?: AtomicActionExecuteRequest['parameters']['inputs'];
|
|
5
|
-
executeFetch?: ExecuteFetch;
|
|
6
4
|
emptyOption?: T;
|
|
5
|
+
executeFetch?: ExecuteFetch;
|
|
6
|
+
fetchInputs?: AtomicActionExecuteRequest['parameters']['inputs'];
|
|
7
7
|
};
|
|
8
8
|
export declare const useLoadOptions: <T>({ fetchInputs, executeFetch, emptyOption, }: LoadOptionsProps<T>) => {
|
|
9
9
|
options: T[];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type ObjectSchema } from '../types/assets/types';
|
|
2
2
|
export type FetchObjectSchemasDetails = Pick<UseObjectSchemasState, 'objectSchemas' | 'totalObjectSchemas'>;
|
|
3
3
|
export type UseObjectSchemasState = {
|
|
4
|
-
|
|
5
|
-
objectSchemasError: Error | undefined;
|
|
4
|
+
fetchObjectSchemas: (query: string) => Promise<FetchObjectSchemasDetails>;
|
|
6
5
|
objectSchemas: ObjectSchema[] | undefined;
|
|
6
|
+
objectSchemasError: Error | undefined;
|
|
7
|
+
objectSchemasLoading: boolean;
|
|
7
8
|
totalObjectSchemas: number | undefined;
|
|
8
|
-
fetchObjectSchemas: (query: string) => Promise<FetchObjectSchemasDetails>;
|
|
9
9
|
};
|
|
10
10
|
export declare const useObjectSchemas: (workspaceId: string) => UseObjectSchemasState;
|
|
@@ -9,8 +9,8 @@ export type ValidResult = {
|
|
|
9
9
|
validatedAql: string;
|
|
10
10
|
};
|
|
11
11
|
export type InvalidResult = {
|
|
12
|
-
type: 'invalid';
|
|
13
12
|
error: string;
|
|
13
|
+
type: 'invalid';
|
|
14
14
|
};
|
|
15
15
|
export type AqlValidationResult = IdleResult | LoadingResult | ValidResult | InvalidResult;
|
|
16
16
|
export type AqlValidationResponse = {
|
|
@@ -19,8 +19,8 @@ export type AqlValidationResponse = {
|
|
|
19
19
|
};
|
|
20
20
|
export type UseValidateAqlTextState = {
|
|
21
21
|
debouncedValidation: (value: string | undefined) => Promise<string | undefined>;
|
|
22
|
-
validateAqlText: (aql: string) => Promise<'error' | undefined>;
|
|
23
22
|
lastValidationResult: AqlValidationResult;
|
|
23
|
+
validateAqlText: (aql: string) => Promise<'error' | undefined>;
|
|
24
24
|
};
|
|
25
25
|
export declare const SEARCH_DEBOUNCE = 350;
|
|
26
26
|
export declare const useValidateAqlText: (workspaceId: string, initialValue: string) => UseValidateAqlTextState;
|