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

Port prior components as stories #60

Merged
merged 15 commits into from
Nov 5, 2020
Merged

Port prior components as stories #60

merged 15 commits into from
Nov 5, 2020

Conversation

jonnyelliot
Copy link
Contributor

The first batch of components from #50

These are just stories at the moment. @stuarthendren what are your thoughts on adding in as proper components?

DescribedSelector

image

ConfirmDialog
image

PageHeading
image

ErrorMessage
image

ErrorBoundary
image

EmptyState
image

@commitd-bot
Copy link
Contributor

commitd-bot commented Nov 5, 2020

Warnings
⚠️ Please assign someone to merge this PR, and optionally include people who should review.

Generated by 🚫 dangerJS against 263ab6c

@stuarthendren
Copy link
Contributor

I guess we should put them in this release as stories and maybe do a vote on how to proceed. I think some are good candidates for components; my concern is more about them getting too large to really be considered components. I think things like Login is at the limit. Login itself is particular awkward as it is so common it probably merits being a component but anything else that size/complex wouldn't.

I'll put this on top of my changes and get it released.

@stuarthendren
Copy link
Contributor

(Should have probably made the PR to my branch, but not to worry now)

@jonnyelliot jonnyelliot changed the base branch from master to sh-develop November 5, 2020 11:41
This reverts commit 774473e.
@stuarthendren
Copy link
Contributor

Just looking at the images - I think the confirm dialog should have the Confirm should be on the right n(https://uxmovement.com/buttons/why-ok-buttons-in-dialog-boxes-work-best-on-the-right/) and the other button, would be better in the text variant.

package.json Outdated Show resolved Hide resolved
stories/components/describedselector/DescribedSelector.tsx Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
stories/components/dialog/ConfirmDialog.tsx Show resolved Hide resolved
stories/components/dialog/ConfirmDialog.tsx Outdated Show resolved Hide resolved
stories/components/errormessage/ErrorMessage.tsx Outdated Show resolved Hide resolved
Base automatically changed from sh-develop to master November 5, 2020 16:40
jonnyelliot and others added 3 commits November 5, 2020 16:45
Reworks the Theme provider to be clearer about the functionality.
Minor improvements elsewhere with more components and support functions re-exported from material, including the labs components.
@sonarcloud
Copy link

sonarcloud bot commented Nov 5, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@stuarthendren stuarthendren merged commit c7f1277 into master Nov 5, 2020
@stuarthendren stuarthendren deleted the je-components branch November 5, 2020 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants