Link preview for card is not updated
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
It seems like the preview is never updated when linking to a different card.
To Reproduce
Steps to reproduce the behavior:
- Open a board
- Create a stack
- Create two cards in that stack
- Open the description of one of the cards (Card A)
- Use the Smart Picker to link to the other card (Card B), turning on the link preview
- Create a second stack
- Move the other card (Card B) to the second stack
- Open the first card (Card A) and notice that the preview was not updated and thus falsely claims that the second card (Card B) is part of the first stack, even though you just moved it
- Reload the page, nothing changes
Expected behavior
The preview is updated accordingly and states that the second card (Card B) is part of the second stack.
Screenshots
If applicable, add screenshots to help explain your problem.
Client details:
- OS: [e.g. iOS] Linux
- Browser [e.g. chrome, safari] Firefox
- Version [e.g. 22] 142
- Device: [e.g. iPhone6, desktop] desktop
Server details
Operating system:
Web server:
Database:
PHP version:
Nextcloud version: 31.0.8
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in a Deck board using two cards, two stacks, and a Smart Picker link preview. Trace the card link preview behavior from there; the work is done when moving the linked card updates the preview to show its new stack, including after a reload.
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
- 42/100