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

Shared State w/ Hooks #84

Merged
merged 20 commits into from
Jul 10, 2019
Merged

Shared State w/ Hooks #84

merged 20 commits into from
Jul 10, 2019

Conversation

kyleknighted
Copy link
Contributor

@kyleknighted kyleknighted commented Jun 18, 2019

Bypassed the reliance of Reflux to just use Hooks to manage the state of the fields.

src/web/aws-cloudwatch/CloudWatchContext.jsx Outdated Show resolved Hide resolved
src/web/aws-cloudwatch/FormAdvancedOptions.jsx Outdated Show resolved Hide resolved
Copy link
Member

@dennisoelkers dennisoelkers left a comment

Choose a reason for hiding this comment

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

I noticed that when I am changing the AWS Key, I cannot proceed to the next step, but I also get no feedback what went wrong.

src/web/aws-cloudwatch/CloudWatch.jsx Outdated Show resolved Hide resolved
src/web/aws-cloudwatch/StepHealthCheck.jsx Show resolved Hide resolved
</li>
<li>
<strong>Global Input</strong>
<span>{(formData.awsCloudWatchGlobalInput && formData.awsCloudWatchGlobalInput.value) ? 'true' : 'false'}</span>
Copy link
Member

Choose a reason for hiding this comment

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

We could also use a glyph (checkmark/cross) in here?

);
}
const format = (numString) => {
return Number(numString).toLocaleString('en-US');
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should leave out the locales so we are defaulting to the browser/os setting?

@dennisoelkers dennisoelkers merged commit 3cf005b into aws Jul 10, 2019
@dennisoelkers dennisoelkers deleted the react_hook_state branch July 10, 2019 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants