nextcloud / nextcloud/deck

"Show archived cards" button behave like a toggle and yet, the labelling changes in a random way

Open
#7,491 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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
Clicking on the "Show Archived Cards" will show the archived cards, but sometimes the button does not change the label.
At the end of the day, it still states "Show archived cards" even when they're already on display.
Then, clicking again on it will work as excepted, ie like a toggle, and it will hide archived cards, and this time, the button's label will actually switch to "Hide archived cards", ie the complete opposite of what we expect.

To Reproduce
Steps to reproduce the behavior:

  • I'm not able to reproduce this 100% of the time.

Expected behavior
Label of the button should adjust in a consistent way

Screenshots
If applicable, add screenshots to help explain your problem.

Client details:

  • OS: Windows
  • Browser Brave
  • Version latest
  • Device:laptop

Workaround Feature request
Change the wording of the label to "Toggle Archive Cards display"

Server details

Operating system:
Debian Trixie running Nextcloud-aio Docker

Web server:

Database:

PHP version:

Nextcloud version: (see Nextcloud admin page)
Nextcloud Hub 25 Autumn (32.0.2) from nextcloud-aio docker image.

Where did you install Nextcloud from:
Docker

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

The issue names no files or tests; start by locating the "Show Archived Cards" button in the Deck frontend and reproduce the inconsistent label update. Done means toggling archived-card visibility always keeps the button label consistent with the current display state.

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.