Force external bounty links to open in _blank target to preserve navigation context#240
Open
yihangwu539-png wants to merge 1 commit intoalgora-io:mainfrom
Open
Conversation
…eserve navigation context Add target="_blank" and rel="noopener noreferrer" to all external bounty/GitHub links across the Algora platform: - lib/algora_web/components/bounties.ex: main bounty list component - lib/algora_web/live/user/profile_live.ex: user profile bounty links (2 places) - lib/algora_web/live/org/home_live.ex: org dashboard bounty links - lib/algora_web/live/org/bounties_new_live.ex: new bounty page links Closes algora-io#176
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #176
Summary of Changes
Added
target="_blank"andrel="noopener noreferrer"to all external bounty and GitHub issue links across the platform. Users can now click bounty links to peek at issues in a new tab and return to the Algora dashboard exactly where they left off.Files Modified
Testing
target="_blank"is already used extensively in other parts of the codebase)/claim #176