-
Notifications
You must be signed in to change notification settings - Fork 920
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
[Workspace] update workspace-list-card and home-list-card #7547
Conversation
❌ Changelog Entry Missing HyphenChangelog entries must begin with a hyphen (-). |
❌ Changelog Entry Missing HyphenChangelog entries must begin with a hyphen (-). |
1 similar comment
❌ Changelog Entry Missing HyphenChangelog entries must begin with a hyphen (-). |
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "fix". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
1 similar comment
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "fix". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
❌ Invalid Prefix For Manual Changeset CreationInvalid description prefix. Found "- fix". Only "skip" entry option is permitted for manual commit of changeset files. If you were trying to skip the changelog entry, please use the "skip" entry option in the ##Changelog section of your PR description. |
@Qxisylolo Thanks for that, could you please add CHANGELOG entry for this PR? |
src/plugins/home/public/application/components/home_list_card.tsx
Outdated
Show resolved
Hide resolved
</EuiTitle> | ||
} | ||
description={ | ||
config.list.length > 0 && ( |
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.
Do we need any empty state for empty list?
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'm not sure. For now the config is set manually and we don't need empty list.
src/plugins/home/public/application/components/home_list_card.tsx
Outdated
Show resolved
Hide resolved
src/plugins/home/public/application/components/home_list_card.tsx
Outdated
Show resolved
Hide resolved
src/plugins/home/public/application/components/home_list_card.tsx
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7547 +/- ##
==========================================
+ Coverage 63.64% 63.66% +0.01%
==========================================
Files 3634 3634
Lines 80099 80099
Branches 12682 12682
==========================================
+ Hits 50977 50993 +16
+ Misses 26015 26001 -14
+ Partials 3107 3105 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Yang <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
…and write new testes Signed-off-by: Qxisylolo <[email protected]>
…and write new testes Signed-off-by: Qxisylolo <[email protected]>
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.
Thank you, great work!
</EuiToolTip> | ||
<EuiSpacer /> | ||
<EuiFlexItem grow={true}> | ||
{workspaceList && workspaceList.length === 0 ? ( |
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 seems is existing code, but would be nice to change it in this way, as empty state should be displayed if workspaceList
is undefined.
{workspaceList && workspaceList.length === 0 ? ( | |
{!workspaceList || workspaceList.length === 0 ? ( |
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.
Okok, Thanks for your comments~
* update workspace-list-card and home-list-card Signed-off-by: Yang <[email protected]> * new update home_list_card and workspace_list_card,solve some errors Signed-off-by: Qxisylolo <[email protected]> * new update home_list_card and workspace_list_card,solve some errors Signed-off-by: Qxisylolo <[email protected]> * Changeset file for PR #7547 created/updated * new update home_list_card and workspace_list_card,solve some errors Signed-off-by: Qxisylolo <[email protected]> * new update home_list_card and workspace_list_card,solve some errors, and write new testes Signed-off-by: Qxisylolo <[email protected]> * new update home_list_card and workspace_list_card,solve some errors, and write new testes Signed-off-by: Qxisylolo <[email protected]> --------- Signed-off-by: Yang <[email protected]> Signed-off-by: Qxisylolo <[email protected]> Co-authored-by: Yang <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit 14c71c7) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
) * update workspace-list-card and home-list-card * new update home_list_card and workspace_list_card,solve some errors * new update home_list_card and workspace_list_card,solve some errors * Changeset file for PR #7547 created/updated * new update home_list_card and workspace_list_card,solve some errors * new update home_list_card and workspace_list_card,solve some errors, and write new testes * new update home_list_card and workspace_list_card,solve some errors, and write new testes --------- (cherry picked from commit 14c71c7) Signed-off-by: Yang <[email protected]> Signed-off-by: Qxisylolo <[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> Co-authored-by: Yang <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Description
Here, I updated the workspace-list-card and home-list-card by adjusting the view-all button position and fixing the overflow issue.
Issues Resolved
Screenshot
appearance:before
appearance:after
before-when resizing
after-when resizing
Changelog