nextcloud-libraries / nextcloud-libraries/nextcloud-vue

Create MenuBar-Component

Open
#2,655 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I think it would be a good idea to have a MenuBar-Component like the nextcloud text app has.

We already have the Actions-Component, but that one hides all the elements behind a threedot menu. It also allows elements that do not make sense in such a situation, like textfields or checkboxes.

Therefore it would be good if we had a MenuBar component that only accepts ActionButton-, ActionLink- or ActionSeperator-components. This way apps can quickly create toolbars that are responsive and good looking, without having to resort to reimplementing this functionality.

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 reading the linked MenuBar.vue implementation from nextcloud/text, then inspect the existing Actions component and the ActionButton, ActionLink, and ActionSeperator components in this repository. Done means a reusable responsive toolbar component exists that accepts only those action component types and avoids the unsuitable controls described in the issue.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.