-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release' into 'master'
Release ADCM 2.0 See merge request arenadata/development/adcm!3518
- Loading branch information
Showing
1,532 changed files
with
104,594 additions
and
6,213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
data | ||
venv | ||
web | ||
adcm-web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
include: | ||
- project: "arenadata/infrastructure/code/ci/gitlab_ci_files" | ||
ref: master | ||
file: "/development/adcm.yml" | ||
file: "/development/adcm_v2.yml" |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
tests/ @aer @v.chudasov | ||
/data/ @aas @d.skrynnik @aer | ||
/conf/ @aas @d.skrynnik @a.starovoitov @aer | ||
/go/ @aas @d.skrynnik @aer | ||
/os/ @aas @d.skrynnik @aer | ||
/python/ @aas @d.skrynnik @a.starovoitov @aer | ||
/spec/ @aas @d.skrynnik @aer | ||
/web/ @v.remizov @d.bardin @k.fedorenko | ||
.dockerignore @aas @v.remizov @d.skrynnik @aer @v.chudasov | ||
.gitignore @aas @d.skrynnik @v.remizov @d.bardin @k.fedorenko @aer @v.chudasov | ||
.gitlab-ci.yaml @aas @v.remizov @d.skrynnik @aer @v.chudasov | ||
.pre-commit-config.yaml @aas @d.skrynnik @v.remizov @d.bardin @k.fedorenko @aer @v.chudasov | ||
CODEOWNERS @aas @v.remizov @d.skrynnik @aer @v.chudasov | ||
.dockerignore @aas @v.remizov @d.skrynnik @aer | ||
.gitignore @aas @d.skrynnik @v.remizov @d.bardin @k.fedorenko @aer | ||
.gitlab-ci.yaml @aas @v.remizov @d.skrynnik @aer | ||
.pre-commit-config.yaml @aas @d.skrynnik @v.remizov @d.bardin @k.fedorenko @aer | ||
CODEOWNERS @aas @v.remizov @d.skrynnik @aer | ||
COPYRIGHT @aas @v.remizov @d.skrynnik @aer | ||
Dockerfile @aas @v.remizov @d.skrynnik @aer | ||
LICENSE @aas @v.remizov @d.skrynnik @aer | ||
license_checker.py @aas @d.skrynnik @aer | ||
Makefile @aas @d.skrynnik @aer | ||
pyproject.toml @aas @d.skrynnik @aer @v.chudasov | ||
README.md @aas @d.skrynnik @v.remizov @d.bardin @k.fedorenko @a.starovoitov @aer @v.chudasov | ||
poetry.lock @aas @d.skrynnik @aer @a.starovoitov | ||
pyproject.toml @aas @d.skrynnik @aer @a.starovoitov | ||
README.md @aas @d.skrynnik @v.remizov @d.bardin @k.fedorenko @a.starovoitov @aer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Editor configuration, see http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.svg] | ||
insert_final_newline = false | ||
|
||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ADCM_API_HOST=http://localhost:8000 | ||
ADCM_WS_HOST=ws://localhost:8000 | ||
ADCM_VERSION=2.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ADCM_API_HOST=http://localhost:8000 | ||
ADCM_WS_HOST=ws://localhost:8000 | ||
ADCM_VERSION=2.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["react", "prettier", "@typescript-eslint", "react-hooks", "react-refresh", "spellcheck"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:react-hooks/recommended", | ||
"plugin:storybook/recommended", | ||
"plugin:prettier/recommended", | ||
"prettier" | ||
], | ||
"rules": { | ||
"@typescript-eslint/no-unused-vars": ["error", { "ignoreRestSiblings": true }], | ||
"react-refresh/only-export-components": "warn", | ||
"object-curly-spacing": [2, "always"], | ||
"quotes": ["error", "single"], | ||
"semi": ["warn", "always"], | ||
"comma-dangle": ["error", "always-multiline"], | ||
"space-before-function-paren": ["error", { "anonymous": "always", "named": "never", "asyncArrow": "always" }], | ||
"react/jsx-max-props-per-line": [1, { "when": "multiline" }], | ||
"spellcheck/spell-checker": [ | ||
"warn", | ||
{ | ||
"skipWords": [ | ||
"100vw", | ||
"acc", | ||
"accesslog", | ||
"accessor", | ||
"adcm", | ||
"administrator’s", | ||
"ansible", | ||
"api", | ||
"arenadata", | ||
"authed", | ||
"axios", | ||
"attribs", | ||
"calc", | ||
"cancelable", | ||
"cancelled", | ||
"cancelling", | ||
"checkbox", | ||
"checkboxes", | ||
"charset", | ||
"cn", | ||
"comparator", | ||
"csrftoken", | ||
"ctx", | ||
"dataset", | ||
"datetime", | ||
"debounce", | ||
"debounced", | ||
"deletable", | ||
"dialogs", | ||
"django", | ||
"dropdown", | ||
"dom", | ||
"enum", | ||
"guid", | ||
"gz", | ||
"hljs", | ||
"hostcomponentmap", | ||
"hostprovider", | ||
"hostproviders", | ||
"href", | ||
"io", | ||
"javascript", | ||
"linkable", | ||
"ldap", | ||
"maintenance", | ||
"mouseenter", | ||
"mouseleave", | ||
"mousemove", | ||
"mouseup", | ||
"mql", | ||
"multiline", | ||
"nanoid", | ||
"noopener", | ||
"noreferrer", | ||
"nullable", | ||
"num", | ||
"parametrized", | ||
"path", | ||
"pathname", | ||
"perf", | ||
"pid", | ||
"qs", | ||
"quaternary", | ||
"queueing", | ||
"rbac", | ||
"readonly", | ||
"rect", | ||
"redux", | ||
"resize", | ||
"rp", | ||
"req", | ||
"schemas", | ||
"searchable", | ||
"sql", | ||
"ssl", | ||
"statusable", | ||
"stderr", | ||
"stdout", | ||
"str", | ||
"svg", | ||
"svgr", | ||
"td", | ||
"Terminatable", | ||
"textarea", | ||
"th", | ||
"tgz", | ||
"toggler", | ||
"tooltip", | ||
"ttl", | ||
"ul", | ||
"unlink", | ||
"unlinked", | ||
"unlinkable", | ||
"unlinking", | ||
"unmap", | ||
"unmapped", | ||
"unmount", | ||
"uncheck", | ||
"upgradable", | ||
"uri", | ||
"yaml", | ||
"user’s", | ||
"vite", | ||
"ws", | ||
"wss", | ||
"xsrf" | ||
] | ||
} | ||
], | ||
"no-console": [ | ||
"error", | ||
{ | ||
"allow": ["info", "warn", "error"] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
.yarn/* | ||
.pnp.* | ||
|
||
!.env.development | ||
!.env.testing | ||
!.eslintrc.json | ||
!.eslintrc.cjs | ||
!.prettierrc.json | ||
!.storybook | ||
!.husky | ||
!.editorconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
cd adcm-web/app | ||
yarn lint | ||
yarn tsc | ||
echo "lint" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"semi": true, | ||
"trailingComma": "all", | ||
"singleQuote": true, | ||
"printWidth": 120, | ||
"tabWidth": 2, | ||
"endOfLine": "lf" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { useEffect } from 'react'; | ||
|
||
export const withThemeProvider = (Story, context) => { | ||
useEffect(() => { | ||
const isDark = context.globals.theme === 'dark'; | ||
document.body.classList.toggle('theme-dark', isDark); | ||
document.body.classList.toggle('theme-light', !isDark); | ||
}, [context.globals.theme]) | ||
return (<Story />); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// import path from 'path'; | ||
|
||
import type { StorybookConfig } from '@storybook/react-vite'; | ||
const config: StorybookConfig = { | ||
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'], | ||
addons: [ | ||
'@storybook/addon-links', | ||
'@storybook/addon-essentials', | ||
'@storybook/addon-interactions', | ||
], | ||
framework: { | ||
name: '@storybook/react-vite', | ||
options: {}, | ||
}, | ||
docs: { | ||
autodocs: 'tag', | ||
}, | ||
}; | ||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500&family=Roboto:wght@300;400;500&display=swap" rel="stylesheet"> |
Oops, something went wrong.