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

[Discover] Fixes safari overflow bug #5948

Merged
merged 4 commits into from
Feb 27, 2024

Conversation

ashwin-pc
Copy link
Member

Description

The translate prop on the source cell causes a glitch in Safari that causes the overflow property to not work as expected in some scenarios. Removing it fixes the issue.

Issues Resolved

fixes #5941

Screenshot

Testing the changes

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: Ashwin P Chandran <[email protected]>
Copy link

codecov bot commented Feb 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.00%. Comparing base (790c076) to head (a580d3c).
Report is 2 commits behind head on main.

❗ Current head a580d3c differs from pull request most recent head 7da4918. Consider uploading reports for the commit 7da4918 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5948   +/-   ##
=======================================
  Coverage   67.00%   67.00%           
=======================================
  Files        3307     3307           
  Lines       63614    63614           
  Branches    10163    10163           
=======================================
+ Hits        42625    42627    +2     
+ Misses      18519    18518    -1     
+ Partials     2470     2469    -1     
Flag Coverage Δ
Linux_1 35.21% <ø> (ø)
Linux_2 55.09% <ø> (ø)
Linux_3 43.62% <ø> (+<0.01%) ⬆️
Linux_4 35.20% <ø> (ø)
Windows_1 35.24% <ø> (ø)
Windows_2 55.06% <ø> (ø)
Windows_3 43.63% <ø> (ø)
Windows_4 35.20% <ø> (ø)

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: Ashwin P Chandran <[email protected]>
@ashwin-pc ashwin-pc self-assigned this Feb 26, 2024
@seraphjiang
Copy link
Member

The translate prop on the source cell causes a glitch in Safari that causes the overflow property to not work as expected in some scenarios. Removing it fixes the issue.

could we share the screenshoot before and after to help review the PR

ananzh
ananzh previously approved these changes Feb 26, 2024
@ashwin-pc
Copy link
Member Author

ashwin-pc commented Feb 26, 2024

@seraphjiang I did not add a screenshot here since the issue linked has an image of what the bug looks like and the fix basically get rid of the bug. There is no visual change to the UI because of this PR. I can add it if it helps though

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Miki <[email protected]>
Signed-off-by: Anan Zhuang <[email protected]>
ananzh
ananzh previously approved these changes Feb 26, 2024
AMoo-Miki
AMoo-Miki previously approved these changes Feb 26, 2024
@ananzh ananzh dismissed stale reviews from AMoo-Miki and themself via 7da4918 February 26, 2024 23:58
@ananzh
Copy link
Member

ananzh commented Feb 27, 2024

@seraphjiang before the fix, in Safari 17 it looks like this (2.11 test domain)
Screenshot 2024-02-26 at 4 00 40 PM

After this, just normal display.

@ananzh ananzh merged commit c1439d1 into opensearch-project:main Feb 27, 2024
52 of 54 checks passed
@ananzh ananzh added discover for discover reinvent bug Something isn't working labels Feb 27, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 27, 2024
* [Discover] Fixes safari overflow bug

---------

Signed-off-by: Ashwin P Chandran <[email protected]>
Signed-off-by: Anan Zhuang <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Co-authored-by: Miki <[email protected]>
(cherry picked from commit c1439d1)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this pull request Feb 27, 2024
* [Discover] Fixes safari overflow bug

---------

Signed-off-by: Ashwin P Chandran <[email protected]>
Signed-off-by: Anan Zhuang <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Co-authored-by: Miki <[email protected]>
abbyhu2000 added a commit that referenced this pull request Mar 1, 2024
* [Discover] Fixes safari overflow bug

---------

Signed-off-by: Ashwin P Chandran <[email protected]>
Signed-off-by: Anan Zhuang <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Co-authored-by: Miki <[email protected]>
(cherry picked from commit c1439d1)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Qingyang(Abby) Hu <[email protected]>
SuZhou-Joe pushed a commit to SuZhou-Joe/OpenSearch-Dashboards that referenced this pull request Mar 4, 2024
* [Discover] Fixes safari overflow bug

---------

Signed-off-by: Ashwin P Chandran <[email protected]>
Signed-off-by: Anan Zhuang <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Co-authored-by: Miki <[email protected]>
SuZhou-Joe pushed a commit to SuZhou-Joe/OpenSearch-Dashboards that referenced this pull request Apr 7, 2024
* [Discover] Fixes safari overflow bug

---------

Signed-off-by: Ashwin P Chandran <[email protected]>
Signed-off-by: Anan Zhuang <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Co-authored-by: Miki <[email protected]>
SuZhou-Joe pushed a commit to ruanyl/OpenSearch-Dashboards that referenced this pull request Apr 7, 2024
* [Discover] Fixes safari overflow bug

---------

Signed-off-by: Ashwin P Chandran <[email protected]>
Signed-off-by: Anan Zhuang <[email protected]>
Co-authored-by: Anan Zhuang <[email protected]>
Co-authored-by: Miki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Rendering error of Discover in Safari for OpenSearch v 2.12
4 participants