-
Notifications
You must be signed in to change notification settings - Fork 295
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
Conditionally render SourceLink
s based on view context
#4815
Labels
Comments
aaemnnosttv
added
P0
High priority
Type: Enhancement
Improvement of an existing feature
labels
Feb 8, 2022
IB ✔️ |
18 tasks
QA Update: ✅Verified:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Description
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
SourceLink
s should be adjusted to only render these source links if not in the view-only version of the dashboard. TheuseViewOnly()
hook introduced in Use alternateviewContext
for non-authenticated users #4814 should be used to determine that.Implementation Brief
assets/js/components/SourceLink.js
:useViewOnly()
hook introduced in Use alternateviewContext
for non-authenticated users #4814. If it is false, returnnull
.Test Coverage
QA Brief
Note for future QA
Changelog entry
The text was updated successfully, but these errors were encountered: