This commit is contained in:
bakhirev 2025-07-07 00:01:10 +03:00
parent b01250f359
commit bace7e2d45
28 changed files with 118 additions and 33 deletions

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill-rule="evenodd" d="M401 324v129c0 26-20 48-45 48H148c-25 0-45-22-45-48v-43c-37-2-65-14-77-36-11-19-8-42 7-67 14-24 38-49 70-73v-58c0-26 20-48 45-48h3V42a31 31 0 0 1 30-31h142a31 31 0 0 1 30 31v86h3a42 42 0 0 1 17 4c28-2 52 1 71 6 40 13 59 42 43 82-7 17-20 36-38 54 3 5 5 9 3 15a14 14 0 0 1-6 8l-45 27zm-298 74V249c-27 22-48 44-60 64-12 21-15 40-6 55 9 18 33 28 66 30zm286-254a49 49 0 0 1 12 32v90c9-6 27-5 38 0 18-17 30-34 37-50 13-34-2-56-36-66-14-4-31-7-51-6zm48 135a6 6 0 0 1-1-1c-3-2-7-3-12-3-7-1-14-1-18 1l-42 26-42 25a6 6 0 0 1 0 1l-41 24a13 13 0 0 1-14-1l-31-23-18 11 41 46a8 8 0 0 0 10 2l65-38-2-8a6 6 0 0 1 3-6l51-29a6 6 0 0 1 9 6v1l45-26a2 2 0 0 0 0-3l-2-4a6 6 0 0 0-1-1zM115 399c20 0 41-1 64-5V189a6 6 0 1 1 12 0v202l47-12-32-35a9 9 0 0 1 2-14l24-13a9 9 0 0 1 10 0l4 3V189a6 6 0 1 1 12 0v140l16 13h1l34-20-40-34a6 6 0 0 1 1-10l25-15a6 6 0 0 1 6 0l12 5v-79a6 6 0 1 1 12 0v85l36 16 27-17v-97c0-19-14-36-32-36H148c-18 0-33 17-33 36v223zm131-9a515 515 0 0 1-55 14v36a6 6 0 0 1-12 0v-34c-23 4-44 5-64 5v42c0 19 15 36 33 36h208c18 0 32-17 32-36v-88l-4 41a6 6 0 0 1-4 5l-25 14a6 6 0 0 1-9-4l-10-59-11 6v72a6 6 0 0 1-12 0v-65l-38 22a20 20 0 0 1-17 2v41a6 6 0 0 1-12 0zm37-106 36 31 29-17-49-23zm63 67 10 60 16-9 9-79-36 20 1 8zM163 128h14V48a12 12 0 0 1 12-12h126a12 12 0 0 1 12 12v80h14V42a19 19 0 0 0-18-19H181a19 19 0 0 0-18 19v86zm26 0h126V48H189v80zm-21 331a15 15 0 0 1-15-15 6 6 0 1 0-12 0 27 27 0 0 0 27 27 6 6 0 1 0 0-12z"/></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 127 127"><circle cx="63.5" cy="63.5" r="62" stroke="#000" stroke-width="3"/><path stroke="#000" stroke-width="3" d="M114 94H11L63 5l51 89Z"/><path stroke="#000" stroke-width="3" d="M86 48v46H39V48h47Z"/><path stroke="#000" stroke-width="3" d="M62 51c11 0 21 8 21 20 0 11-10 20-21 20s-20-9-20-20c0-12 9-20 20-20Z"/></svg>

After

