[uiSettings]: Migrate items owned by app arch to new platform#66040
[uiSettings]: Migrate items owned by app arch to new platform#66040alexwizp merged 46 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/kibana-app-arch (Team:AppArch) |
|
@elasticmachine merge upstream |
| setRequestReferenceSetting: '<strong>courier:setRequestPreference</strong>', | ||
| customSettingValue: '"custom"', | ||
| requestPreferenceLink: | ||
| '<a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-preference.html" target="_blank" rel="noopener">' + |
There was a problem hiding this comment.
@lukeelmers not sure that it's related to current PR, but it looks like an issue which should be addressed in future.
We should get links from DocLinks service (src/core/public/doc_links/doc_links_service.ts) instead of hardcoding it.
There was a problem hiding this comment.
We should get links from DocLinks service (src/core/public/doc_links/doc_links_service.ts) instead of hardcoding it.
Yes, agreed. The problem right now is that docLinks is not available in CoreSetup. I have a PR up to expose it in setup so we could use it here.
Once that's merged we can add these links to the docLinks service, as I don't see them there right now.
There was a problem hiding this comment.
I created #67026 to track updating docLinks as a follow-up task.
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
1 similar comment
|
@elasticmachine merge upstream |
crob611
left a comment
There was a problem hiding this comment.
Canvas code looks good 👍
|
@elasticmachine merge upstream |
# Conflicts: # x-pack/plugins/reporting/server/export_types/csv/server/execute_job.test.ts # x-pack/plugins/reporting/server/export_types/csv/server/execute_job.ts # x-pack/plugins/reporting/server/export_types/csv_from_savedobject/server/lib/generate_csv_search.ts # x-pack/plugins/translations/translations/ja-JP.json # x-pack/plugins/translations/translations/zh-CN.json
# Conflicts: # src/plugins/data/public/public.api.md # src/plugins/data/server/server.api.md
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
jasonrhodes
left a comment
There was a problem hiding this comment.
Assuming UI_SETTINGS.* are just strings being swapped in for our hard-coded ones, this LGTM!
There was a problem hiding this comment.
Stack Monitoring looks good from code pov 👍
@VladLasitsa
Though I couldn't test the branch locally since I kept getting:
FATAL Error: Setup lifecycle of "reporting" plugin wasn't completed in 30sec. Consider disabling the plugin and re-start.
server crashed with status code 1…c#66040) * Migrated uiSettings items to new platform * API changes * Fixed translations * Fixed comment and i18n * Fixed tests * Fixed internalization * Fix karma tests * made code more explicit * Fixed plugin * Added consts for ui settings ids. * Added id for another settings * Fixed tests. * Improved imports * Fix imports to public which were happening from the server. * Fixed paths * Moved styles to plugin.ts * Moved styles * Fixed docs * Fix ci * Fix ci * fix documentation Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Alexey Antonov <alexwizp@gmail.com> Co-authored-by: Luke Elmers <luke.elmers@elastic.co> # Conflicts: # src/legacy/core_plugins/kibana/server/ui_setting_defaults.js
#68354) * Migrated uiSettings items to new platform * API changes * Fixed translations * Fixed comment and i18n * Fixed tests * Fixed internalization * Fix karma tests * made code more explicit * Fixed plugin * Added consts for ui settings ids. * Added id for another settings * Fixed tests. * Improved imports * Fix imports to public which were happening from the server. * Fixed paths * Moved styles to plugin.ts * Moved styles * Fixed docs * Fix ci * Fix ci * fix documentation Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Alexey Antonov <alexwizp@gmail.com> Co-authored-by: Luke Elmers <luke.elmers@elastic.co> # Conflicts: # src/legacy/core_plugins/kibana/server/ui_setting_defaults.js Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
Closes #63480
Summary
Migrated uiSettings items to new platform:
query:queryString:options👉dataquery:allowLeadingWildcards👉datasearch:queryLanguage👉datasort:options👉datadefaultIndex👉datacourier:ignoreFilterIfFieldNotInIndex👉datacourier:setRequestPreference👉datacourier:customRequestPreference👉datacourier:maxConcurrentShardRequests👉datacourier:batchSearches👉datasearch:includeFrozen👉datahistogram:barTarget👉datahistogram:maxBars👉datavisualize:enableLabs👉visualizationscsv:separator👉sharecsv:quoteValues👉sharehistory:limit👉datashortDots:enable👉dataformat:defaultTypeMap👉dataformat:number:defaultPattern👉dataformat:bytes:defaultPattern👉dataformat:percent:defaultPattern👉dataformat:currency:defaultPattern👉dataformat:number:defaultLocale👉datatimepicker:refreshIntervalDefaults👉datatimepicker:quickRanges👉dataindexPattern:placeholder👉datafilters:pinnedByDefault👉datafilterEditor:suggestValues👉dataChecklist
Delete any items that are not applicable to this PR.
For maintainers