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(storybook): Add storybook story for RoutePropertiesCard #2609

Merged
merged 2 commits into from
May 20, 2024

Conversation

joshlarson
Copy link
Contributor

No description provided.

@joshlarson
Copy link
Contributor Author

@mbta/skate-developers at the risk of slightly bikeshedding... I started experimenting with atomic design, and put this in the molecules folder, but ... now that I think about it, it's more of an organism?

What do you all think?

Copy link

Coverage of commit 5a051e1

Summary coverage rate:
  lines......: 93.6% (3242 of 3465 lines)
  functions..: 73.4% (1341 of 1828 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

Copy link

Coverage of commit 5f7ae18

Summary coverage rate:
  lines......: 93.6% (3242 of 3465 lines)
  functions..: 73.4% (1341 of 1828 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

@hannahpurcell
Copy link
Collaborator

@mbta/skate-developers at the risk of slightly bikeshedding... I started experimenting with atomic design, and put this in the molecules folder, but ... now that I think about it, it's more of an organism?

Whatever term you choose here can completely be reworked in the subsequent atomic design task. And perhaps some a definition guide will be useful when that work is done. Personally, I'd be drawn to terms that fit our context / needs like atom, compound, layoutElement, page. The atomic design terms like organism are great for the analogy / idea, but I wouldn't use it in the final product because they can be interpreted so differently based on context.

@joshlarson joshlarson force-pushed the jdl/stories/story-for-route-properties-card branch from 5f7ae18 to f9074b3 Compare May 20, 2024 18:44
@joshlarson joshlarson changed the base branch from main to jdl/tests/simplify-rpc-tests May 20, 2024 18:44
Copy link
Collaborator

@hannahpurcell hannahpurcell left a comment

Choose a reason for hiding this comment

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

Oops, I should have nodded to my comment in my approval, but ultimately I think molecule is fine here, and I have some ideas for renaming when we do the rest of the organizational change to storybook

Base automatically changed from jdl/tests/simplify-rpc-tests to main May 20, 2024 18:47
@joshlarson
Copy link
Contributor Author

Whatever term you choose here can completely be reworked in the subsequent atomic design task. And perhaps some a definition guide will be useful when that work is done.

Yeah that's a good point. Maybe for the immediate moment, I'll put it at the top level, and then once we make a Real Decision™, we can move it around.

Personally, I'd be drawn to terms that fit our context / needs like atom, compound, layoutElement, page. The atomic design terms like organism are great for the analogy / idea, but I wouldn't use it in the final product because they can be interpreted so differently based on context.

Huh, I hadn't even thought of straying away from the exact terms in the atomic design doc.... but yeah, we should definitely aim for things that meet our needs and aren't confusing!

Copy link

Coverage of commit f9074b3

Summary coverage rate:
  lines......: 93.6% (3242 of 3465 lines)
  functions..: 73.4% (1341 of 1828 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

@joshlarson joshlarson force-pushed the jdl/stories/story-for-route-properties-card branch from 32efbe9 to 648cb8d Compare May 20, 2024 18:53
@joshlarson joshlarson enabled auto-merge (squash) May 20, 2024 18:54
@joshlarson joshlarson merged commit f569ca6 into main May 20, 2024
9 checks passed
@joshlarson joshlarson deleted the jdl/stories/story-for-route-properties-card branch May 20, 2024 19:10
Copy link

Coverage of commit dc63f35

Summary coverage rate:
  lines......: 93.6% (3242 of 3465 lines)
  functions..: 73.4% (1341 of 1828 functions)
  branches...: no data found

Files changed coverage rate: n/a

Download coverage report

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.

2 participants