Skip to content

feat(pat-contentbrowser): Display review state indicators (styling) for items - #1665

Open
luxcas wants to merge 1 commit into
masterfrom
1664-pat-contentbrowser-display-review-state-indicators-styling-for-items
Open

luxcas wants to merge 1 commit into
masterfrom
1664-pat-contentbrowser-display-review-state-indicators-styling-for-items

Conversation

@luxcas

@luxcas luxcas commented Nov 6, 2026

Copy link
Copy Markdown

Color the item title according to its workflow state using the Plone CSS variable --plone-state-<review_state>. Items are rendered with a state-<review_state> CSS class, and only non-published states receive a color so published items keep the default text color.

Fixes #1664

  • [x ] I signed and returned the Plone Contributor Agreement, and received and accepted an invitation to join a team in the Plone GitHub organization.
  • [ x] I verified there aren't any other open pull requests for the same change.
  • [ x] I followed the guidelines in Contributing to Plone.
  • [ x] I successfully ran code quality checks on my changes locally.
  • [ x] I successfully ran tests on my changes locally.
  • If needed, I added new tests for my changes.
  • If needed, I added documentation for my changes.
  • [ x] I included a change log entry in my commits.

If your pull request closes an open issue, include the exact text below, immediately followed by the issue number. When your pull request gets merged, then that issue will close automatically.

Currently, in Plone 6, the pat-contentbrowser listing does not visually distinguish content items based on their review state (e.g., private, pending, published). When content editors and users browse and select items through the content browser, the lack of workflow state differentiation makes it harder to quickly identify the publication status of items, which can lead to usability friction.

I would like pat-contentbrowser to display visual indicators (such as color-coded text or workflow-specific CSS classes reflecting the standard Plone review states, similar to other listing views in Plone) to clearly distinguish items by their review state.

Closes #1664

Color the item title according to its workflow state using the Plone CSS variable --plone-state-<review_state>. Items are rendered with a state-<review_state> CSS class, and only non-published states receive a color so published items keep the default text color.

Fixes #1664

This branch has not been deployed

No deployments
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.

pat-contentbrowser: Display review state indicators (styling) for items

2 participants