Width:  |  Height:  |  Size: 385 B

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill-rule="evenodd" d="M401 324v129c0 26-20 48-45 48H148c-25 0-45-22-45-48v-43c-37-2-65-14-77-36-11-19-8-42 7-67 14-24 38-49 70-73v-58c0-26 20-48 45-48h3V42a31 31 0 0 1 30-31h142a31 31 0 0 1 30 31v86h3a42 42 0 0 1 17 4c28-2 52 1 71 6 40 13 59 42 43 82-7 17-20 36-38 54 3 5 5 9 3 15a14 14 0 0 1-6 8l-45 27zm-298 74V249c-27 22-48 44-60 64-12 21-15 40-6 55 9 18 33 28 66 30zm286-254a49 49 0 0 1 12 32v90c9-6 27-5 38 0 18-17 30-34 37-50 13-34-2-56-36-66-14-4-31-7-51-6zm48 135a6 6 0 0 1-1-1c-3-2-7-3-12-3-7-1-14-1-18 1l-42 26-42 25a6 6 0 0 1 0 1l-41 24a13 13 0 0 1-14-1l-31-23-18 11 41 46a8 8 0 0 0 10 2l65-38-2-8a6 6 0 0 1 3-6l51-29a6 6 0 0 1 9 6v1l45-26a2 2 0 0 0 0-3l-2-4a6 6 0 0 0-1-1zM115 399c20 0 41-1 64-5V189a6 6 0 1 1 12 0v202l47-12-32-35a9 9 0 0 1 2-14l24-13a9 9 0 0 1 10 0l4 3V189a6 6 0 1 1 12 0v140l16 13h1l34-20-40-34a6 6 0 0 1 1-10l25-15a6 6 0 0 1 6 0l12 5v-79a6 6 0 1 1 12 0v85l36 16 27-17v-97c0-19-14-36-32-36H148c-18 0-33 17-33 36v223zm131-9a515 515 0 0 1-55 14v36a6 6 0 0 1-12 0v-34c-23 4-44 5-64 5v42c0 19 15 36 33 36h208c18 0 32-17 32-36v-88l-4 41a6 6 0 0 1-4 5l-25 14a6 6 0 0 1-9-4l-10-59-11 6v72a6 6 0 0 1-12 0v-65l-38 22a20 20 0 0 1-17 2v41a6 6 0 0 1-12 0zm37-106 36 31 29-17-49-23zm63 67 10 60 16-9 9-79-36 20 1 8zM163 128h14V48a12 12 0 0 1 12-12h126a12 12 0 0 1 12 12v80h14V42a19 19 0 0 0-18-19H181a19 19 0 0 0-18 19v86zm26 0h126V48H189v80zm-21 331a15 15 0 0 1-15-15 6 6 0 1 0-12 0 27 27 0 0 0 27 27 6 6 0 1 0 0-12z"/></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 127 127"><circle cx="63.5" cy="63.5" r="62" stroke="#000" stroke-width="3"/><path stroke="#000" stroke-width="3" d="M114 94H11L63 5l51 89Z"/><path stroke="#000" stroke-width="3" d="M86 48v46H39V48h47Z"/><path stroke="#000" stroke-width="3" d="M62 51c11 0 21 8 21 20 0 11-10 20-21 20s-20-9-20-20c0-12 9-20 20-20Z"/></svg>

After

Width:  |  Height:  |  Size: 385 B

View file

