Nextcloud-vue: Filepicker/dialogs component

Created on 5 Oct 2019  路  7Comments  路  Source: nextcloud/nextcloud-vue

In #9 a filepicker component was mentioned as suggestion for a component, but I there is none yet afaik.

I think this would be a helpful improvement.

1. to develop component discussion

Most helpful comment

No, because we should improve things.
I discussed this wit Christoph a few weeks ago.

We should create a Dialog component here.
But we should also create a proper way to call a standalone component in dialogs (file picker, password input, prompt & confirm),to replace what we currently have in server.
The same way we call the Toasts. showDialogPrompt(...), showFilePicker(...)... etc etc

So component here, shorthands and easy accessible functions in dialogs :)

All 7 comments

I think we should have one yes! :)
There was also a request for a npm library to allow picking files from other non nextcloud apps. Some kind of all-in-one nextcloud file picker :)

There was also a request for a npm library to allow picking files from other non nextcloud apps. Some kind of all-in-one nextcloud file picker :)

Which other apps? And where would you use this? Could you give an example, please?

Well, it's not something for this library.
https://github.com/nextcloud/server/issues/2028

It would be a library that allow you to somewhat authorise the integration of the picker from another website and pick a file. But that's irrelevant from here (only the design could be similar) and more importantly, faaaar from being on our roadmap ;)

Sorry for the annoyance! :see_no_evil:

I am fine with the filepicker in nextcloud/dialogs. Should we close this here then?

No, because we should improve things.
I discussed this wit Christoph a few weeks ago.

We should create a Dialog component here.
But we should also create a proper way to call a standalone component in dialogs (file picker, password input, prompt & confirm),to replace what we currently have in server.
The same way we call the Toasts. showDialogPrompt(...), showFilePicker(...)... etc etc

So component here, shorthands and easy accessible functions in dialogs :)

I had some issues with the current filepicker. I'll put them here, also because @georgehrke is contributing to this issue. Please tell me if this is the wrong place.

Nextcloud version: 18.0.3
Contacts verion: 3.3.0

I was trying to add a photo to a contact. I opened the contact, clicked on the circle on the left of the name and selected the option to choose a file already uploaded in my Nextcloud instance.

Here are the two problems:

  1. I cannot select the file by tag. I try to tag my photos, the photos I have of that person were tagged. Yet I had to go back to the File app to have the possibility to search by tag
  2. Once I knew which was the right photo, I went back to the contact app, did the same passages and opened the filepicker. The names of the files are ellipsized.... This means that if you have a folder with photos of the same days with name format like yyyymmdd_hhmmss, all you can see is something like yyyymm....mmss. That means that picking the right photo is difficult.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

raimund-schluessler picture raimund-schluessler  路  3Comments

korelstar picture korelstar  路  8Comments

skjnldsv picture skjnldsv  路  9Comments

jancborchardt picture jancborchardt  路  9Comments

rullzer picture rullzer  路  7Comments