After update to 1.0.1 when I want to attach a file to a card only a blank popup appears with a "Choose attachement" label.
I can't interact with it, drag & drop doesn't work.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Popup should allow to choose or upload a file
Client details:
Server details
OS: Debian
Nextcloud version: 18.0.4
Deck version: 1.0.1
No errors have been found.
Logs
Insert your browser log here, this could for example include:
a) Javascript console log :
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://nc.c-l.io/apps/files_videoplayer/js/main.js?v=30815e73-24
URL du lien source : main.js.map
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://nc.c-l.io/core/js/dist/main.js?v=30815e73-24
URL du lien source : main.js.map
2
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://nc.c-l.io/apps/deck/js/collections.js?v=30815e73-24
URL du lien source : collections.js.map
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://nc.c-l.io/apps/files_sharing/js/dist/main.js?v=30815e73-24
URL du lien source : main.js.map
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://nc.c-l.io/apps/notifications/js/notifications.js?v=30815e73-24
URL du lien source : notifications.js.map
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://nc.c-l.io/apps/deck/js/deck.js?v=30815e73-24
URL du lien source : deck.js.map
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://nc.c-l.io/apps/notifications/js/notifications.js?v=30815e73-24
URL du lien source : notifications.js.map
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://nc.c-l.io/apps/spreed/js/collections.js?v=30815e73-24
URL du lien source : collections.js.map
2
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://nc.c-l.io/apps/deck/js/3.js
URL du lien source : 3.js.map
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://nc.c-l.io/core/js/dist/main.js?v=30815e73-24
URL du lien source : main.js.map
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://nc.c-l.io/apps/deck/js/deck.js?v=30815e73-24
URL du lien source : deck.js.map
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://nc.c-l.io/apps/deck/js/2.js
URL du lien source : 2.js.map
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://nc.c-l.io/apps/files_sharing/js/dist/collaboration.js?v=30815e73-24
URL du lien source : collaboration.js.map
Erreur dans les liens source : Error: NetworkError when attempting to fetch resource.
URL de la ressource : https://nc.c-l.io/apps/deck/js/deck.js?v=30815e73-24
URL du lien source : deck.js.map
You have to upload an attachment first (Cardsidebar -> Attachments)

@jakobroehrl Maybe it would be a good enhancement to also allow uploads from the file picker that is opened in the description.
It's certain that when a user click on a button labelled "Add attachement", he expects to be able to add an attachment...
We can't hope a user to fathom what to do before a blank popup ! :)
A friend of mine just had the same problem. It may also be helpful to rename "Add attachment" to "Link attachment" or something. This would lead to less confusion.
unassign because PR is ready
No need to comment for that, just do it :wink:
Most helpful comment
@jakobroehrl Maybe it would be a good enhancement to also allow uploads from the file picker that is opened in the description.