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

Component: Content safety wall #2462

Closed
dhruvkb opened this issue Jun 21, 2023 · 0 comments · Fixed by #2651
Closed

Component: Content safety wall #2462

dhruvkb opened this issue Jun 21, 2023 · 0 comments · Fixed by #2651
Assignees
Labels
🕹 aspect: interface Concerns end-users' experience with the software 🌟 goal: addition Addition of new feature 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: frontend Related to the Nuxt frontend

Comments

@dhruvkb
Copy link
Member

dhruvkb commented Jun 21, 2023

Description

Define the component that shows when visiting a single result page with sensitive content.

API

State

The single result page itself must have a walled/unwalled boolean state, because once the content is revealed (by clicking the 'Show content' button) it is possible to conceal it again (using the 'Hide content' button #2463).

The text that explains why the content is walled should be updated based on the value of the sensitivity supplied by the API. See discussion at #791 (comment).

Events

Name Associated data Description
showContent The user has opted to see the content, load the page content and hide the wall
goBack The user has opted not to see the content, go back to search results (if search term is known) or homepage (otherwise)

showContent must toggle with the page's sensitive content shown/hidden state.

Screenshots

Desktop Mobile
image image

Figma

@dhruvkb dhruvkb added 🟨 priority: medium Not blocking but should be addressed soon 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work 🌟 goal: addition Addition of new feature 🕹 aspect: interface Concerns end-users' experience with the software labels Jun 21, 2023
@zackkrida zackkrida added 🧱 stack: frontend Related to the Nuxt frontend and removed 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work labels Jun 21, 2023
@zackkrida zackkrida self-assigned this Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🕹 aspect: interface Concerns end-users' experience with the software 🌟 goal: addition Addition of new feature 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: frontend Related to the Nuxt frontend
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants