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

feat(frontend): add required gates to cli automate page #2948

Merged
merged 6 commits into from Jul 17, 2023

Conversation

jorgeepc
Copy link
Contributor

This PR adds the required-gates option to the CLI Automate page.

Changes

  • add required-gates option to automate

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

Loom

https://www.loom.com/share/75371b5017cf42b49fe771514cdea079?sid=77d6dab5-1b96-498e-b360-72e4186ce400

@jorgeepc jorgeepc self-assigned this Jul 14, 2023
Copy link
Collaborator

@schoren schoren left a comment

Choose a reason for hiding this comment

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

LGTM! my only comment would be to make it explicit that this is an override. like maybe the form field name could be "Override default required gates".

Copy link
Collaborator

@xoscar xoscar left a comment

Choose a reason for hiding this comment

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

Hey @jorgeepc I left a couple of questions for some improvements

@@ -82,6 +85,20 @@ const Controls = ({onChange, id, environmentId, fileName, resourceType}: IProps)
</Form.Item>
))}
</S.OptionsContainer>

<S.RequiredGatesContainer>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would it make sense to have the values be the "pretty" version similar to what we have on the settings page?
We could also have them default to the global values

And finally, something that would help users understand that the required gates are, a tooltip or something

Base automatically changed from feat/add-transaction-automate-page to main July 17, 2023 16:41
@jorgeepc jorgeepc merged commit f4c5299 into main Jul 17, 2023
26 checks passed
@jorgeepc jorgeepc deleted the feat/add-required-gates-automate-page branch July 17, 2023 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants