-
Notifications
You must be signed in to change notification settings - Fork 890
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
[Backport 2.x] [Workspace] Add workspace overview page #6641
Conversation
* workspace overview page Signed-off-by: Hailong Cui <[email protected]> address review comments Signed-off-by: Hailong Cui <[email protected]> address ux review comments Signed-off-by: Hailong Cui <[email protected]> Add workspace overview to breadCrumb Signed-off-by: Hailong Cui <[email protected]> getting start modal & settings tab Signed-off-by: Hailong Cui <[email protected]> home breadcrumb Signed-off-by: Hailong Cui <[email protected]> fix rebase issue Signed-off-by: Hailong Cui <[email protected]> tmp enable management Signed-off-by: Hailong Cui <[email protected]> add workspace overview collapsed into localStorage Signed-off-by: Hailong Cui <[email protected]> getting start modal Signed-off-by: Hailong Cui <[email protected]> page layout Signed-off-by: Hailong Cui <[email protected]> Add test cases Signed-off-by: Hailong Cui <[email protected]> fix breadcrumb Signed-off-by: Hailong Cui <[email protected]> * fix merge issue Signed-off-by: Hailong Cui <[email protected]> * fix wrong dataSourceManagement id Signed-off-by: Hailong Cui <[email protected]> * Changeset file for PR #6584 created/updated * update page layout Signed-off-by: Hailong Cui <[email protected]> * overview tab layout update Signed-off-by: Hailong Cui <[email protected]> * fix workspace overview page breadcrumb Signed-off-by: Hailong Cui <[email protected]> * collapsed setting to be workspace level Signed-off-by: Hailong Cui <[email protected]> * fix workspace_overview_modal unit test Signed-off-by: Hailong Cui <[email protected]> * Update src/plugins/workspace/public/components/workspace_overview/getting_start_card.tsx Co-authored-by: SuZhou-Joe <[email protected]> Signed-off-by: Hailong Cui <[email protected]> * Update src/plugins/workspace/public/components/workspace_overview/workspace_overview_settings.tsx Co-authored-by: SuZhou-Joe <[email protected]> Signed-off-by: Hailong Cui <[email protected]> * Update src/plugins/workspace/public/components/workspace_overview/getting_start_modal.tsx Co-authored-by: SuZhou-Joe <[email protected]> Signed-off-by: Hailong Cui <[email protected]> * Update src/plugins/workspace/public/components/workspace_overview/getting_start_modal.tsx Co-authored-by: SuZhou-Joe <[email protected]> Signed-off-by: Hailong Cui <[email protected]> * Update src/plugins/workspace/public/components/workspace_overview/getting_start_modal.tsx Co-authored-by: SuZhou-Joe <[email protected]> Signed-off-by: Hailong Cui <[email protected]> * Update src/plugins/workspace/public/components/workspace_overview/getting_start_modal.tsx Co-authored-by: SuZhou-Joe <[email protected]> Signed-off-by: Hailong Cui <[email protected]> * address review comments Signed-off-by: Hailong Cui <[email protected]> * address review comments Signed-off-by: Hailong Cui <[email protected]> * fix setBreadcrumbs issue Signed-off-by: Hailong Cui <[email protected]> * wording change of breadcrumbs Signed-off-by: Hailong Cui <[email protected]> * udpate breadcrumb subscription to be a better name Signed-off-by: Hailong Cui <[email protected]> * Add unit test Signed-off-by: Hailong Cui <[email protected]> --------- Signed-off-by: Hailong Cui <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: SuZhou-Joe <[email protected]> (cherry picked from commit 9c884b0) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
// below categories are for workspace | ||
getStarted: { | ||
id: 'getStarted', | ||
label: i18n.translate('core.ui.getStarted.label', { |
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.
I think the i18n might complain about the namespaces as it will expect workspace
. Can we verify it @SuZhou-Joe with:
node ./scripts/i18n_extract.js --output-dir ./translations
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.
There will be errors but ignore the unrelated ones.
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.
@kavilla Yes, that will be error to complain it need to be under workspace namespace.
Error: Expected "core.ui.getStarted.label" id to have "workspace" namespace. See .i18nrc.json for the list of supported namespaces.
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.
create a follow up issue #6647
<EuiModal onClose={onCloseModal} maxWidth={false} className="gettingStartModel"> | ||
<EuiModalHeader> | ||
<EuiModalHeaderTitle> | ||
<h2>Define your path forward</h2> |
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.
nit: i18n
@kavilla Thanks for call it out, and @Hailong-am has raised a following issue to track that. |
Backport 9c884b0 from #6584.