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: "view public profile" link sends parent frame to URL #913

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

jsnwesson
Copy link
Contributor

Context:
The Profile plugin component has a view public profile hyperlink, then when clicked would redirect the page inside the plugin rather than the parent frame (AKA Host MFE).

This PR fixes that bug by adding target=_parent to the Hyperlink tag.

Copy link

@cdeery cdeery left a comment

Choose a reason for hiding this comment

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

Looks great!

Copy link

codecov bot commented Nov 14, 2023

Codecov Report

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

Comparison is base (f03d5af) 63.66% compared to head (bbbf41c) 63.66%.
Report is 4 commits behind head on aperture/PluginPOCFeature.

Files Patch % Lines
src/index.jsx 0.00% 2 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                     @@
##           aperture/PluginPOCFeature     #913   +/-   ##
==========================================================
  Coverage                      63.66%   63.66%           
==========================================================
  Files                             54       54           
  Lines                            856      856           
  Branches                         161      161           
==========================================================
  Hits                             545      545           
  Misses                           301      301           
  Partials                          10       10           

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

Copy link
Member

@MaxFrank13 MaxFrank13 left a comment

Choose a reason for hiding this comment

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

LGTM

@jsnwesson jsnwesson merged commit 542fa3d into aperture/PluginPOCFeature Nov 14, 2023
8 of 9 checks passed
@jsnwesson jsnwesson deleted the jwesson/fix-target-link branch November 14, 2023 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants