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

UVE: Content pallet is not being filtered by the containers on the page #30065

Closed
fishsmith opened this issue Sep 18, 2024 · 3 comments
Closed

Comments

@fishsmith
Copy link
Collaborator

Parent Issue

No response

Problem Statement

UVE content pallet is not being filtered by the containers on the page. You should only see the content type sin the pallet that are allowed on the page.

Screenshot 2024-09-18 at 5 25 47 PM

Steps to Reproduce

  1. create a page and add a container that only takes a specific type of content.
  2. open in UVE
  3. You will see all content types including system content types like personas etc...

Acceptance Criteria

Only show the content types and widget that the containers on the page except

dotCMS Version

current

Proposed Objective

User Experience

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

@valentinogiardino
Copy link
Contributor

valentinogiardino commented Sep 24, 2024

Couldn't reproduce

We began by testing the filter functionality by switching between different containers and creating new ones with restricted content types. In all cases, the filter worked as expected locally, and we were unable to reproduce the issue.

To further investigate, we collaborated with @zJaaal to attempt to reproduce the issue in the environment where it was originally reported. Upon analyzing the page's API response, we discovered that a system container was unexpectedly appearing in the container structure, even though it wasn’t placed in the defined layout. This caused the content pallet to display content types allowed for both the specified containers and this system container.

Despite our efforts, we were unable to reproduce this condition on other pages locally or in different environments.

Workaround: As a workaround, the page can be recreated without specifying the system container.

Closing the issue, as we were unable to reproduce it.

Videos

Adding a custom container

issue-content-pallet-1.mov

Creating a copy of a page with system container

issue-content-pallet-copy-action-1.mov

Creating a copy of a page without system container

issue-content-pallet-copy-action-2.mov

Creating a page with multiple containers

issue-content-pallet-multiple-containers.mov

@fmontes
Copy link
Member

fmontes commented Sep 24, 2024

👍🏽

@fmontes fmontes changed the title UVE content pallet is not being filtered by the containers on the page UVE: Content pallet is not being filtered by the containers on the page Sep 24, 2024
@josemejias11
Copy link
Contributor

Approved: Tested on ** trunk_1eae248**, Docker, macOS 14.5, FF v126.0.1

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

No branches or pull requests

5 participants