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

Update data explorer ui to use compressed components #8222

Merged
merged 5 commits into from
Sep 25, 2024

Conversation

ps48
Copy link
Member

@ps48 ps48 commented Sep 18, 2024

Description

  • Make use of compressed fields components
  • Update query editor padding to center fit the text
  • Update data explorer side bar search field

Screenshot

Data explorer with query enhancements enabled:
Screenshot 2024-09-18 at 9 12 58 AM
Screenshot 2024-09-18 at 9 13 14 AM

Data explorer with query enhancements disabled:
Screenshot 2024-09-18 at 9 12 23 AM

Testing the changes

Changelog

  • fix: Update data explorer ui to use compressed components

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

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
Copy link

codecov bot commented Sep 18, 2024

Codecov Report

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

Project coverage is 64.05%. Comparing base (b826df8) to head (575e39a).
Report is 53 commits behind head on main.

Files with missing lines Patch % Lines
...ins/data/public/ui/query_editor/editors/shared.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8222   +/-   ##
=======================================
  Coverage   64.05%   64.05%           
=======================================
  Files        3741     3741           
  Lines       88629    88633    +4     
  Branches    13801    13804    +3     
=======================================
+ Hits        56771    56775    +4     
  Misses      31260    31260           
  Partials      598      598           
Flag Coverage Δ
Linux_1 30.07% <0.00%> (+<0.01%) ⬆️
Linux_2 58.83% <ø> (ø)
Linux_3 40.37% <0.00%> (-0.01%) ⬇️
Linux_4 31.46% <0.00%> (ø)
Windows_1 30.08% <0.00%> (+<0.01%) ⬆️
Windows_2 58.78% <ø> (ø)
Windows_3 40.37% <0.00%> (-0.01%) ⬇️
Windows_4 31.46% <0.00%> (ø)

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.

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
@AMoo-Miki
Copy link
Collaborator

#8204 should merged before this.

@ashwin-pc ashwin-pc merged commit 8d45530 into opensearch-project:main Sep 25, 2024
74 of 75 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 25, 2024
* update discover ui to use compressed components

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

* revert query editor changes

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

* Changeset file for PR #8222 created/updated

* update overflow prop for query editor

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

* update language selector snapshots

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

---------

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 8d45530)
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 Sep 25, 2024
* update discover ui to use compressed components

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

* revert query editor changes

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

* Changeset file for PR #8222 created/updated

* update overflow prop for query editor

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

* update language selector snapshots

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>

---------

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 8d45530)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@abbyhu2000 abbyhu2000 added v2.18.0 and removed 2.17.1 labels Sep 25, 2024
ashwin-pc pushed a commit that referenced this pull request Sep 30, 2024
* update discover ui to use compressed components



* revert query editor changes



* Changeset file for PR #8222 created/updated

* update overflow prop for query editor



* update language selector snapshots



---------



(cherry picked from commit 8d45530)

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Kawika Avilla <kavilla414@gmail.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>
Co-authored-by: Kawika Avilla <kavilla414@gmail.com>
SuZhou-Joe pushed a commit to SuZhou-Joe/OpenSearch-Dashboards that referenced this pull request Oct 3, 2024
…ect#8222) (opensearch-project#8343)

* update discover ui to use compressed components



* revert query editor changes



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

* update overflow prop for query editor



* update language selector snapshots



---------



(cherry picked from commit 8d45530)

Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Kawika Avilla <kavilla414@gmail.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>
Co-authored-by: Kawika Avilla <kavilla414@gmail.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.

6 participants