Skip to content
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

fix: register right navigation for dev tool only when console is enabled #6701

Merged
merged 1 commit into from
May 2, 2024

Conversation

raintygao
Copy link
Contributor

Description

register right navigation for dev tool only when console is enabled

Screenshot

image
console is disabled

image
console is enabled

Testing the changes

  1. use yarn start --console.enabled=false, dev tool and top right navigation won't be registered.
  2. use yarn start, dev tool and top right navigation will both be registered.

Changelog

  • skip

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

Copy link

codecov bot commented May 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.69%. Comparing base (9ac5203) to head (b1cc61d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6701      +/-   ##
==========================================
- Coverage   67.70%   67.69%   -0.02%     
==========================================
  Files        3417     3417              
  Lines       66922    66922              
  Branches    10888    10888              
==========================================
- Hits        45310    45303       -7     
- Misses      18966    18970       +4     
- Partials     2646     2649       +3     
Flag Coverage Δ
Linux_1 ?
Linux_2 55.59% <ø> (ø)
Linux_3 ?
Linux_4 ?
Windows_1 33.20% <ø> (ø)
Windows_2 55.56% <ø> (ø)
Windows_3 45.26% <ø> (ø)
Windows_4 34.84% <ø> (ø)

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.

@ananzh
Copy link
Member

ananzh commented May 2, 2024

nice! @raintygao thanks for the quick fix.

@ananzh
Copy link
Member

ananzh commented May 2, 2024

@kavilla I think the latest feedback is when we start the dashboard yarn start, the default behavior is that the top right navigation will not be registered. Then yarn start --console.enabled=true, both dev tool and top right navigation should be registered. Am I right?

@ananzh ananzh merged commit b5121d3 into opensearch-project:main May 2, 2024
75 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request May 2, 2024
…led (#6701)

Signed-off-by: tygao <tygao@amazon.com>
(cherry picked from commit b5121d3)
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 May 2, 2024
…led (#6701)

Signed-off-by: tygao <tygao@amazon.com>
(cherry picked from commit b5121d3)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
SuZhou-Joe pushed a commit that referenced this pull request May 3, 2024
…led (#6701) (#6709)

(cherry picked from commit b5121d3)

Signed-off-by: tygao <tygao@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>
kavilla pushed a commit that referenced this pull request May 3, 2024
…led (#6701) (#6708)

(cherry picked from commit b5121d3)

Signed-off-by: tygao <tygao@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>
LDrago27 pushed a commit to LDrago27/OpenSearch-Dashboards that referenced this pull request Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport 2.14 Skip-Changelog PRs that are too trivial to warrant a changelog or release notes entry v2.14.0 valued-contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants