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

Broadcast execution completed #1023

Merged
merged 2 commits into from
Dec 2, 2022
Merged

Broadcast execution completed #1023

merged 2 commits into from
Dec 2, 2022

Conversation

fabriziosestito
Copy link
Member

@fabriziosestito fabriziosestito commented Dec 1, 2022

Adds the updated execution completed action dispatch when the BE receives an execution completed event from wanda.

NOTE:
I had to add the channel and the callback manually and couldn't rely on the registerEvents utility function since the name of the action and the message sent to the phoenix channel differs.
Also, I'd like to use action constants instead of generating the name of the action so I will track a debt to track an improvement on this side.

Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a tiny thing then we can merge

assets/js/state/index.js Outdated Show resolved Hide resolved
@fabriziosestito fabriziosestito force-pushed the broadcast-execution-completed branch from 1291218 to ab558cd Compare December 1, 2022 15:26
Copy link
Contributor

@arbulu89 arbulu89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @fabriziosestito ,
Let's use the action function instead of importing the action key and creating the payload manually

assets/js/state/index.js Outdated Show resolved Hide resolved
@fabriziosestito fabriziosestito force-pushed the broadcast-execution-completed branch 2 times, most recently from faedcf7 to 7cb31b4 Compare December 1, 2022 16:45
@fabriziosestito fabriziosestito force-pushed the broadcast-execution-completed branch from 7cb31b4 to e0531e5 Compare December 1, 2022 17:07
Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@arbulu89 arbulu89 merged commit 6d6bc57 into main Dec 2, 2022
@arbulu89 arbulu89 deleted the broadcast-execution-completed branch December 2, 2022 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

3 participants