plone / plone/mockup

`pat-contentbrowser` contenttype icon is wrong when filtering level

Open
#1,438 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

when filtering the level the contenttype icon is wrong.
possible cause: the async resolveIcon method in contentbrowser/src/utils.js might need some await logic here when redrawing the filtered list ...

https://github.com/user-attachments/assets/28776a3e-b868-464b-8cd6-cbb7d557434a

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.

Research direction

Start in contentbrowser/src/utils.js and inspect the async resolveIcon method while the filtered list is redrawn. Reproduce the wrong contenttype icon using the filtering-level scenario shown in the issue attachment, then verify that icons remain matched to their content types after filtering.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.