nextcloud-libraries / nextcloud-libraries/nextcloud-vue

Limit width of items aligned left and right

Open
#7,813 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When the relation between two items in a list is communicated by their horizontal alignment, the space between the left and right sides should be reduced to make the list easier to parse.

This is currently quite bad with keyboard shortcuts as they tend to have short labels with lots of similar items below each other.

As briefly discussed in #7807 and #7811, limiting the size of individual elements is suboptimal. The best solution would most likely be to limit the width of the entire list, and in the case of dialogs, the entire dialog.

For app settings (including keyboard shortcuts), it would likely be done in #7641.

For something like admin settings where the outer container spans the entire page width, not sure what the best solution would be. Maybe a generic container component that limits the width of its content? As this is an issue that affects many lists, not just forms. For example, Files:

Image

cc @ShGKme

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 related issues #7807, #7811, and #7641 to understand the proposed constraints and how app settings are handled. The scope for admin settings and other full-width lists is unresolved; done would require an agreed approach that consistently limits the relevant list or dialog width without harming other layouts.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
design, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.