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(core/presentation): Add "success" type to ValidationMessage #7082

Conversation

christopherthielen
Copy link
Contributor

Adds success status

<ValidationMessage message="The quick brown fox jumps over lazy dog" type="success" />
Screen Shot 2019-06-04 at 10 37 03 AM

Adds none status

Screen Shot 2019-06-04 at 10 44 46 AM

This status is unstyled

Adds icon to message status

<ValidationMessage message="The quick brown fox jumps over lazy dog" type="message" />
Screen Shot 2019-06-04 at 10 42 55 AM

This icon comes from the forms mockups greg comstock designed. Note that we intend to style the message status further in the future, according to mockups.

Support showing/hiding the icon

<ValidationMessage message="The quick brown fox jumps over lazy dog" type="error" />
Screen Shot 2019-06-04 at 10 34 38 AM

<ValidationMessage message="The quick brown fox jumps over lazy dog" type="error" showIcon={false}/>
Screen Shot 2019-06-04 at 10 34 52 AM

@christopherthielen christopherthielen merged commit f89d97d into spinnaker:master Jun 4, 2019
@christopherthielen christopherthielen deleted the validation-message-success branch June 4, 2019 18:35
christopherthielen added a commit to christopherthielen/deck that referenced this pull request Jun 5, 2019
8398d77 refactor(*): make accountExtractor return an array of strings (spinnaker#7068)
e6d1586 feat(core/presentation): support JSX for validationMessage in FormFields (spinnaker#7083)
78a9f72 fix(core): Disable rewriteLinks to allow proper event handling (spinnaker#7064)
3f21c1f feat(executions): Adding redirect for execution without application (spinnaker#7076)
f89d97d feat(core/presentation): Add "success" type to ValidationMessage (spinnaker#7082)
4e89a39 refactor(core/presentation): Consolidate Checklist and ChecklistInput components (spinnaker#7077)
9bbc002 feat(core/presentation): Support inline radio buttons (spinnaker#7078)
b142789 fix(triggers): Poll on execution id instead of event id (spinnaker#7067)
6af93e3 refactor(pipeline): Pipeline stage execution details to react (spinnaker#7063)
christopherthielen added a commit that referenced this pull request Jun 5, 2019
8398d77 refactor(*): make accountExtractor return an array of strings (#7068)
e6d1586 feat(core/presentation): support JSX for validationMessage in FormFields (#7083)
78a9f72 fix(core): Disable rewriteLinks to allow proper event handling (#7064)
3f21c1f feat(executions): Adding redirect for execution without application (#7076)
f89d97d feat(core/presentation): Add "success" type to ValidationMessage (#7082)
4e89a39 refactor(core/presentation): Consolidate Checklist and ChecklistInput components (#7077)
9bbc002 feat(core/presentation): Support inline radio buttons (#7078)
b142789 fix(triggers): Poll on execution id instead of event id (#7067)
6af93e3 refactor(pipeline): Pipeline stage execution details to react (#7063)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants