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 discover input background not shrink #8331

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

ruanyl
Copy link
Member

@ruanyl ruanyl commented Sep 25, 2024

Description

This one line change fixed an issue of the query input on discover page that the input background container didn't not shrink when resizing, see the screen records:

Before:

Screen.Recording.2024-09-25.at.17.46.31.mov

After:

Screen.Recording.2024-09-25.at.17.45.24.mov

Issues Resolved

Screenshot

Testing the changes

Changelog

  • fix: discover query input background not shrink when window resize

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
Contributor

❌ Empty Changelog Section

The 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.

Copy link

codecov bot commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.14%. Comparing base (d3b776d) to head (a7fc623).
Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8331   +/-   ##
=======================================
  Coverage   64.14%   64.14%           
=======================================
  Files        3743     3743           
  Lines       88843    88849    +6     
  Branches    13855    13856    +1     
=======================================
+ Hits        56987    56994    +7     
+ Misses      31241    31240    -1     
  Partials      615      615           
Flag Coverage Δ
Linux_1 30.06% <ø> (+<0.01%) ⬆️
Linux_2 58.86% <ø> (ø)
Linux_3 40.36% <ø> (+<0.01%) ⬆️
Linux_4 31.58% <ø> (-0.01%) ⬇️
Windows_1 30.08% <ø> (+<0.01%) ⬆️
Windows_2 58.81% <ø> (ø)
Windows_3 40.36% <ø> (+<0.01%) ⬆️
Windows_4 31.58% <ø> (-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.

opensearch-changeset-bot bot added a commit to ruanyl/OpenSearch-Dashboards that referenced this pull request Sep 26, 2024
SuZhou-Joe
SuZhou-Joe previously approved these changes Sep 26, 2024
@ruanyl ruanyl force-pushed the fix-discover-input-not-shrink branch from 3675796 to a7fc623 Compare September 26, 2024 08:02
@kavilla kavilla added the discover for discover reinvent label Sep 26, 2024
@ruanyl ruanyl merged commit ea8b716 into opensearch-project:main Sep 27, 2024
70 of 71 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 27, 2024
* fix discover input background not shrink

Signed-off-by: Yulong Ruan <ruanyl@amazon.com>

* Changeset file for PR #8331 created/updated

---------

Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit ea8b716)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
SuZhou-Joe pushed a commit that referenced this pull request Sep 27, 2024
* fix discover input background not shrink



* Changeset file for PR #8331 created/updated

---------



(cherry picked from commit ea8b716)

Signed-off-by: Yulong Ruan <ruanyl@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>
ps48 pushed a commit to ps48/OpenSearch-Dashboards that referenced this pull request Sep 27, 2024
* fix discover input background not shrink

Signed-off-by: Yulong Ruan <ruanyl@amazon.com>

* Changeset file for PR opensearch-project#8331 created/updated

---------

Signed-off-by: Yulong Ruan <ruanyl@amazon.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.

5 participants