-
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
Add flush
to TopNavControlLinkData
#7801
Conversation
Signed-off-by: Miki <[email protected]>
@@ -60,6 +60,7 @@ export function TopNavControlItem(props: TopNavControlData) { | |||
{props.description} | |||
{links?.map((linkProps) => ( | |||
<> | |||
{' '} |
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.
Was this intentional?
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 for the attention to detail. Yes. When multiple links are added, this ensures that some collapsable space exists between them. It also adds space before the first one.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7801 +/- ##
=======================================
Coverage 63.80% 63.80%
=======================================
Files 3656 3656
Lines 81210 81210
Branches 12950 12950
=======================================
Hits 51812 51812
Misses 26217 26217
Partials 3181 3181
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
* Add `flush` to `TopNavControlLinkData` Signed-off-by: Miki <[email protected]> * Changeset file for PR #7801 created/updated --------- Signed-off-by: Miki <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit a5882ee) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add `flush` to `TopNavControlLinkData` * Changeset file for PR #7801 created/updated --------- (cherry picked from commit a5882ee) Signed-off-by: Miki <[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>
Description
Add
flush
toTopNavControlLinkData
Changelog
flush
toTopNavControlLinkData
Check List
yarn test:jest
yarn test:jest_integration