-
-
Notifications
You must be signed in to change notification settings - Fork 302
Fix to issue #4606 : Links leading outside Studio need to have a pop out icon #4622
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
Merged
AllanOXDi
merged 11 commits into
learningequality:unstable
from
shivam-daksh:fix-issue-#4606
Aug 9, 2024
Merged
Changes from 7 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f02a8dd
found two ways to fix issue
shivam-daksh 638d49d
Issue fixed by replacing KExternalLink Component with ActionLink
shivam-daksh e71cc90
Preserve Link Targets
shivam-daksh 957f872
docker-compose.yml changes reverted
shivam-daksh fe70b34
ActionLink is changed back to KExternalLink and added openInNewTab pr…
shivam-daksh 854790b
fixed minor changes and working fine
shivam-daksh c8ce5ca
Insert space after period in Settings>Storage page
shivam-daksh ba7eb92
Cleaning and simplifying the code
shivam-daksh ba6a0bf
Remove margin-left from KExternalLink
shivam-daksh 64c06a3
added margin-left in Settings->About Studio's external links
shivam-daksh 922b49e
yarn lint-frontend:format changes
shivam-daksh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,8 +29,9 @@ | |
| </p> | ||
| <p> | ||
| <KExternalLink | ||
| class="kexternal-redirect" | ||
| href="https://kolibri-studio.readthedocs.io/en/latest/index.html" | ||
| target="_blank" | ||
| openInNewTab="true" | ||
| :text="$tr('userDocsLink')" | ||
| rel="noopener noreferrer" | ||
| /> | ||
|
|
@@ -50,9 +51,10 @@ | |
| <li>{{ $tr('bestPractice5') }}</li> | ||
| <li> | ||
| <KExternalLink | ||
| class="kexternal-redirect" | ||
| href="https://ricecooker.readthedocs.io/en/latest/video_compression.html" | ||
| :text="$tr('bestPractice6')" | ||
| target="_blank" | ||
| openInNewTab="true" | ||
| rel="noopener noreferrer" | ||
| /> | ||
| </li> | ||
|
|
@@ -64,16 +66,18 @@ | |
| <!-- Issues --> | ||
| <h2>{{ $tr('notableIssues') }}</h2> | ||
| <KExternalLink | ||
| class="kexternal-redirect" | ||
| href="https://github.com/learningequality/studio/issues/3992" | ||
| :text="$tr('issueLink1')" | ||
| target="_blank" | ||
| openInNewTab="true" | ||
| rel="noopener noreferrer" | ||
| /> | ||
| <p>{{ $tr('issue1') }}</p> | ||
| <KExternalLink | ||
| class="kexternal-redirect" | ||
| href="https://github.com/learningequality/studio/issues" | ||
| :text="$tr('issuesPageLink')" | ||
| target="_blank" | ||
| openInNewTab="true" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for letting me know. I've changed it to simplified. |
||
| rel="noopener noreferrer" | ||
| /> | ||
| </div> | ||
|
|
@@ -141,4 +145,7 @@ | |
| h2 { | ||
| margin-top: 32px; | ||
| } | ||
| </style> | ||
| .kexternal-redirect{ | ||
| margin-left: -8px; | ||
|
MisRob marked this conversation as resolved.
|
||
| } | ||
| </style> | ||
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.

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
!importantproperty might not be necessary if there are no conflicting styles. It's generally best to avoid !important unless absolutely necessary. In fact, if you use the !important property , it will override all previous styling rules for that specific property on that element :)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And
displayproperty was indeed unnecessary, so I've removed it.