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 copy link issue in Safari #1633

Merged
merged 24 commits into from
Nov 28, 2023

Conversation

leanneeliatra
Copy link
Contributor

@leanneeliatra leanneeliatra commented Oct 24, 2023

Description

Bug fix for broken copy link in Safari

Issues Resolved

Testing

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@peternied
Copy link
Member

@leanneeliatra Please fix the ci failures and see about adding some kind of tests to validate this change.

@leanneeliatra
Copy link
Contributor Author

@leanneeliatra Please fix the ci failures and see about adding some kind of tests to validate this change.

Unit tests in progress to conclude this ticket (integration test and bugfix complete).

Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (cfc83dd) 66.63% compared to head (d2aa727) 67.06%.

Files Patch % Lines
public/services/shared-link.ts 63.33% 8 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1633      +/-   ##
==========================================
+ Coverage   66.63%   67.06%   +0.43%     
==========================================
  Files          94       94              
  Lines        2395     2402       +7     
  Branches      319      318       -1     
==========================================
+ Hits         1596     1611      +15     
+ Misses        728      713      -15     
- Partials       71       78       +7     

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

@peternied
Copy link
Member

@leanneeliatra It looks like there are unintended changes included in this PR, maybe you'd be better of rebasing from main and force pushing again?

@peternied
Copy link
Member

@leanneeliatra Looks like the rebase issues are behind now, happy to review once the test case is built out - thanks!

@leanneeliatra
Copy link
Contributor Author

@leanneeliatra Looks like the rebase issues are behind now, happy to review once the test case is built out - thanks!

Thank you Peter the cypress test is now complete for functionality, there is an linting error I am fixing. The jest test in progress. I will update once complete for review.

@leanneeliatra
Copy link
Contributor Author

leanneeliatra commented Nov 15, 2023

Update: Linting errors for corresponding integration tests are now solved , I have some comments to address there and unit tests in progress.

Copy link
Contributor

@stephen-crawford stephen-crawford 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

DarshitChanpura and others added 9 commits November 17, 2023 13:05
…cks (opensearch-project#1613)

Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Co-authored-by: Darshit Chanpura <[email protected]>
Signed-off-by: [email protected] <[email protected]>
…oject#1564)

* changing return to dashboards with functioning logout button on error page

Signed-off-by: [email protected] <[email protected]>
Co-authored-by: Darshit Chanpura <[email protected]>
Co-authored-by: Peter Nied <[email protected]>
Signed-off-by: [email protected] <[email protected]>
opensearch-project#1619)

* finished ticket

Signed-off-by: Prabhas Kurapati <[email protected]>

* fixed invalid auth type error

Signed-off-by: Prabhas Kurapati <[email protected]>

* fixed unit tests

Signed-off-by: Prabhas Kurapati <[email protected]>

* made requested changes

Signed-off-by: Prabhas Kurapati <[email protected]>

* updated saml to AuthType.SAML + fixed basicauth test

Signed-off-by: Prabhas Kurapati <[email protected]>

---------

Signed-off-by: Prabhas Kurapati <[email protected]>
Signed-off-by: [email protected] <[email protected]>
RyanL1997 and others added 12 commits November 17, 2023 13:05
…nsearch-project#1641)

Stabilize SAML integration test cases for security dashboard CIs (opensearch-project#1641)
---------

Signed-off-by: Ryan Liang <[email protected]>
Signed-off-by: [email protected] <[email protected]>
…nsearch-project#1641)

Stabilize SAML integration test cases for security dashboard CIs (opensearch-project#1641)
---------

Signed-off-by: Ryan Liang <[email protected]>
Signed-off-by: [email protected] <[email protected]>
This reverts commit 01063d1289ab2aae7c13c114d7c608dac8002e98.

Signed-off-by: [email protected] <[email protected]>
@leanneeliatra
Copy link
Contributor Author

leanneeliatra commented Nov 23, 2023

@peternied could you review this when you have a moment please, all checks are passing here now and the integration tests are also in review. Thanks.

@leanneeliatra
Copy link
Contributor Author

cc @peternied @cwperks @DarshitChanpura @peternied @RyanL1997
Thank you all, just to flag this PR just needs 1 more review if anyone is available.

@leanneeliatra
Copy link
Contributor Author

leanneeliatra commented Nov 27, 2023

The integration tests are now reviewed and are waiting on the final review and merge of this PR, to be merged themselves.

cc @peternied @cwperks @DarshitChanpura @davidlago @RyanL1997 this PR just needs 1 more review if anyone is available.

Copy link
Collaborator

@derek-ho derek-ho left a comment

Choose a reason for hiding this comment

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

No major concerns with this PR, but not able to replicate the original issue, so not sure if this is needed

@leanneeliatra
Copy link
Contributor Author

leanneeliatra commented Nov 28, 2023

My Safari Version is 17.1 (19616.2.9.11.7). I checked again and I can indeed reproduce this and my fix does fix it locally. From speaking with @davidlago, in the case that it can't be reproduced by some but I myself can reproduce it as could the original reporter, we can go ahead and merge this if possible please?

Then the integration tests can also be merged. opensearch-project/opensearch-dashboards-functional-test#940 Thanks all.

Copy link
Member

@cwperks cwperks left a comment

Choose a reason for hiding this comment

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

LGMT! Thank you @leanneeliatra 🚢

@cwperks cwperks added the backport 2.x backport to 2.x branch label Nov 28, 2023
@peternied peternied merged commit 8f1334e into opensearch-project:main Nov 28, 2023
9 of 10 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 28, 2023
Signed-off-by: [email protected] <[email protected]>
Signed-off-by: leanneeliatra <[email protected]>
Signed-off-by: leanneeliatra <[email protected]>
(cherry picked from commit 8f1334e)
cwperks pushed a commit that referenced this pull request Nov 29, 2023
Signed-off-by: [email protected] <[email protected]>
Signed-off-by: leanneeliatra <[email protected]>
Signed-off-by: leanneeliatra <[email protected]>
(cherry picked from commit 8f1334e)

Co-authored-by: leanneeliatra <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Share > Copy link broken in Safari
9 participants