nextcloud-libraries / nextcloud-libraries/nextcloud-vue

Allow custom actions inside Actions component

Open
#1,962 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

As a developer, I want to use custom actions inside the action slot to deduplicate code.

I.e. in polls we created a custom action for deletion of several items: https://github.com/nextcloud/polls/blob/master/src/js/components/Actions/ActionDelete.vue

Currently actions component must be registered and applied inside the custom component, wich prevents using it inside an actions menu.

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 reviewing the referenced polls ActionDelete.vue and the nextcloud-vue Actions component to understand how actions are currently registered and placed in the action slot. Confirm the desired integration path for custom actions, then verify that a custom deletion action can appear in an actions menu without being registered inside its own component.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.