Skip to content

Conversation

BrunoQuaresma
Copy link
Collaborator

Closes #658

@BrunoQuaresma BrunoQuaresma requested a review from a team as a code owner April 4, 2022 19:11
@BrunoQuaresma BrunoQuaresma self-assigned this Apr 4, 2022
@codecov
Copy link

codecov bot commented Apr 4, 2022

Codecov Report

Merging #863 (6e29dd2) into main (7833c24) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #863      +/-   ##
==========================================
- Coverage   65.81%   65.79%   -0.02%     
==========================================
  Files         202      207       +5     
  Lines       13209    13333     +124     
  Branches       87       94       +7     
==========================================
+ Hits         8693     8773      +80     
- Misses       3626     3663      +37     
- Partials      890      897       +7     
Flag Coverage Δ
unittest-go- 65.39% <ø> (+0.15%) ⬆️
unittest-go-macos-latest 52.47% <ø> (+0.15%) ⬆️
unittest-go-ubuntu-latest 55.16% <ø> (+0.13%) ⬆️
unittest-go-windows-2022 51.96% <ø> (+0.22%) ⬆️
unittest-js 60.75% <0.00%> (-1.89%) ⬇️
Impacted Files Coverage Δ
site/src/components/Section/Action.tsx 0.00% <0.00%> (ø)
site/src/components/Section/index.tsx 0.00% <0.00%> (ø)
provisionersdk/transport.go 78.72% <0.00%> (-6.39%) ⬇️
coderd/workspaceresources.go 58.94% <0.00%> (-2.04%) ⬇️
peer/conn.go 78.93% <0.00%> (-0.77%) ⬇️
peer/channel.go 83.04% <0.00%> (-0.59%) ⬇️
cli/root.go 76.41% <0.00%> (-0.43%) ⬇️
site/src/app.tsx 0.00% <0.00%> (ø)
site/src/Main.tsx 0.00% <0.00%> (ø)
site/src/pages/404.tsx 0.00% <0.00%> (ø)
... and 26 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7833c24...6e29dd2. Read the comment docs.

)}
{description && typeof description !== "string" && (
<div className={styles.description}>{description}</div>
)}
Copy link
Contributor

Choose a reason for hiding this comment

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

Well thought out!

children: (
<form style={{ display: "grid", gridAutoFlow: "row", gap: 12 }}>
<TextField label="Name" variant="filled" fullWidth />
<TextField label="Email" variant="filled" fullWidth />
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you give an example of using Section.Action?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure thing!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I added it inside of the children props because it is just a wrapper component and maybe it is too much to add a separate storybook for it. What do you think?

@BrunoQuaresma BrunoQuaresma requested a review from presleyp April 5, 2022 14:33
Copy link
Contributor

@presleyp presleyp left a comment

Choose a reason for hiding this comment

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

Great!

@BrunoQuaresma BrunoQuaresma merged commit abf6934 into main Apr 5, 2022
@BrunoQuaresma BrunoQuaresma deleted the bq/section branch April 5, 2022 17:01
@misskniss misskniss added this to the V2 Beta milestone May 15, 2022
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.

Section Component
3 participants