@ -12337,7 +12337,9 @@ R(f`2021-02-09T16:08:15+03:00>Albert Einstein>instein@emap.de>Initialize project
2021-06-02T18:29:28+05:00>Wilhelm Röntgen [bot]>rontgen@x-ray.com>Fix docker registry url
:100644 100644 8991ad4ed 965c3990d M Dockerfile
:100644 100644 89915d4ed 965c3990d M postcss.config.js
2 2 Dockerfile
2 2 postcss.config.js
2021-06-02T16:49:10+03:00>Leo Landau>landau@cccp.ru>Merge pull request #170 in vendor/vendor-frontend from fix-build to master
2021-06-02T18:51:26+03:00>Leo Landau>landau@cccp.ru>Merge pull request #169 in vendor/vendor-frontend from feature/TASK-234-Add-notifications-page to master

View file

@ -77,7 +77,7 @@ class AchievementsByCompetition {
byAuthor.add(total.moreLongWaitPR, 'moreLongWaitPR');
// Авиасейлс
// byAuthor.add(total.manyTimeZone, 'moreChangeTimeZone');
byAuthor.add(total.manyTimeZone, 'moreChangeTimeZone');
// Первый и последний коммит
const lastAuthor = dataGrip.firstLastCommit.maxData.author;

View file

@ -1,22 +1,14 @@
import { IDirtyFile } from 'ts/interfaces/FileInfo';
import IHashMap from 'ts/interfaces/HashMap';
function getHashMap(list: string[]) {
return new Map(list.map((code: string) => [code, true]));
}
const IS_LINT_HINT = getHashMap(['.eslintrc', '.stylelintrc.json']);
const IS_DOC = getHashMap(['md', 'doc', 'docx', 'txt']);
const IS_CSS = getHashMap(['css', 'scss', 'less', 'style']);
const IS_CSS_NAME = getHashMap(['style', 'styles']);
const IS_TEST = getHashMap(['test', 'mock', 'snap']);
const IS_CI_CD = getHashMap([
'Dockerfile',
'gradlew',
'gradlew.bat',
'gradle.properties',
'docker-compose.yml',
]);
import {
IS_ACHIEVEMENT_SITNIK,
IS_CSS,
IS_CSS_NAME,
IS_CI_CD,
IS_DOC,
IS_LINT_HINT,
IS_TEST,
} from './constants/is';
function getAddedChangedLines(file: IDirtyFile) {
return [
@ -47,16 +39,14 @@ export default function getAchievementByFile(fileGrip: any, byAuthor: any) {
const firstFileNameStyle: any = { author: '', milliseconds: Infinity };
const fileRush: IHashMap<number> = {};
console.log('file name');
fileGrip.files.list.forEach((file: IDirtyFile) => {
if (IS_LINT_HINT.has(file.name)) {
moreLintHint.push(getAddedChangedLines(file));
} else if (IS_DOC.has(file.extension)) {
moreReadMe.push(getAddedChangedLines(file));
} else if (IS_CSS.has(file.extension)) {
moreStyle.push(getAddedChangedLines(file));
} else if (IS_CSS_NAME.has(file.name)) {
} else if (IS_CSS.has(file.extension) || IS_CSS_NAME.has(file.name)) {
moreStyle.push(getAddedChangedLines(file));
} else if (IS_ACHIEVEMENT_SITNIK.has(file.name)) {
if (file?.firstCommit?.milliseconds && file?.firstCommit?.milliseconds < firstFileNameStyle.milliseconds) {
firstFileNameStyle.author = file.firstCommit?.author;
firstFileNameStyle.milliseconds = file.firstCommit?.milliseconds;
@ -96,7 +86,7 @@ export default function getAchievementByFile(fileGrip: any, byAuthor: any) {
byAuthor.add(getTopUser(moreDevOps.flat(2)), 'moreDevOps');
byAuthor.authors[longFilePath.author].push('longFilePath');
byAuthor.authors[longFileName.author].push('longFileName');
// if (firstFileNameStyle.author) {
// byAuthor.authors[firstFileNameStyle.author].push('firstCssInJs');
// }
if (firstFileNameStyle.author) {
byAuthor.authors[firstFileNameStyle.author].push('publicitySitnik');
}
}

View file

@ -0,0 +1,48 @@
function getHashMap(list: string[]) {
return new Map(list.map((code: string) => [code, true]));
}
export const IS_LINT_HINT = getHashMap([
'.eslintrc',
'.stylelintrc.json',
]);
export const IS_DOC = getHashMap([
'md',
'doc',
'docx',
'txt',
]);
export const IS_CSS = getHashMap([
'css',
'scss',
'less',
'style',
]);
export const IS_CSS_NAME = getHashMap([
'style',
'styles',
]);
export const IS_ACHIEVEMENT_SITNIK = getHashMap([
'browserslist-stats.json',
'.browserslistrc',
'postcss.config.js',
'postcss.config.ts',
]);
export const IS_TEST = getHashMap([
'test',
'mock',
'snap',
]);
export const IS_CI_CD = getHashMap([
'Dockerfile',
'gradlew',
'gradlew.bat',
'gradle.properties',
'docker-compose.yml',
]);

View file

@ -70,7 +70,7 @@ export default {
// Паблисити ачивки
moreChangeTimeZone: ACHIEVEMENT_TYPE.PUBLICITY, // Aaaaaa-viasales
firstCssInJs: ACHIEVEMENT_TYPE.PUBLICITY, // Ситник
publicitySitnik: ACHIEVEMENT_TYPE.PUBLICITY, // Ситник
// нет картинки
longestMessage: ACHIEVEMENT_TYPE.NORMAL, // А разговоров то было...

View file

@ -153,5 +153,9 @@ export default `
§ achievements.horoscope10.description: by the month of the first commit
§ achievements.horoscope11.description: by the month of the first commit
§ achievements.horoscope12.description: by the month of the first commit
§ achievements.moreChangeTimeZone.title: Aaaaa-viasales
§ achievements.moreChangeTimeZone.description: changed location more often than anyone else
§ achievements.publicitySitnik.title: Sitnik approves
§ achievements.publicitySitnik.description: the first who added the PostCSS or Browserslist config
§ achievements.111.description: test
`;

View file

@ -315,6 +315,7 @@ export default `
§ page.person.achievement.positive: Positive
§ page.person.achievement.normal: Neutral
§ page.person.achievement.negative: Negative
§ page.person.achievement.publicity: Special
§ page.person.achievement.description: The more negative achievements an employee accumulates, the higher the likelihood that the situation is unusual. It may be necessary to change their work mode, tasks, or reporting. A discussion with them to understand what problems are hindering their work is advisable.
§ page.person.gets.title: Gets taken:
§ page.person.gets.description: "Taking a get" in this context means being the first to leave a commit on a task with a "nice" number.

View file

@ -153,5 +153,9 @@ export default `
§ achievements.horoscope10.description: by the month of the first commit
§ achievements.horoscope11.description: by the month of the first commit
§ achievements.horoscope12.description: by the month of the first commit
§ achievements.moreChangeTimeZone.title: Aaaaa-viasales
§ achievements.moreChangeTimeZone.description: changed location more often than anyone else
§ achievements.publicitySitnik.title: Sitnik approves
§ achievements.publicitySitnik.description: the first who added the PostCSS or Browserslist config
§ achievements.111.description: test
`;

View file

@ -317,6 +317,7 @@ export default `
§ page.person.achievement.positive: Positive
§ page.person.achievement.normal: Neutral
§ page.person.achievement.negative: Negative
§ page.person.achievement.publicity: Special
§ page.person.achievement.description: The more negative achievements an employee accumulates, the higher the likelihood that the situation is unusual. It may be necessary to change their work mode, tasks, or reporting. A discussion with them to understand what problems are hindering their work is advisable.
§ page.person.gets.title: Gets taken:
§ page.person.gets.description: "Taking a get" in this context means being the first to leave a commit on a task with a "nice" number.

View file

@ -153,5 +153,9 @@ export default `
§ achievements.horoscope10.description: by the month of the first commit
§ achievements.horoscope11.description: by the month of the first commit
§ achievements.horoscope12.description: by the month of the first commit
§ achievements.moreChangeTimeZone.title: Aaaaa-viasales
§ achievements.moreChangeTimeZone.description: changed location more often than anyone else
§ achievements.publicitySitnik.title: Sitnik approves
§ achievements.publicitySitnik.description: the first who added the PostCSS or Browserslist config
§ achievements.111.description: test
`;

View file

@ -317,6 +317,7 @@ export default `
§ page.person.achievement.positive: Positive
§ page.person.achievement.normal: Neutral
§ page.person.achievement.negative: Negative
§ page.person.achievement.publicity: Special
§ page.person.achievement.description: Cuantos más logros negativos tenga un empleado, más probable es que la situación no sea estándar. Puede que valga la pena cambiar su modo de trabajo, tareas o informes. Debe hablar con él y averiguar qué problemas interfieren con su trabajo.
§ page.person.gets.title: Geta Capturado:
§ page.person.gets.description: «Geta Capturado» in this case, it means leaving commits to the task with the "beautiful" number first.

View file

@ -153,5 +153,9 @@ export default `
§ achievements.horoscope10.description: by the month of the first commit
§ achievements.horoscope11.description: by the month of the first commit
§ achievements.horoscope12.description: by the month of the first commit
§ achievements.moreChangeTimeZone.title: Aaaaa-viasales
§ achievements.moreChangeTimeZone.description: changed location more often than anyone else
§ achievements.publicitySitnik.title: Sitnik approves
§ achievements.publicitySitnik.description: the first who added the PostCSS or Browserslist config
§ achievements.111.description: test
`;

View file

@ -317,6 +317,7 @@ export default `
§ page.person.achievement.positive: Positifs
§ page.person.achievement.normal: Neutres
§ page.person.achievement.negative: Négatifs
§ page.person.achievement.publicity: Special
§ page.person.achievement.description: Plus un collaborateur a accumulé dachievements négatifs, plus il est probable quil y ait une situation inhabituelle. Il se peut que vous deviez changer son mode de travail, ses tâches ou ses rapports. Vous devriez parler avec lui et découvrir quels problèmes entravent son travail.
§ page.person.gets.title: Les gètes prises:
§ page.person.gets.description: «Prendre geth» dans ce cas, cela signifie d'abord laisser le commit à la tâche avec un numéro «beau».

View file

@ -153,5 +153,9 @@ export default `
§ achievements.horoscope10.description: by the month of the first commit
§ achievements.horoscope11.description: by the month of the first commit
§ achievements.horoscope12.description: by the month of the first commit
§ achievements.moreChangeTimeZone.title: Aaaaa-viasales
§ achievements.moreChangeTimeZone.description: changed location more often than anyone else
§ achievements.publicitySitnik.title: Sitnik approves
§ achievements.publicitySitnik.description: the first who added the PostCSS or Browserslist config
§ achievements.111.description: test
`;

View file

@ -317,6 +317,7 @@ export default `
§ page.person.achievement.positive: Positive
§ page.person.achievement.normal: Neutral
§ page.person.achievement.negative: Negative
§ page.person.achievement.publicity: Special
§ page.person.achievement.description: The more negative achievements an employee accumulates, the higher the likelihood that the situation is unusual. It may be necessary to change their work mode, tasks, or reporting. A discussion with them to understand what problems are hindering their work is advisable.
§ page.person.gets.title: Gets taken:
§ page.person.gets.description: "Taking a get" in this context means being the first to leave a commit on a task with a "nice" number.

View file

@ -157,5 +157,9 @@ export default `
§ achievements.horoscope10.description:
§ achievements.horoscope11.description:
§ achievements.horoscope12.description:
§ achievements.moreChangeTimeZone.title: Aaaaa-viasales
§ achievements.moreChangeTimeZone.description: changed location more often than anyone else
§ achievements.publicitySitnik.title: Sitnik approves
§ achievements.publicitySitnik.description: the first who added the PostCSS or Browserslist config
§ achievements.111.description: 시험
`;

View file

@ -305,6 +305,7 @@ export default `
§ page.person.achievement.positive: 긍정적
§ page.person.achievement.normal: 중립
§ page.person.achievement.negative: 부정
§ page.person.achievement.publicity: Special
§ page.person.achievement.description: 직원이 . , . .
§ page.person.gets.title: 작업 :
§ page.person.gets.description: 메달은 "아름다운" .

View file

@ -153,5 +153,9 @@ export default `
§ achievements.horoscope10.description: by the month of the first commit
§ achievements.horoscope11.description: by the month of the first commit
§ achievements.horoscope12.description: by the month of the first commit
§ achievements.moreChangeTimeZone.title: Aaaaa-viasales
§ achievements.moreChangeTimeZone.description: changed location more often than anyone else
§ achievements.publicitySitnik.title: Sitnik approves
§ achievements.publicitySitnik.description: the first who added the PostCSS or Browserslist config
§ achievements.111.description: test
`;

View file

@ -317,6 +317,7 @@ export default `
§ page.person.achievement.positive: Positive
§ page.person.achievement.normal: Neutral
§ page.person.achievement.negative: Negative
§ page.person.achievement.publicity: Special
§ page.person.achievement.description: The more negative achievements an employee accumulates, the higher the likelihood that the situation is unusual. It may be necessary to change their work mode, tasks, or reporting. A discussion with them to understand what problems are hindering their work is advisable.
§ page.person.gets.title: Gets taken:
§ page.person.gets.description: "Taking a get" in this context means being the first to leave a commit on a task with a "nice" number.

View file

@ -109,8 +109,6 @@ export default `
§ achievements.moreDevOps.description: больше всех создал или изменил файлов для CI/CD
§ achievements.moreTests.title: Тестировщик
§ achievements.moreTests.description: больше всех создал или изменил файлов для тестирования
§ achievements.moreChangeTimeZone.title: Aaaaa-viasales
§ achievements.moreChangeTimeZone.description: больше всех менял местоположение
§ achievements.allRelease.title: Фулл хаус
§ achievements.allRelease.description: есть релиз, собранный только из его задач
§ achievements.firstCommit.title: Кто первый, того и тапки
@ -119,8 +117,6 @@ export default `
§ achievements.lastCommit.description: последний коммит на проекте
§ achievements.firstLastCommit.title: От начала и до конца
§ achievements.firstLastCommit.description: первый и последний коммит на проекте
§ achievements.firstCssInJs.title: От начала и до конца
§ achievements.firstCssInJs.description: первый добавил CSS-in-JS файл
§ achievements.longFilePath.title: Закрома родины
§ achievements.longFilePath.description: первый создал файл с самым глубоким вложением
§ achievements.longFileName.title: Размер имеет значение
@ -161,5 +157,9 @@ export default `
§ achievements.horoscope10.description: по месяцу первого коммита
§ achievements.horoscope11.description: по месяцу первого коммита
§ achievements.horoscope12.description: по месяцу первого коммита
§ achievements.moreChangeTimeZone.title: Aaaaa-viasales
§ achievements.moreChangeTimeZone.description: больше всех менял местоположение
§ achievements.publicitySitnik.title: Ситник одобряет
§ achievements.publicitySitnik.description: первый добавил PostCSS или Browserslist конфиг
§ achievements.111.description: test
`;

View file

@ -275,6 +275,7 @@ export default `
§ page.person.achievement.positive: Позитивные
§ page.person.achievement.normal: Нейтральные
§ page.person.achievement.negative: Негативные
§ page.person.achievement.publicity: Специальные
§ page.person.achievement.description: Чем больше сотрудник набрал отрицательных достижений, тем больше вероятность, что ситуация нестандартная. Возможно, стоит изменить режим его работы, задачи или отчётность. Следует поговорить с ним и узнать, какие проблемы мешают его работе.
§ page.person.gets.title: Медали за номера задач:
§ page.person.gets.description: Медаль выдается, если пользователь первым оставляет коммит к задаче с «красивым» номером.

View file

@ -153,5 +153,9 @@ export default `
§ achievements.horoscope10.description: by the month of the first commit
§ achievements.horoscope11.description: by the month of the first commit
§ achievements.horoscope12.description: by the month of the first commit
§ achievements.moreChangeTimeZone.title: Aaaaa-viasales
§ achievements.moreChangeTimeZone.description: changed location more often than anyone else
§ achievements.publicitySitnik.title: Sitnik approves
§ achievements.publicitySitnik.description: the first who added the PostCSS or Browserslist config
§ achievements.111.description: test
`;

View file

@ -312,6 +312,7 @@ export default `
§ page.person.achievement.positive: 积极
§ page.person.achievement.normal: 中立
§ page.person.achievement.negative: 负面
§ page.person.achievement.publicity: Special
§ page.person.achievement.description: 员工取得的负面成绩越多 .
§ page.person.gets.title: 被带走的木屐:
§ page.person.gets.description: «» Commits "美丽".