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

feat(popup-menu): allow to initially hide elements #748

Merged
merged 4 commits into from
Feb 6, 2023

Conversation

nikku
Copy link
Member

@nikku nikku commented Feb 3, 2023

Allows integrators to assign a rank < 0 to entries to hide them from the initial list of items. These items will appear once searched for.

Related to bpmn-io/bpmn-js#1621

@smbea
Copy link
Contributor

smbea commented Feb 3, 2023

The approach looks good but seems like we have some test failures. Feel free to tag me once that's ready too

This accounts for UI re-rendering to be async and consistently
handles it when causing effects, i.e. through initial rendering
or by triggering events.
@nikku nikku force-pushed the popup-menu-priority branch 3 times, most recently from d5e662f to 19ab48c Compare February 3, 2023 23:41
Prevents flickering during initial render.
Allows integrators to assign a rank < 0 to entries to hide them from
the initial list of items. These items will appear once searched for.

Related to bpmn-io/bpmn-js#1621
@nikku nikku merged commit 9a1bf33 into develop Feb 6, 2023
@nikku nikku deleted the popup-menu-priority branch February 6, 2023 08:43
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants