Open blizzz opened 5 years ago
cc @karlitschek
Here's a super simple and not pretified mockup of what I imagine it'd be able to do.
I agree with the mockup from @jospoortvliet This is how it should a unified UI should work. An additional new feature would be to make it (optionally) possible for normal users to also define workflows for themselfs. We should also have new actions like send notification or email.
@nickvergessen FYI
Unifiying the UI is pre-dominantly frontend work and with this it would be reasonable to migrate this part to Vue.js, too. I can do that, but will take me some time as I am not that familiar with this frontend stack, yet.
Enabling workflows for regular users (perhaps groups?) would need deeper refactoring on the backend and we need to figure out what makes sense to provide to end users. URL criteria probably not, and external scripts neither, that'll be de-facto RCE :)
Just for the record, as said in the meeting: I think moving them to the same sidebar entry is a good step forward. Whether they should all be in one list or something, I don't know.
The cases of access control I saw so far are quite heavy, at least mixing that in between autotagging/pdf converting/other workflow stuff sounds like creating more confusion and less overview.
The section was renamed in #14291 for 16. The other tasks are delayed for 17.
I've updated the op to reflect the missing pieces from #16682 @blizzz Please extend if you remember anything else
@blizzz Please extend if you remember anything else
done!
igure out how to best deal with the case that users want to trigger an action when a file is put in a specific folder. This can happen because a file was moved, copied AND uploaded into a folder... In the current UI they have to add 3 filters, or at least one filter with 3 triggers, that isn't clear to users.
Aye, it would be good if we can multiselect the triggering events. The backend supports that.
@jospoortvliet I understand what you mean is to have one, unified GUI for any app that takes advantage of the workflow engine
Missing pieces from #16682
Backend
\OCP\EventDispatcher\Event
or find a good way for any of those. Related: https://github.com/nextcloud/server/pull/17085\OCP\EventDispatcher\Event
Frontend
UX
App modifications