nextcloud / nextcloud/deck

Sidebar view is not updated when clicking on the title of a card

Open
#4,298 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

  • 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

Context: when the right side panel is open, clicking on the body of a card updates the side panel content to display the details of the card having been clicked.

Bug: when clicking on the title of the card, however, this opens the input field for the title but the side panel still shows the previously "selected" card.

I consider this a bug, or at least a serious usability issue, because I very often end up modifying the wrong card: I rapidly click on it and edit the details in the side panel, only to realize afterwards that I had clicked on the title, and therefore edited another card.

To Reproduce

  1. Create two cards C1 and C2
  2. Open the right side panel and ensure that it displays the details of C1
  3. Click on the title of C2 (the title changes into an input field)
  4. Make a change in the details in the side panel
  5. You have changed C1, not C2

Expected behavior
I would expect that when you click anywhere on a card, including the title, if the side panel is already opened, it is updated to display the details of that card.

NB: this is related, but different from issue #2563. My suggestion is not to change the way clicks on the title behave, but in addition to that, to ensure that the side panel (if open) is updated.

Client details:

  • OS: Linux
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
  • Device: [e.g. iPhone6, desktop]
Server details

Operating system:

Web server:

Database:

PHP version:

Nextcloud version: (see Nextcloud admin page)

Where did you install Nextcloud from:

Signing status:

Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Nextcloud configuration:

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or

Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

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

No files or tests are named. Reproduce the issue with two cards, an open side panel, and a title click, then trace the frontend card-title click and side-panel selection entry points. Done means clicking a card title updates the open side panel to that card while preserving title editing behavior.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.