keep icon indicating copy to clipboard operation
keep copied to clipboard

feat: Refactoring workflow builder to use React Flow

Open Bhavyajain21 opened this issue 1 year ago • 2 comments
trafficstars

Closes #1451

Bhavyajain21 avatar Jul 29 '24 16:07 Bhavyajain21

@Bhavyajain21 is attempting to deploy a commit to the KeepHQ Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jul 29 '24 16:07 vercel[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 29 '24 16:07 CLAassistant

@Bhavyajain21 ready for review?

shahargl avatar Aug 12 '24 06:08 shahargl

Yes @shahargl

Bhavyajain21 avatar Aug 12 '24 06:08 Bhavyajain21

@Bhavyajain21 all issues that were raised in yesterday's demo are already implemented?

talboren avatar Aug 12 '24 06:08 talboren

Yes @talboren , we've tried to bring it as close as possible. Please review!

Bhavyajain21 avatar Aug 12 '24 06:08 Bhavyajain21

@Bhavyajain21 all issues that were raised in yesterday's demo are already implemented?

@talboren there are some things left. like validations and few things. we might need some time. will update you by EOD

FYI: @Bhavyajain21

rajesh-jonnalagadda avatar Aug 12 '24 06:08 rajesh-jonnalagadda

@talboren can you please check now in your local

rajesh-jonnalagadda avatar Aug 12 '24 11:08 rajesh-jonnalagadda

@talboren / @shahargl , the PR is now ready for review!

Bhavyajain21 avatar Aug 12 '24 15:08 Bhavyajain21

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
keep ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 1, 2024 3:34pm

vercel[bot] avatar Aug 25 '24 07:08 vercel[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 30.66%. Comparing base (6d5c759) to head (6b8648d). Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1488      +/-   ##
==========================================
- Coverage   30.68%   30.66%   -0.02%     
==========================================
  Files          54       54              
  Lines        5028     5031       +3     
==========================================
  Hits         1543     1543              
- Misses       3485     3488       +3     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Aug 25 '24 07:08 codecov[bot]

There's still a lot of code to be removed (everything related with sequential-workflow-designer)

cc: @Bhavyajain21 @rajeshj11

talboren avatar Aug 25 '24 15:08 talboren

  1. toolbox hides error message CleanShot 2024-08-25 at 18 12 45
  2. is this mandatory? CleanShot 2024-08-25 at 18 13 32

talboren avatar Aug 25 '24 15:08 talboren

https://github.com/user-attachments/assets/39131671-b601-41d7-8d4f-f11c2950468d

talboren avatar Aug 25 '24 15:08 talboren

@Bhavyajain21 can you please check the @talboren comments. I will be available from tomorrow

rajesh-jonnalagadda avatar Aug 25 '24 16:08 rajesh-jonnalagadda

  1. toolbox hides error message CleanShot 2024-08-25 at 18 12 45
  2. is this mandatory? CleanShot 2024-08-25 at 18 13 32

poin1 is fixed. point 2 yes it is mandatory

rajesh-jonnalagadda avatar Aug 26 '24 09:08 rajesh-jonnalagadda

CleanShot.2024-08-25.at.18.18.18.mp4

During the deployment of the preview workflow, an issue was encountered. This has now been resolved. However, if the problem persists, it may be due to the frontend service not being operational. Please verify that the frontend service is running when you are deploying the workflow.

rajesh-jonnalagadda avatar Aug 26 '24 09:08 rajesh-jonnalagadda

@talboren , the changes are pushed by @rajeshj11 . Can you please review?

Bhavyajain21 avatar Aug 26 '24 13:08 Bhavyajain21

@talboren (as discussed in slack) In the toolbox, you'll have 3 new "Triggers" dragable steps It can only go in the beginning and it defines what triggers the workflow has

  1. We will add a new group to the toolbox. Please suggest a name for this group and the corresponding node names so I can begin working on it.
  2. Once a node from this group is added, it will be disabled in the toolbox to prevent users from adding duplicate trigger nodes.
  3. The start node cannot be removed, as it serves as the essential entry point for beginning the development process.
  4. The initial connection from the start node must always link to one of the three specified nodes; other nodes will not be permitted for this connection. (I need clarification on this point.)
  5. not sure why it needs to be draggable. (it is doable. still want to know why it is needed)

rajesh-jonnalagadda avatar Aug 27 '24 16:08 rajesh-jonnalagadda

@Bhavyajain21 @rajeshj11 please note that tests are failing :(

talboren avatar Aug 28 '24 12:08 talboren

@Bhavyajain21 @rajeshj11 please note that tests are failing :(

on it

rajesh-jonnalagadda avatar Aug 28 '24 12:08 rajesh-jonnalagadda

@Bhavyajain21 @rajeshj11 please note that tests are failing :(

now tests are passed. please check

rajesh-jonnalagadda avatar Aug 28 '24 13:08 rajesh-jonnalagadda

A few comments: Save button is redundant, it made me not understand what's wrong with the workflow until I clicked on it. Triggers: We need validation for workflow saying "No triggers were configured, please configure at least 1 trigger" If I add manual trigger, there is not reason to check the box We need to add some divider for the configuration part If trigger was added, if should be removed from the toolbox (e,.g., it's confusing that I still have manual when it's already in the workflow and I can't do anything with it) Instead of "Trigger end" change to "Workflow start"

image image image

talboren avatar Sep 01 '24 11:09 talboren