nextcloud / nextcloud/deck

After editing a tag, creating a new tag does not allow you to change the color of the new tag.

Open
#4,940 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: tags low
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Describe the bug
As seen in the title, whenever you edit a tag, and in the same go create a new tag, you cannot change the colour of the new tag at creation time.

To Reproduce
Steps to reproduce the behavior:

  1. Go to tags in one of your decks.
  2. Edit an existing tag, no need to change anything, just save it.
  3. Create a new tag.
  4. Try to change the color of the new tag, see that it doesn't allow you too.

Expected behavior
The expactation is that you can change the color of the new tag.

Work around
The work around is simple, save the new tag you want to create and edit the color after that, so this isn't a major UI bug that needs fixing immediately. Just found it interesting to have it at least be registered as a known bug.

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 reproducing the issue in a deck's tags UI: save an existing tag, then create a new tag and try to change its color. Trace the edit and create flows to find why the new tag's color control is unavailable; done means a new tag's color can be selected before saving, while the existing workaround still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
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.