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

Added hide and show feature of volto blocks #5157

Closed
wants to merge 4 commits into from
Closed

Conversation

SaraBianchi
Copy link
Contributor

New feature to hide and show Volto blocks.

In Edit: the hide/show icons have been added below the "delete" button, if a block is hidden but selected, it has an opacity of 65% and "eye" icon keep red, except for the "Description" block which has a different text color and isn't accessible. If the blocks aren't selected they remain opaque by 30%.

screen-edit-show-hide

In View: RenderBlocks has been changed, if the hidden property exists, the block doesn't render.

screen-view-show-hide

@netlify
Copy link

netlify bot commented Sep 4, 2023

Deploy Preview for volto canceled.

Name Link
🔨 Latest commit 4988488
🔍 Latest deploy log https://app.netlify.com/sites/volto/deploys/64f5f030d747d70008b7f82b

@cypress
Copy link

cypress bot commented Sep 4, 2023

Passing run #7087 ↗︎

0 561 20 0 Flakiness 0

Details:

updated tests
Project: Volto Commit: 4988488d2e
Status: Passed Duration: 12:55 💡
Started: Sep 4, 2023 3:00 PM Ended: Sep 4, 2023 3:13 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@sneridagh
Copy link
Member

@SaraBianchi since this is a major UX change introduction, this should be discussed by the @plone/volto-team

What's the main use case and motivation for this? Would you mind writing a quick PLIP?

@pnicolli
Copy link
Contributor

@sneridagh I can explain tomorrow morning and yes we should definitely write a PLIP for this
@SaraBianchi Let's talk and I can explain the process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants