Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook Workflow into BuildEngine #1020

Draft
wants to merge 28 commits into
base: feature/svelte-workflows
Choose a base branch
from

Conversation

FyreByrd
Copy link

@FyreByrd FyreByrd commented Oct 1, 2024

This PR will probably need to be closed and reopened as a new one once feature/svelte-workflows is merged.

@FyreByrd FyreByrd force-pushed the feature/svelte-flow-buildengine branch 3 times, most recently from 34a5f71 to 26c59fc Compare October 3, 2024 15:30
@FyreByrd FyreByrd force-pushed the feature/svelte-flow-buildengine branch 8 times, most recently from 834b80c to e8e6651 Compare October 10, 2024 15:40
@FyreByrd FyreByrd force-pushed the feature/svelte-flow-buildengine branch 2 times, most recently from 1baa977 to 57a821e Compare October 16, 2024 18:27
- Create Product
- Build Product
- Publish Product
That was the problem? Seriously???
Handles multiple potential use cases:
- Reassign tasks from one list of users to another.
- Delete all tasks for a product/project, optionally limit by user or user role.
- Create new tasks, optionally by user or role.
- Update tasks, optionally by user or role. (This is the main one used by workflow)

In all cases, can be applied to either a single product, or all products within a project. Will also refresh the PreExecuteEntries (i.e. blank-ish ProductTransitions that show the ideal path beyond the current workflow state).

Updated `databaseWrites/Projects.ts` and `workflow/index.ts` to use the new code.
Will this result in the desired behavior if a user has multiple roles? What if, for some unfathomable reason, a user is both a project owner and an Author on the same project? As of right now, all tasks for that user in that project will be deleted, regardless of role. Should a user be prevented from having more than one role for a project?
@FyreByrd FyreByrd force-pushed the feature/svelte-flow-buildengine branch from 57a821e to 95bb408 Compare October 18, 2024 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant