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: first draft of conventions doc #1615

Merged
merged 1 commit into from
Jun 9, 2023
Merged

Conversation

priya-chatwani
Copy link
Contributor

Description

First pass of a conventions doc

Motivation and Context

#1146

How Has This Been Tested?

Screenshots (if appropriate):

Documentation Changes

conventions.md

Checklist:

  • My change requires a change to the documentation.
  • I have included updates for the documentation accordingly.

@priya-chatwani priya-chatwani force-pushed the feat/add-conventions branch from 1507643 to 5dbc83f Compare May 22, 2023 21:40
@priya-chatwani priya-chatwani marked this pull request as ready for review May 25, 2023 23:30
@priya-chatwani priya-chatwani requested review from hiemanshu and a team May 25, 2023 23:31
Copy link
Contributor

@hiemanshu hiemanshu left a comment

Choose a reason for hiding this comment

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

Overall LGTM!

For Components:

  1. Use graphql-codegen and import graphql types from @spoke/spoke-codegen where appropriate.

  2. When working with old class type components, which might be a bad candidate for immediate refactor, refactor the GraphQL queries to import QueryDocument from @spoke/spoke-codegen

Style:

  1. Prefer using theme.palette colors over direct definition of colors. If direct definition is required, import and use colors from @material-ui/core/colors

@hiemanshu
Copy link
Contributor

@bchrobot would love your eyes on this as well.

@priya-chatwani priya-chatwani force-pushed the feat/add-conventions branch from 5dbc83f to eb78129 Compare June 5, 2023 16:15
@hiemanshu hiemanshu merged commit ee9e38e into main Jun 9, 2023
@hiemanshu hiemanshu deleted the feat/add-conventions branch June 9, 2023 13:50
ajohn25 pushed a commit to With-the-Ranks/Spoke that referenced this pull request Sep 10, 2024
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