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

Add section about development best practices to CONTRIBUTING #1337

Merged
merged 4 commits into from
Jun 6, 2024

Conversation

kestarumper
Copy link
Member

This PR adds a section about development best practices and how to achieve better DX when working with this codebase.

@kestarumper kestarumper requested a review from wadamek65 as a code owner May 14, 2024 09:46
@github-actions github-actions bot added the Area: Infra Affects the repository itself (e.g., CI, dependencies) label May 14, 2024
@kestarumper kestarumper requested a review from a team May 14, 2024 09:47
@kestarumper kestarumper self-assigned this May 14, 2024
piotrpospiech
piotrpospiech previously approved these changes May 14, 2024
Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.37%. Comparing base (1436d4c) to head (fbda54b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1337   +/-   ##
=======================================
  Coverage   94.37%   94.37%           
=======================================
  Files         229      229           
  Lines        3754     3754           
  Branches     1011     1011           
=======================================
  Hits         3543     3543           
  Misses         81       81           
  Partials      130      130           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

wadamek65
wadamek65 previously approved these changes May 14, 2024
@@ -30,6 +30,36 @@ Our kanban board is public and available [here](https://github.com/orgs/vazco/pr
- Make sure you have added the necessary tests for your changes. Do not worry though, the Codecov bot will report it in the pull request.
- Make sure your code passes _all_ tests: `npm test`.

### Development

For the best developer experience (DX) when developing locally it is recommended to start `build` and `test` in a `--watch` mode.
Copy link
Contributor

Choose a reason for hiding this comment

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

The a is redundant in "a --watch mode". Should either be just "in --watch mode" or "in the --watch mode".

In general you could simplify the start of this sentence but it's subjective so I'm okay with this version too. "For the best local developer experience"

Copy link
Member Author

Choose a reason for hiding this comment

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

That's better!


For the best developer experience (DX) when developing locally it is recommended to start `build` and `test` in a `--watch` mode.

In the root directory...
Copy link
Contributor

Choose a reason for hiding this comment

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

This sounds a little strange. Maybe reword this to a direct command like "Run the commands below in the root directory."

npm start
```

it will start the docusaurus in development mode supporting hot reload, so you should see the changes made to the website immediately.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this sentence should be capitalized. Also not sure if you need the comma after "hot reload"

zendranm
zendranm previously approved these changes May 24, 2024
@kestarumper kestarumper dismissed stale reviews from zendranm, wadamek65, and piotrpospiech via d8cb99c May 27, 2024 13:35
@kestarumper kestarumper force-pushed the contributing-development branch from d8cb99c to 60eb47f Compare May 27, 2024 13:36
@kestarumper kestarumper requested review from wadamek65 and Monteth May 27, 2024 13:38
@kestarumper kestarumper merged commit 1e53adc into master Jun 6, 2024
7 checks passed
@kestarumper kestarumper deleted the contributing-development branch June 6, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Infra Affects the repository itself (e.g., CI, dependencies)
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants