plone / plone/mockup

pat-contentbrowser: unused and missing pattern arguments

Open
#1,550 1 comment 0 reactions 3 assignees View on GitHub

@1letter is already working on this.

Since Mar 9, 2026.

01 type: bug
Dominant language
JavaScript
Stars
57
Forks
103
Avg merge
10h 25m
Merged PRs (30d)
18

Description

While trying to customize the SelectedItem component of the contentbrowser app, I recognized the following:

  • The selection-template argument is nowhere used. It can probably removed.
  • The layout Svelte property is not defined in the parser, but documented and used in the code. It cannot be configured via pattern options and need to be added to the arguments.
  • The custom-component-keys argument is documented, but in code it is used as componentRegistryKeys. This maybe should be aligned to the documentation, as I think the naming of custom-component-keys is more clear than component-registry-keys. Is is it already used in production and therefore the documentation should be adapted? We can also add an alias, so there is a BBB compatibility with old code.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.