nextcloud-libraries / nextcloud-libraries/nextcloud-vue

AppNavigationItem: Design of Undo

Open
#705 12 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I think we can optimize the design of the undo functionality of AppNavigationItem. Currently, it's hard to differentiate between normal items and undo items. The only difference is the undo action icon and title.

According to the design guidelines, the title should be "Deleted XXX". For some languages, translators need to change the order to "XXX t(deleted)". Hence, for long titles "XXX", the important part "t(deleted)" is not visible anymore.

Therefore, I suggest to add another design element to enhance differentiation between normal items and deleted items. An easy and effective way would be to use a background-color for deleted (undo) items. This could be e.g. color-error, lightened by ~40%. This approach would fit to the planned design change for hover/active/selected, see https://github.com/nextcloud/nextcloud-vue/issues/425#issuecomment-527914136.

Before After
Screenshot Screenshot

What do you think?
/cc @nextcloud/designers @jancborchardt

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 with the AppNavigationItem component and read the linked navigation design guidelines, then review the discussion and referenced hover/active/selected design issue. Done means undo entries are visually distinguishable from normal items without relying only on translated titles, with the result aligned with the agreed design.

Written by the indexing model from the issue text.

Assessment

Domain
design, 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.