-
Notifications
You must be signed in to change notification settings - Fork 712
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
Use of KExternalLink should never refer to Kolibri URLs, use KRouterLink #7482
Comments
So, to fix this we should look for anything like this in the code:
And replace it the |
Here are some places I think this change needs to be made. These are all usages of Sign in link on AuthMessage kolibri/kolibri/core/assets/src/views/AuthMessage.vue Lines 13 to 18 in 4cf820b
Link from Coach -> Facility if there are no classes kolibri/kolibri/plugins/coach/assets/src/views/CoachClassListPage.vue Lines 27 to 32 in 4cf820b
Link from Device Settings -> Facility Settings kolibri/kolibri/plugins/device/assets/src/views/DeviceSettingsPage/index.vue Lines 10 to 15 in 4cf820b
kolibri/kolibri/plugins/device/assets/src/views/DeviceSettingsPage/index.vue Lines 85 to 98 in 4cf820b
Link from Facility Settings -> Device Settings kolibri/kolibri/plugins/facility/assets/src/views/FacilityConfigPage/index.vue Lines 9 to 14 in 4cf820b
Link to device permissions page kolibri/kolibri/plugins/facility/assets/src/views/UserEditPage.vue Lines 39 to 45 in 4cf820b
Link from Learn page to Content import page
|
Closing in favor of a different approach, opening a separate issue. |
Observed behavior
The KDS
KExternalLink
component is supposed to be used for links outside of Kolibri.KRouterLink
is supposed to link internally, even between SPAs.Related to #7480 and the PRs/Issues that it refers to in the description.
Expected behavior
KExternalLink
opens in a new tab and never links within Kolibri and every time we want this in Kolibri, we useKExternalLink
KRouterLink
opens in the same tab/window and always links within Kolibri and we useKRouterLink
everywhere that we link to Kolibri.The text was updated successfully, but these errors were encountered: