order | title |
---|---|
6 |
Contributing |
Thank you for contributing to Choerodon UI. Take a few minutes to read this guide and will help you in this process.
Choerodon UI has adopted Contributor Covenant as its code of conduct, and we hope that project participants will abide by it. Please read full text[,](https://github.com/open-hand/choerodon-ui/ blob/master/CODE_OF_CONDUCT.md) so that you can understand which behaviors will be tolerated and which behaviors will not be tolerated.
Contribute to Choerodon UI, code contribution is one aspect of it. For example, documentation improvements are as important as code changes. If you have official website documentation suggestions, you can also directly raise an issue.
If you still don’t know how to submit a Pull Request on GitHub, you can read the following article to learn:
How to contribute code gracefully on GitHub
If you plan to start working on an issue, please check the comments under issue first to make sure that no one else is working on the issue. If no one is currently working on it, you can leave a message to inform others that you will deal with this issue, so as to avoid duplication of work by others.
If someone left a message saying that this issue will be dealt with, but there is no movement for a week or two, then you can also take over the issue. Of course, you still need to leave a message to inform others.
We welcome Pull Requests, but before making major changes, it is best to open an issue to discuss with the maintainer.
We will pay attention to all Pull Requests, review and merge your code, and may also ask you to make some changes or tell you why we cannot accept such changes.
At the same time, it is recommended that each Pull Requests does not have too many functions and defect fixes, and has a single function. If multiple functions and defects are fixed, it is recommended to split them into two small Pull Requests.
Before you send a Pull Request, please make sure you follow the steps below:
git clone https://github.com/<your username>/choerodon-ui.git
cd choerodon-ui
git remote add upstream https://github.com/open-hand/choerodon-ui.git
master
branch with the upstream one:git checkout master
git pull upstream master
npm install
git checkout -b my-topic-branch
Before submitting the code, perform the following steps:
Whether the necessary submissions for local self-examination are complete:
CHANGELOG.zh.md
1. Concise, clear meaning
2. There is a space between Chinese and English, and the component name is wrapped in backquotes
3. The basic component `Table` does not need `<pro>`
-🌟 `<pro>Table`: Added onResize event.
-💄 `<pro>Table`: Performance and memory optimization.
-🐞 `configure`: Fix the tableFilterAdapter type.
CHANGELOG.en.md
1. Use backticks to wrap the content involving available properties, methods, and components
2. Pay attention to spaces and English punctuation
-🌟 `<pro>Table`: Added `onResize` callback.
-💄 `<pro>Table`: Performance and memory optimization.
-🐞 `configure`: Modify the `tableFilterAdapter` type.
-🌟 `<pro>Table`: Added `onResize` callback.
->
-> Corresponding to modify the abbreviation + space + remove the backtick from the content
->
-> [ADD] <pro>Table: Added onResize callback.
[ADD] Add
[IMP] Optimization
[FIX] Fix
Non-single component or other modification optimization directly abbreviate and add corresponding content or merge processing (it is recommended to modify each function separately to commit):
[IMP] Added some less variable.
[ADD] <pro>Table: Added onResize callback. && [IMP] <pro>Table: Performance and memory optimization.
Through the github commit diff interface, the difference comparison interface checks whether the submitted content meets expectations and is consistent with the local.
git push -u origin HEAD
You can refer to past PRs and commits to deepen your impression.
If you want to know more detailed function introduction and usage process of Choerodon UI component library, you can check the official website document.
If you encounter a problem during the experience of Choerodon UI component library and need feedback, you can log in to the HAND open platform, select [Console-Feedback], and select [Front-end component library-C7N-UI] for problem classification.
If you need to use the theme package, you can contact Hande front-end basic R&D team: wen.dai@hand-china.com
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )