Replies: 2 comments 5 replies
-
I'm always open to PRs. Biggest caveat here is how all of it is passed to the panel, because all of the functionality would happen at the panel level. In my mind though the picker shouldn't care about any of it. The picker just opens the modal. And directories are managed in the panel Lw component. There really is a lot to the functionality when it comes to moving media between directories etc. |
Beta Was this translation helpful? Give feedback.
-
Like what happens if a picker defines a directory and limits its results to said directory, but then the media item gets moved to another directory. It would no longer be available to the picker. But would still be part of that picker field's data. |
Beta Was this translation helpful? Give feedback.
-
Hey Adam,
some time ago we had a discussion on Twitter/X regarding the directory feature for Curator. Unfortunately the search is currently broken and I am unable to link to it.
However, you mentioned that it was quite complicated an I wanted to pitch you my idea that might simplify it a bit.
Every field has a base directory from which all the capabilities are derived.
There are several capabilities every field can have:
The new configuration options on the field would look like this:
Furthermore there would be default if one of these has not been set which can be changed in the config.
@awcodes does this look good to you? Would you principally be open to merge a PR with this functionality?
Beta Was this translation helpful? Give feedback.
All reactions