Workflow Improvements
Open
Nobody has claimed this yet.
enhancement
feature: workflows
overview
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
- have one app that can do copy/move/etc (so it's a "complete" rules - action - argument thing)
@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
- Dispatcher Events: currently we rely on GenericEvents, but it is not reliable (i.e. tagging is using the deprecated Disptacher's Event subclass) and we actually have an offical API subclass (based on GenericAPI). These needs to be ironed out to work generally:
- WFE should either require
\OCP\EventDispatcher\Eventor find a good way for any of those. Related: https://github.com/nextcloud/server/pull/17085 - switch File events (and move event names to constants)
- maybe change tagging events to be based on
\OCP\EventDispatcher\Event
- WFE should either require
- optimize File entity to fetch nodes from the respective userFolder, not rootFolder
- ensure user-scoped rules to not access foreign objects
- OCC command for admins to manipulate the workflow, at least to disable user workflows that might be stressful for the instance
- CompoundEntity – predefined for end users: an entity with one or more checkres, e.g. "Picture" (File + mimetype) or "One on one" (direct chat).
- add more entities (see use cases)
- add more operations (see use cases)
Frontend
- Move system tag selector to vue components https://github.com/nextcloud/nextcloud-vue/pull/568
- Handle validation on inputs before sending (enhancement)
- Check if fetching tags incremental is working
- Comments from https://github.com/nextcloud/server/pull/16706
- Remove additional style import https://github.com/nextcloud/server/pull/17367#discussion_r330947557
UX
- when choosing "Images" as mime type, the checker will only work when the operator is "matches", not "is"
App modifications
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 reviewing the unchecked Backend, Frontend, UX, and App modifications items, along with the referenced pull requests. The issue names no files, tests, or single entry point, so first identify one narrowly scoped missing piece. Done would require completing that piece and validating its related workflow behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- backend, frontend, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 18/100