Skip to content

[navigation]fix: add sample data to left navigation#7613

Merged
BionIT merged 3 commits intoopensearch-project:mainfrom
SuZhou-Joe:feature/add-sample-data
Aug 2, 2024
Merged

[navigation]fix: add sample data to left navigation#7613
BionIT merged 3 commits intoopensearch-project:mainfrom
SuZhou-Joe:feature/add-sample-data

Conversation

@SuZhou-Joe
Copy link
Copy Markdown
Member

@SuZhou-Joe SuZhou-Joe commented Aug 2, 2024

Description

We lost sample data in the design of new left navigation and this PR is trying to bring it back because import sample data is a very useful feature in OSD to quickly setup some dashboards and visualizations.

Issues Resolved

Screenshot

Before fix

image

After fix

image
image
image
image
image

Testing the changes

  • Go to advanced settings and turn on new home page feature flag.
  • Find the entry in all of the use cases.

Changelog

  • fix: [navigation] add sample data to left navigation

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

@SuZhou-Joe SuZhou-Joe force-pushed the feature/add-sample-data branch from bef51e6 to c39bae4 Compare August 2, 2024 11:20
@SuZhou-Joe SuZhou-Joe changed the title [navigation]feat: add sample data to left navigation [navigation]fix: add sample data to left navigation Aug 2, 2024
@SuZhou-Joe SuZhou-Joe added the bug Something isn't working label Aug 2, 2024
Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 2, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 63.65%. Comparing base (14c71c7) to head (fabffad).

Files Patch % Lines
src/plugins/home/public/plugin.ts 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7613      +/-   ##
==========================================
- Coverage   63.65%   63.65%   -0.01%     
==========================================
  Files        3632     3632              
  Lines       80056    80060       +4     
  Branches    12682    12683       +1     
==========================================
+ Hits        50962    50963       +1     
- Misses      25990    25991       +1     
- Partials     3104     3106       +2     
Flag Coverage Δ
Linux_1 30.55% <0.00%> (-0.01%) ⬇️
Linux_2 55.58% <ø> (ø)
Linux_3 40.55% <0.00%> (-0.01%) ⬇️
Linux_4 31.30% <75.00%> (+<0.01%) ⬆️
Windows_1 30.57% <0.00%> (-0.01%) ⬇️
Windows_2 55.53% <ø> (ø)
Windows_3 40.56% <0.00%> (-0.01%) ⬇️
Windows_4 31.30% <75.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Member

@ruanyl ruanyl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@BionIT BionIT merged commit 352d2e9 into opensearch-project:main Aug 2, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 2, 2024
* feat: add sample data to left navigation

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

* Changeset file for PR #7613 created/updated

* feat: add sample data to left navigation

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

---------

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 352d2e9)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 2, 2024
* feat: add sample data to left navigation

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

* Changeset file for PR #7613 created/updated

* feat: add sample data to left navigation

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

---------

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 352d2e9)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
SuZhou-Joe pushed a commit that referenced this pull request Aug 2, 2024
* feat: add sample data to left navigation



* Changeset file for PR #7613 created/updated

* feat: add sample data to left navigation



---------



(cherry picked from commit 352d2e9)

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
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>
SuZhou-Joe pushed a commit that referenced this pull request Aug 2, 2024
* feat: add sample data to left navigation



* Changeset file for PR #7613 created/updated

* feat: add sample data to left navigation



---------



(cherry picked from commit 352d2e9)

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants