Skip to content
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

Webpack build optimization #3640

Open
wants to merge 38 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
bcd4670
Update Sentry config
riccio82 Oct 17, 2024
d4761ab
Improve webpack
riccio82 Oct 18, 2024
157fd42
Merge remote-tracking branch 'origin/login-required' into sentry-conf…
riccio82 Oct 18, 2024
4fa49a9
Update webpack
riccio82 Oct 18, 2024
6b37ce4
Merge branch 'login-required' into sentry-config-update
riccio82 Oct 21, 2024
6a7fd8d
Webpack optimizations
riccio82 Oct 21, 2024
b59cc19
Sentry: set release name
riccio82 Oct 21, 2024
61cb7e5
Clean common.scss
riccio82 Oct 22, 2024
0195f88
CSS: update css pages
riccio82 Oct 22, 2024
8c002ff
Merge remote-tracking branch 'origin/login-required' into sentry-conf…
riccio82 Oct 29, 2024
9b8af89
Refactoring css
riccio82 Oct 29, 2024
40a1866
Merge branch 'login-required' into sentry-config-update
riccio82 Nov 4, 2024
eb773f6
Merge branch 'develop' into sentry-config-update
riccio82 Nov 4, 2024
c4ab12c
update submodule
riccio82 Nov 4, 2024
1ad21a1
Merge branch 'develop' into sentry-config-update
riccio82 Nov 4, 2024
00b9827
refactoring css - wip
riccio82 Nov 4, 2024
c7d0005
Css refactoring: style.scss
riccio82 Nov 5, 2024
6c221bf
Refactoring css: upload_page.scss
riccio82 Nov 5, 2024
72da63a
Merge remote-tracking branch 'origin/develop' into sentry-config-update
riccio82 Nov 5, 2024
2663c29
Merge remote-tracking branch 'origin/develop' into sentry-config-update
riccio82 Nov 6, 2024
2eac222
Merge remote-tracking branch 'origin/develop' into sentry-config-update
riccio82 Nov 6, 2024
04450bd
Merge remote-tracking branch 'origin/develop' into sentry-config-update
riccio82 Nov 12, 2024
90354b6
Update yarn.lock
riccio82 Nov 12, 2024
3a8ff36
Merge remote-tracking branch 'origin/develop' into sentry-config-update
riccio82 Nov 15, 2024
6a8fe66
Merge remote-tracking branch 'origin/develop' into sentry-config-update
riccio82 Nov 19, 2024
ad4f2ff
Fix: Analyze button
riccio82 Nov 19, 2024
0df0c47
Fix: Analyze button
riccio82 Nov 19, 2024
1c880d6
Merge remote-tracking branch 'origin/develop' into sentry-config-update
riccio82 Nov 26, 2024
7207ed9
Fix: show supported files
riccio82 Nov 26, 2024
4b88ae8
Fix: comments tagging
riccio82 Nov 26, 2024
6328e4e
Update dependency webpack to v5.96.1 (#3710)
renovate[bot] Dec 2, 2024
9b43447
Update dependency react-hotkeys-hook to v4.6.1 (#3709)
renovate[bot] Dec 2, 2024
51040ae
Update dependency eslint-plugin-testing-library to v7 (#3711)
renovate[bot] Dec 2, 2024
ce48ca7
yarn.lock update
riccio82 Dec 2, 2024
0ab52c3
Merge remote-tracking branch 'origin/develop' into sentry-config-update
riccio82 Dec 4, 2024
5a35167
Update yarn lock
riccio82 Dec 4, 2024
22f4788
Css fix: profile modal
riccio82 Dec 4, 2024
1ef3cea
Fixed show tooltip dropdown
piedicianni Dec 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions lib/View/templates/_upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -585,8 +585,6 @@

<div class="notifications-wrapper"></div>

<div id="uploadCallback"></div>


<div metal:use-macro="${php: INIT::$TRACKING_CODES_VIEW_PATH}/external_sources.html/track_codes_upload"/>

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"eslint-plugin-jest-dom": "^5.0.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-testing-library": "^6.0.0",
"eslint-plugin-testing-library": "^7.0.0",
"fs-extra": "^11.1.1",
"glob": "^11.0.0",
"html-webpack-plugin": "5.6.3",
Expand All @@ -83,7 +83,8 @@
"sass-loader": "16.0.3",
"style-loader": "4.0.0",
"undici": "^5.28.2",
"webpack": "5.95.0",
"webpack": "5.96.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "5.1.4",
"webpack-concat-files-plugin": "^0.5.2",
"whatwg-fetch": "^3.6.20"
Expand Down
35 changes: 20 additions & 15 deletions public/api/swagger-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ var spec = {
name: 'mt_engine',
in: 'formData',
description:
'Identifier for Machine Translation Engine. 0 deactivates MT, 1 uses ModernMT Lite, other values correspond to the user\'s personal MT engines (available engines are retrieved via the /api/v2/engines/list endpoint).',
"Identifier for Machine Translation Engine. 0 deactivates MT, 1 uses ModernMT Lite, other values correspond to the user's personal MT engines (available engines are retrieved via the /api/v2/engines/list endpoint).",
required: false,
type: 'integer',
default: 1,
Expand Down Expand Up @@ -214,7 +214,8 @@ var spec = {
{
name: 'dialect_strict',
in: 'formData',
description: 'Specify if you want matches only from dialect (excluding the other language variants)',
description:
'Specify if you want matches only from dialect (excluding the other language variants)',
required: false,
type: 'string',
example: '{"it-IT": true, "en-US": false, "fr-FR": false}',
Expand All @@ -225,20 +226,18 @@ var spec = {
description: 'Load specific MMT glossaries',
required: false,
type: 'string',
example: '{"glossaries": [1, 2, 3, 4], "ignore_glossary_case": true }',
example:
'{"glossaries": [1, 2, 3, 4], "ignore_glossary_case": true }',
},
{
name: 'deepl_formality',
in: 'formData',
description: 'DeepL formality (choose between `default`, `prefer_less` or `prefer_more`)',
description:
'DeepL formality (choose between `default`, `prefer_less` or `prefer_more`)',
required: false,
type: 'string',
default: 'default',
enum: [
'default',
'prefer_less',
'prefer_more'
],
enum: ['default', 'prefer_less', 'prefer_more'],
},
{
name: 'deepl_id_glossary',
Expand All @@ -251,31 +250,36 @@ var spec = {
{
name: 'filters_extraction_parameters',
in: 'formData',
description: 'Set the filters extraction parameters throught a json string',
description:
'Set the filters extraction parameters throught a json string',
required: false,
type: 'string',
example: '{"name": "parameters": {"json": {"extract_arrays": true, "escape_forward_slashes": false, "translate_keys": ["key"], "do_not_translate_keys": [], "context_keys": [], "character_limit": []}}}',
example:
'{"name": "parameters": {"json": {"extract_arrays": true, "escape_forward_slashes": false, "translate_keys": ["key"], "do_not_translate_keys": [], "context_keys": [], "character_limit": []}}}',
},
{
name: 'xliff_parameters',
in: 'formData',
description: 'Specific parameters for the analysis of Xliff files',
required: false,
type: 'string',
example: '{"xliff12": [{"analysis": "pre-translated", "states": ["final"], "editor": "new"}], "xliff20": []}',
example:
'{"xliff12": [{"analysis": "pre-translated", "states": ["final"], "editor": "new"}], "xliff20": []}',
},
{
name: 'xliff_parameters_template_id',
in: 'formData',
description: 'Load a specific template for the analysis of Xliff files',
description:
'Load a specific template for the analysis of Xliff files',
required: false,
type: 'string',
example: '3213',
},
{
name: 'filters_extraction_parameters_template_id',
in: 'formData',
description: 'Load a specific template for the analysis of Xliff files and for filters extraction parameters',
description:
'Load a specific template for the analysis of Xliff files and for filters extraction parameters',
required: false,
type: 'string',
example: '3213',
Expand All @@ -291,7 +295,8 @@ var spec = {
{
name: 'id_qa_model_template',
in: 'formData',
description: 'Load a previously saved, custom QA framework template',
description:
'Load a previously saved, custom QA framework template',
required: false,
type: 'string',
example: '3213',
Expand Down
2 changes: 1 addition & 1 deletion public/css/sass/activity-log-main.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'variables';
@import 'commons/variables';
@import 'upload-main';

.activity-log-content {
Expand Down
30 changes: 0 additions & 30 deletions public/css/sass/analyze_main.scss

This file was deleted.

Loading