-
Notifications
You must be signed in to change notification settings - Fork 58
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
docs: fixes spelling, formatting, and grammatical errors in documentation #122
docs: fixes spelling, formatting, and grammatical errors in documentation #122
Conversation
@lax0248917 Thanks for the new PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution Zach. We should have done a content review of the contribution guidelines (CONTRIBUTING.md). We missed doing it and unfortunately, as a result, we are forced to suggest edits on your suggestions. :-) Please take a look at the requested changes. Once again, thanks for the contribution. Keep them coming.
CONTRIBUTING.md
Outdated
@@ -4,7 +4,7 @@ | |||
|
|||
Crayons is a component library based on Web Components. The goal of Crayons is to provide the developer with easy to use web components by reducing the number of lines of code while giving your app a Freshworks product like user interface. | |||
|
|||
Crayons are built using StencilJS which provides all features of web component. | |||
Crayons is built using StencilJS which provides all the features of a web component. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we modify this content to one of the following?
-
Crayons is a component library based on Web Components. The goal of Crayons is to provide developers with easy to use web components that give apps a Freshworks product like user interface, while reducing the number of lines of code. Crayons is developed using StencilJS that helps build standard-based Web Components.
-
Crayons is a component library based on Web Components. The goal of Crayons is to provide developers with easy to use web components that reduce the number of lines of code involved in giving apps a Freshworks product like user interface. Crayons is developed using StencilJS that helps build standard-based Web Components.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @menakallg, do you want the mentioned paragraph to replace the two separate lines? Therefore joining the sentence regarding Crayons being developed with StencilJS with the previous sentences explaining what Crayons is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't mind Zach.
CONTRIBUTING.md
Outdated
@@ -13,13 +13,13 @@ Crayons are built using StencilJS which provides all features of web component. | |||
|
|||
## How to Contribute | |||
|
|||
Crayons have a predefined set of components, As a developer, you can not only use the components in your projects, you can also contribute to Crayons as it falls under MIT license and we welcome all contributions, small or big. | |||
Crayons has a predefined set of components. As a developer, you not only can use the components in your projects but you can also contribute to Crayons, as it falls under a MIT license. We welcome all contributions, big or small. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we modify this as follows?
Crayons has a predefined set of components. As a developer, you not only can use the components in your projects but can also contribute to Crayons, as it falls under the MIT license. We welcome all contributions, big or small.
CONTRIBUTING.md
Outdated
|
||
### Commit the changes to Github | ||
|
||
Crayons repository uses github pre commit hooks, follow the below steps to commit our changes to github | ||
Crayons repository uses github pre commit hooks, follow the below steps to commit your changes to github |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we modify this as follows?
The Crayons repository uses GitHub’s pre-commit hooks. To commit your changes,
CONTRIBUTING.md
Outdated
|
||
1. Make your changes to the file, add the untracked files to staging area. | ||
1. Make your changes to the file and add the untracked files to staging area. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we modify this to one of the following?
-
Modify the requisite files and add the untracked files to the staging area.
-
Make changes to the files and add the untracked files to the staging area.
CONTRIBUTING.md
Outdated
@@ -104,9 +104,9 @@ Crayons repository uses github pre commit hooks, follow the below steps to commi | |||
|
|||
8. Give a commit message when it prompts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we modify step 7 and 8 as follows?
-
- Fill in the following details when prompted.
-
- Give a commit message when prompted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@menakallg, do you want to start using roman numerals with step 7 and 8 only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. GitHub auto-corrected the numbering. :-)
CONTRIBUTING.md
Outdated
@@ -104,9 +104,9 @@ Crayons repository uses github pre commit hooks, follow the below steps to commi | |||
|
|||
8. Give a commit message when it prompts. | |||
|
|||
9. Run `git push -u origin <your-branch>`, to push your changes to the forked repo. git hooks will run all the test before pushing the changes. if any test fails, rewrite the tests and make sure all the test passes before pushing again. | |||
9. Run `git push -u origin <your-branch>`, to push your changes to the forked repo. git hooks will run all the test before pushing the changes. if any test fails, rewrite the tests and make sure all the tests pass before pushing again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we modify this as follows?
Run git push -u origin <your-branch>
, to push your changes to the forked repo. git hooks run all required tests before pushing the changes. If any test fails, rewrite the test and ensure that all the tests pass before pushing again.
CONTRIBUTING.md
Outdated
|
||
10. Go to the forked repo in github and raise a PR. wPlease wait for the PR to be approved or address comments if any. | ||
10. Go to the forked repo in github and raise a PR. Please wait for the PR to be approved. If there are any comments, address them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we modify this as follows?
Navigate to the forked repo on GitHub and raise a PR. If there are any comments on your PR, address them. Please wait for the PR to be approved.
README.md
Outdated
@@ -3,7 +3,7 @@ | |||
|
|||
|
|||
# 🖍️ Crayons | |||
[Freshworks Crayons](https://crayons.freshworks.com) is a library of UI components that are the building blocks to help create an intuitive and uniform user interface for all your apps. This is a collection of [Web components](https://developer.mozilla.org/en-US/docs/Web/Web_Components) that will help developers build apps faster that adheres to the UX standards set by the Freshworks Design System. | |||
[Freshworks Crayons](https://crayons.freshworks.com) is a library of UI components that are the building blocks to help create an intuitive and uniform user interface for all your apps. This is a collection of [Web components](https://developer.mozilla.org/en-US/docs/Web/Web_Components) that will help developers build apps faster that will adhere to the UX standards set by the Freshworks Design System. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we modify this as follows?
Freshworks Crayons is a library of UI components that help create an intuitive and uniform user interface for all your apps. This collection of Web Components helps developers to build apps faster and to build apps that adhere to the UX standards set by the Freshworks Design System.
src/components.d.ts
Outdated
@@ -34,11 +34,11 @@ export namespace Components { | |||
*/ | |||
"checked": boolean; | |||
/** | |||
* Disables the check box on the interface. If the attribute’s value is undefined, the value is set to false. | |||
* Disables the checkbox on the interface. If the attribute’s value is undefined, the value is set to false. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At Freshworks, for documentation standards pertaining to UI elements, we use the MSTP. So, could we retain the term “check box”?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@menakallg, of course. I'll change it back. I simply made this change to indicate the error of consistency. If check box is the correct annotation, I will be sure to use it in all locations
src/components.d.ts
Outdated
*/ | ||
"disabled": boolean; | ||
/** | ||
* Label displayed on the interface, for the check box. | ||
* Label displayed on the interface for the checkbox. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Certain prepositions, such as for or on, have a tendency to gel (incorrectly) with the nouns immediately preceding the prepositions. Document users who are used to synthetic languages (inflections) might have a problem comprehending this kind of sentence construction.
Could we retain the comma, to indicate that the prepositional phrase is superfluous information and to prevent the statement from meaning that the interface is for the component?
Alternatively, we can say Label for the component, displayed on the interface.
Like I mentioned, “for the component” is superfluous information and going by the principle of “important information first”, I suggest that we leave it at the end of the sentence.
…tion Makes changes to documention to fix typos, grammatical errors, and formatting issues fix freshworks#116
86e094b
to
2ec04c4
Compare
All changes suggested by code reviewer are applied to documentation to meet specifications fix freshworks#116
🎉 This PR is included in version 2.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 2.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Dropdown button small fix fix #122
Dropdown button small fix fix #122
# [2.7.0](v2.6.3...v2.7.0) (2020-09-30) ### Features * **button:** fix type change ([429e7dc](429e7dc)), closes [#112](#112) * **dropdown button:** add missing css prop ([36c157f](36c157f)), closes [#112](#112) * **dropdown button:** dropdown button adhering to Freshworks Design System ([43e8bda](43e8bda)), closes [#112](#112) * **dropdown button:** dropdown button small fix ([003a937](003a937)), closes [#122](#122) * **dropdown button:** review comments ([43923cd](43923cd)), closes [#112](#112) * **dropdown button:** review comments - 2 ([b8bfe71](b8bfe71)), closes [#112](#112)
🎉 This issue has been resolved in version 2.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 2.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
feat: fixes spelling, formatting, and grammatical errors in documentation
Makes changes to documention to fix typos, grammatical errors, and formatting issues
re #116
Checklist:
How Has This Been Tested?
No additional tests needed as this is a change to documentation.
This Pull Request is to replace the previous one, as the format integrity of the original project is preserved in this change.