-
Notifications
You must be signed in to change notification settings - Fork 891
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 search bar layout and align workspace selector #8649
[workspace] update search bar layout and align workspace selector #8649
Conversation
❌ Empty Changelog SectionThe Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8649 +/- ##
=======================================
Coverage 60.86% 60.86%
=======================================
Files 3793 3793
Lines 90381 90386 +5
Branches 14185 14190 +5
=======================================
+ Hits 55006 55010 +4
+ Misses 31898 31897 -1
- Partials 3477 3479 +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: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
6149e21
to
721eb42
Compare
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
flush="both" | ||
{...homeLinkProps} | ||
onClick={onIconClick} | ||
className="homeIcon" |
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.
className="homeIcon" | |
className="navGroupEnabledHomeIcon" |
Will the class name conflict with the existing homeIcon?
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 navGroupEnabledHomeIcon
as suggested.
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
{isPopoverOpen && ( | ||
<EuiPopover | ||
panelStyle={{ minWidth: '400px', minHeight: '100px' }} | ||
button={<></>} |
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.
Q: why using <></>
as the popover anchor?
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 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 see, thanks :)
) * update search bar layout Signed-off-by: Hailong Cui <[email protected]> * Changeset file for PR #8649 created/updated * update search bar layout Signed-off-by: Hailong Cui <[email protected]> * update test case Signed-off-by: Hailong Cui <[email protected]> * style update Signed-off-by: Hailong Cui <[email protected]> * typo Signed-off-by: Hailong Cui <[email protected]> * support search nav items by its parent title Signed-off-by: Hailong Cui <[email protected]> * address review comments 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> (cherry picked from commit 79fed30) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
) (#8687) * update search bar layout * Changeset file for PR #8649 created/updated * update search bar layout * update test case * style update * typo * support search nav items by its parent title * address review comments --------- (cherry picked from commit 79fed30) 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> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
…ensearch-project#8649) * update search bar layout Signed-off-by: Hailong Cui <[email protected]> * Changeset file for PR opensearch-project#8649 created/updated * update search bar layout Signed-off-by: Hailong Cui <[email protected]> * update test case Signed-off-by: Hailong Cui <[email protected]> * style update Signed-off-by: Hailong Cui <[email protected]> * typo Signed-off-by: Hailong Cui <[email protected]> * support search nav items by its parent title Signed-off-by: Hailong Cui <[email protected]> * address review comments 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>
Description
Issues Resolved
Screenshot
Before
After
items show with normal font weight
workspace selector align with left nav
Testing the changes
yarn start
Changelog
Check List
yarn test:jest
yarn test:jest_integration