-
Notifications
You must be signed in to change notification settings - Fork 917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Manual Backport 2.x] [Workspace] Add user settings #8057
[Manual Backport 2.x] [Workspace] Add user settings #8057
Conversation
(cherry picked from commit 569b70d) Signed-off-by: Hailong Cui <[email protected]>
❌ Invalid Changelog HeadingThe '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax. |
78034d1
to
95f4594
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 2.x #8057 +/- ##
========================================
Coverage 60.67% 60.67%
========================================
Files 3731 3737 +6
Lines 88452 88653 +201
Branches 13709 13770 +61
========================================
+ Hits 53664 53790 +126
- Misses 31526 31584 +58
- Partials 3262 3279 +17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
cypress failure is not related to this change. |
src/core/server/ui_settings/utils.ts
Outdated
|
||
export const CURRENT_USER_PLACEHOLDER = '<current_user>'; | ||
|
||
export const generateDocId = (id: string, scope?: UiSettingScope) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function name is not inline with what it is actually doing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated to buildDocIdWithScope
src/plugins/advanced_settings/server/saved_objects/user_ui_settings_client_wrapper.ts
Outdated
Show resolved
Hide resolved
src/plugins/advanced_settings/server/saved_objects/user_ui_settings_client_wrapper.ts
Outdated
Show resolved
Hide resolved
src/plugins/workspace/public/components/workspace_list/index.tsx
Outdated
Show resolved
Hide resolved
src/plugins/workspace/public/components/workspace_list/index.tsx
Outdated
Show resolved
Hide resolved
src/plugins/workspace/public/components/workspace_list/index.tsx
Outdated
Show resolved
Hide resolved
src/plugins/workspace/public/components/workspace_list/index.tsx
Outdated
Show resolved
Hide resolved
src/plugins/workspace/public/components/workspace_list/index.tsx
Outdated
Show resolved
Hide resolved
src/plugins/workspace/public/components/workspace_list/index.tsx
Outdated
Show resolved
Hide resolved
src/plugins/workspace/public/components/workspace_list/index.tsx
Outdated
Show resolved
Hide resolved
We should also mark this experimental in the config and changelog to allow for making changes to the API and functionality without causing a breaking change. |
@AMoo-Miki thanks, it should be experimental. As this is backport PR I will have the quick follow up PR to address all your comments. have an issue to track #8072. |
@AMoo-Miki @SuZhou-Joe @ruanyl comments are addressed, please add backport 2.17 label for this PR and close #8058 this one. For main, i will have another PR to cherry pick the commit that will not need to backport. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
* [Workspace] Add User level setting (#7953) (cherry picked from commit 569b70d) Signed-off-by: Hailong Cui <[email protected]> * add experimental to user personal settings and support i18n Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> (cherry picked from commit eccf54f) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* [Workspace] Add User level setting (#7953) (cherry picked from commit 569b70d) * add experimental to user personal settings and support i18n --------- (cherry picked from commit eccf54f) Signed-off-by: Hailong Cui <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
backport 569b70d from #7953