nextcloud-libraries / nextcloud-libraries/nextcloud-vue

Make all actions renderable as standalone action

Open
#912 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

In the documentation, it is stated that "If only a single action is provided, it will be rendered as an inline icon" (See https://nextcloud-vue-components.netlify.com/#/Components/Actions).

Apparently, it is the case only for ActionLink, ActionRouter, and ActionButton (see https://github.com/nextcloud/nextcloud-vue/blob/f9509f67f87c00b14eb074406e6b53502f2bed72/src/components/Actions/Actions.vue#L239)

Could it be possible to make the other actions also renderable as standalone actions?

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 src/components/Actions/Actions.vue at the referenced rendering logic and compare how ActionLink, ActionRouter, and ActionButton are handled with the remaining action types. Ensure every action type can render as a standalone action when only one is provided, and verify that behavior against the documentation statement.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.