diff --git a/README.md b/README.md index 08d5e95..f512449 100644 --- a/README.md +++ b/README.md @@ -8,20 +8,20 @@ Visualization and analysis of your git repository data ([demo](https://assayo.jp/demo/?ref=github&lang=en&dump=./test.txt)). ##### Employee can evaluate new workplace -- work pace; +- work speed; - number of extra hours worked; -- areas of responsibility; +- areas of competence; - volume of features and bugs; - working style of colleagues; -##### Manager can evaluate employees +##### Teamlead can evaluate employees - identify slackers; - estimate the amount of code; - learn the work speed; - notice behavioral anomalies; - see the dynamics of work by week; -##### Investor can evaluate product +##### Founder can evaluate product - product cost; - cost of features; - development time; @@ -92,10 +92,6 @@ You can create your own interface theme. Options: - **Visual theme**. To do this, you need to prepare a CSS file with new styles and specify its URL in the ```theme``` parameter. Example: ```?theme=//company.com/some.css```. You can use class names as selectors. Most of them do not change in new versions. - **Language**. You can set language in the URL parameter ```lang```. Example: ```?lang=es``` -### How to add or edit a translation? - -You can add a new translation or correct an existing one in the ```ts/translations/``` folder and create a Pull Request. - ### How to sign commits? Follow the [Conventional Commits 1.0.0](https://www.conventionalcommits.org/en/v1.0.0/). Example: @@ -153,6 +149,11 @@ By default, the image will run at ```http://127.0.0.1:80/```. If it doesn't work - different roles for statistics (hiding finances); - development of the backend, integration with other systems; +### How to add or edit a translation? + +You can add a new translation or correct an existing one in the ```ts/translations/``` folder. +[Instruction](https://docs.github.com/ru/get-started/exploring-projects-on-github/contributing-to-a-project) + ### Feedback, suggestions, comments - telegramm [@bakhirev](https://t.me/bakhirev) (priority method of communication) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) diff --git a/documents/RU.md b/documents/RU.md index 3314ec0..8721aad 100644 --- a/documents/RU.md +++ b/documents/RU.md @@ -91,10 +91,6 @@ Git создаст файл `log.txt`. - **Визуальную тему**. Для этого нужно подготовить CSS файл с новыми стилями и указать его адрес в URL-параметре ```theme```. Например: ```?theme=//company.com/some.css```. Вы можете использовать имена классов в качестве селекторов. Большинство из них не меняется в при выходе новой версий. - **Язык**. Вы можете указать его в URL-параметре ```lang```. Например: ```?lang=es``` -### Как добавить или отредактировать перевод? - -Вы можете добавить новый перевод или поправить текущий в разделе ```ts/translations/``` и создать Pull Request. - ### Как подписывать коммиты? Следуйте практике [Conventional Commits 1.0.0](https://www.conventionalcommits.org/en/v1.0.0/). Например: @@ -154,6 +150,11 @@ you_url - URL адресс вашего контейнера с логами - разные роли для статистики (скрытие финансов); - разработка бекенда, интеграции с другими системами; +### Как добавить или отредактировать перевод? + +Вы можете добавить новый перевод или поправить текущий в разделе ```ts/translations/```. +[Инструкция](https://docs.github.com/ru/get-started/exploring-projects-on-github/contributing-to-a-project) + ### Пожелания, предложения, замечания - telegramm [@bakhirev](https://t.me/bakhirev) (приоритетный способ связи) - [alexey-bakhirev@yandex.ru](mailto:alexey-bakhirev@yandex.ru) diff --git a/src/ts/pages/Person/components/Total.tsx b/src/ts/pages/Person/components/Total.tsx index 4310a74..ba5261c 100644 --- a/src/ts/pages/Person/components/Total.tsx +++ b/src/ts/pages/Person/components/Total.tsx @@ -69,7 +69,7 @@ const Total = observer((): React.ReactElement => { description="page.team.total.commits.description" /> - + {false && <Title title="page.person.character.title"/>} {false && <Character user={statistic} />} </PageColumn> <PageColumn> diff --git a/src/ts/pages/Person/components/Week.tsx b/src/ts/pages/Person/components/Week.tsx index cc11a69..8363370 100644 --- a/src/ts/pages/Person/components/Week.tsx +++ b/src/ts/pages/Person/components/Week.tsx @@ -131,7 +131,7 @@ const Week = observer(({ return ( <> {mode !== 'print' && ( - <Recommendations recommendations={recommendations} /> + <Recommendations recommendations={recommendations}/> )} <DataLoader to="response" @@ -143,7 +143,7 @@ const Week = observer(({ name={statistic.author} mode={mode} /> - {mode !== 'print' && <Pagination />} + {mode !== 'print' && <Pagination/>} </DataLoader> </> ); diff --git a/src/ts/pages/Person/index.tsx b/src/ts/pages/Person/index.tsx index 2c83d5c..d617de1 100644 --- a/src/ts/pages/Person/index.tsx +++ b/src/ts/pages/Person/index.tsx @@ -22,7 +22,7 @@ function Person() { if (type !== 'person') return null; return ( <> - {!['week', 'print'].includes(page || '') && ( + {!['print'].includes(page || '') && ( <> <Title title={localization.get('common.filters')} /> <UserSelect /> diff --git a/src/ts/pages/Team/components/Week.tsx b/src/ts/pages/Team/components/Week.tsx index 79db9a8..1242ec7 100644 --- a/src/ts/pages/Team/components/Week.tsx +++ b/src/ts/pages/Team/components/Week.tsx @@ -164,8 +164,14 @@ const Week = observer(({ {mode !== 'print' && ( <Recommendations recommendations={recommendations} /> )} - {mode === 'print' && ( + {mode === 'print' ? ( <Title title="page.team.week.title"/> + ) : ( + <> + <br/> + <br/> + <br/> + </> )} <DataLoader to="response"