nextcloud-libraries / nextcloud-libraries/nextcloud-vue

[NcActions] handle events before open and close

Open Beginner friendly
#8,737 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
246
Forks
99
Avg merge
1d 20h
Merged PRs (30d)
103

Description

It would be useful to have, other than open and close events, also opening and closing, to be triggered just before actual opening and closing of the popover.

Use case: in Mail, NcActions is used within an element displayed on hover. When the menu is going to be closed, and the element is no longer hovered (as the user moved to the menu), the menu flies up and down the screen as it has no longer a reference anchor in the DOM. Having some hint about the imminent closure of the menu may help in setting proper display state for all involved elements.

References:

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 by locating the NcActions component and reviewing how its existing open and close events are emitted. Use the EnvelopeSkeleton.vue reference to understand the hover-driven use case; done means opening and closing are available immediately before the corresponding popover transitions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.