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

lint fix PR #363

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
1d1626d
- added a Juxta mode that creates a translation burrito
Jan 16, 2024
620a9cb
Refactorization of 'saveProjectsMeta.js'
Jan 23, 2024
d8c1202
merging changes for PR
Jan 23, 2024
f77dfd3
Scripture Burrito as a resource : added the poissibility for the user…
Feb 2, 2024
34d947a
removed checkbox from the UI and query sb resource everytime
Feb 5, 2024
70b68c0
Added a juxtalinear editor along with a new mode.
Feb 12, 2024
234998d
created a juxtaBurrito creator and a function to add juxta content. A…
Feb 13, 2024
5c9eef4
ADDED juxta support for SB creation and fixed some typos
Feb 19, 2024
15ba171
merged with dev
Feb 19, 2024
716d72b
ADDED support for usfm import for a juxta project. Now we have to cha…
Feb 21, 2024
12aadc0
juxtalineat mode functionnal
Feb 21, 2024
f77d94b
Merge branch 'development' into dcn/refactor_modes
DanielC-N Feb 21, 2024
034dca5
UPDATE : now the interface handle corectly a json juxta file and upda…
Feb 22, 2024
8d39efc
function to update a json juxta file if needed
Feb 22, 2024
3a20921
Merge branch 'dcn/refactor_modes' of github.com:Proskomma/scribe-scri…
Feb 22, 2024
17ec0a9
checksums ok for each modifications of the juxta
Feb 22, 2024
00bd137
bugfix : juxta was still using a translation settings
Feb 22, 2024
0dd7e17
quick fix
Feb 24, 2024
a947db3
Merge branch 'bible-technology:development' into development
DanielC-N Feb 27, 2024
4f13526
Merge branch 'development' into dcn/refactor_modes
Feb 27, 2024
fd96649
added new kewboard shortcuts : 'Tab' to navigate through line chuncks…
Feb 27, 2024
e906685
removing a useless 'console.log'
Feb 28, 2024
97d0ada
FIXED font size when aditing a chunck, ADDED a bit of css and added a…
Mar 6, 2024
e11baad
added juxtalinear alignment editor
Mar 6, 2024
8078c2d
added prototype of Grammateus
Mar 7, 2024
1689913
added release for win64
Mar 7, 2024
efb2146
to the point it works in scribe
Mar 8, 2024
92bf339
checkpoint for juxtaligner
Mar 13, 2024
7dcef5b
base code for pdf print
Mar 16, 2024
378f72e
UPDATE succesful. we also save ne more option to the settings file of…
Mar 19, 2024
fc9ff31
removed useless comments and log
Mar 19, 2024
f124622
removed useless comments and log
Mar 19, 2024
ac524bf
added markdown rendering for juxtalign editor and fix #6
Mar 19, 2024
4509445
Do print modal
gabrielaillet Mar 20, 2024
d24564b
I put the sentences loading one layer outside the main editor, to avo…
Mar 20, 2024
610f470
do uninstall wrong pdf-react
gabrielaillet Mar 25, 2024
4b03d8d
added basecode for bouquet picker
Mar 25, 2024
9e88694
Merge branch 'print_pdf_mode' of github.com:Proskomma/scribe-scriptur…
Mar 25, 2024
f61d6a2
base for Scripture content picker
Mar 26, 2024
306c57f
'it works' version of scriptureContentPicker in scribe, with a button…
Mar 26, 2024
44e2359
Merge pull request #8 from Proskomma/pdf_scripture_content_picker
gabrielaillet Mar 26, 2024
6fba9e0
do sortableList
gabrielaillet Mar 26, 2024
9c4d570
do sortableList
gabrielaillet Mar 26, 2024
7a8b56d
do UwCommit for presentation
gabrielaillet Mar 27, 2024
3099011
do add hiroshi componenent
gabrielaillet Apr 2, 2024
29955b9
now hiroshi's module is nice and clean. Scribe also have 'listResourc…
Apr 2, 2024
6812ea1
added a search bar and bugfixes
Apr 2, 2024
ba35cd2
hid the 'Korennummi' and 'Word' tabs
Apr 2, 2024
a4cd374
added functions to parse burrito resources
Apr 3, 2024
7eafc20
Many bugfixes https://github.com/bible-technology/scribe-scripture-ed…
Apr 3, 2024
4b84d64
add a check if the folder exists
Apr 3, 2024
6258289
added a little bit of secure code for OBS loading
Apr 3, 2024
fd7a42c
changed the behavior of the Snackbar. If error === 'failure' the snac…
Apr 3, 2024
001d249
changed the behavior of the Snackbar. If error === 'failure' the snac…
Apr 3, 2024
6a6c0d8
do add picker for scriptures in pdf
gabrielaillet Apr 3, 2024
d262561
bold text 'CREATE PROJECT' for better visibility and start to check '…
Apr 3, 2024
8a7feb3
added the feature that download resources not imported by the user fo…
Apr 5, 2024
d7ee846
ajout ScriptureContentSarchBar en module simple à utiliser
Apr 8, 2024
784c879
added jxl-pdf as dependencies and an example with '4ColumnSpread'
Apr 8, 2024
94c543b
do specification picker
gabrielaillet Apr 9, 2024
59fe8cd
succesfully imported jxl-pdf
Apr 9, 2024
e554082
Now the user is correctly notified when the imported books does not m…
Apr 10, 2024
16850f6
minor bugfixes and code cleaning
Apr 10, 2024
34b9bb8
changed place of the 'nprogress' by few px
Apr 10, 2024
d0e671f
do finish print data setter
gabrielaillet Apr 10, 2024
e658bbc
merge
gabrielaillet Apr 10, 2024
8e7ca37
added a better user-friendly messages to nugde the user to import at …
Apr 11, 2024
a0f4b91
FIXED : archive a Text Translation project OK.
Apr 11, 2024
58605c8
star/unstar a juxtalinear project works now
Apr 12, 2024
9750fb0
PdfGen succesfully imported
Apr 15, 2024
7ce7076
merge 2
gabrielaillet Apr 15, 2024
c954ecf
please
gabrielaillet Apr 15, 2024
d8a22bc
FIX : bug that prevented some resources to show up. and FIX : bug tha…
Apr 18, 2024
77b7d4a
deleted package-lock.json and updated yarn.lock
Apr 26, 2024
be223cc
Merge branch 'bible-technology:development' into development
DanielC-N Apr 26, 2024
d1b7193
resolved conficts
Apr 26, 2024
8ba5a49
updated french translation
Apr 26, 2024
90cf5ef
add wrappers
gabrielaillet Apr 29, 2024
cc4aa61
1/2 do figma revamp
gabrielaillet Apr 30, 2024
2b422a2
bugfix : you can now edit a juxta project properly
May 1, 2024
e5fd90b
fixed bug where on book change, the sentences where wronly saved unde…
May 2, 2024
9097f27
Merge branch 'development' into dcn/refactor_modes
DanielC-N May 2, 2024
10e17eb
make 'jsonFileContent.bookCode' to upper case for safety reasons
May 2, 2024
7056433
Merge branch 'development' into dcn/refactor_modes
DanielC-N May 7, 2024
b4d8e3c
FIX : export/import now works properly for juxtalinear projects
May 16, 2024
8f8d561
Merge branch 'dcn/refactor_modes' of github.com:Proskomma/scribe-scri…
May 16, 2024
7a908f9
interface, first draft kitchen faucet
gabrielaillet May 21, 2024
3043784
added global.PdfGen directly into the code
May 21, 2024
267b3ad
merged
May 21, 2024
6b0feec
first stage of clean up of code en refactor style
gabrielaillet May 22, 2024
ba09b59
first stage of clean up of code en refactor style
gabrielaillet May 22, 2024
f0a394c
second commit structure and refactor code, merge pdfGen, usePdfGen si…
gabrielaillet May 22, 2024
eb88b6e
some adjustment of ui, Json validation for Print button
gabrielaillet May 27, 2024
599d9f7
fixed some horrible indent
May 28, 2024
8aa9dbc
fixed some horrible indent
May 28, 2024
3dda2e5
fix obs auto zipping on export
May 30, 2024
96b88dc
spinner and 'create project' button css fix.
May 31, 2024
04a093f
'create project' button reverted
May 31, 2024
40853e5
pdfGen working interface with obs
gabrielaillet Jun 8, 2024
3c4a374
Merge branch 'print_pdf_mode' of github.com:Proskomma/scribe-scriptur…
gabrielaillet Jun 8, 2024
f43e61b
technical demo pdfgen wip
gabrielaillet Jun 12, 2024
767381b
Merge branch 'bible-technology:development' into development
DanielC-N Jun 12, 2024
e0f7d29
resolving conflict merge, it was due to a renaming of a variable to a…
Jun 12, 2024
4870f2a
fixed most of the lint errors. It leaves the 'control label errors' a…
Jun 14, 2024
568fa6f
Merge branch 'bible-technology:development' into development
DanielC-N Jun 14, 2024
f4adb37
lint fixes until 'labels missing'
Jun 14, 2024
bcfd3c9
lint fix errors
Jun 14, 2024
9354fdd
removed useless file
Jun 14, 2024
f72d1ae
removed a comment
Jun 14, 2024
2446607
Merge branch 'bible-technology:development' into development
DanielC-N Jun 17, 2024
08cdde9
merged with refactor modes branch
Jul 10, 2024
eec73c4
updated yarn lock and deps
Jul 10, 2024
2f38220
no more error with big pdf
gabrielaillet Jul 11, 2024
fbe2570
merge with new modifs
Jul 11, 2024
04a83f5
updated packages
Jul 11, 2024
6875d42
bug fixes, by project print
gabrielaillet Jul 11, 2024
1496c49
deleted useless files
Jul 11, 2024
d313d34
deleted useless files
Jul 11, 2024
e34eeaf
remove me file
gabrielaillet Jul 11, 2024
9f15b2f
merged with juxtaligner
Jul 12, 2024
0be9fa4
select options defaults
Jul 12, 2024
4c30df6
little changes
Jul 12, 2024
6e00bbb
euhh
gabrielaillet Jul 12, 2024
598b063
Merge branch 'print_pdf_mode' into xenizo_build
Jul 12, 2024
d0e3ffe
for PR change
gabrielaillet Jul 17, 2024
a3b2728
merged with incoming changes for package.json
Jul 17, 2024
5ed43c2
rollback package.json
Jul 17, 2024
21ab0e8
update yarn lock
Jul 17, 2024
3ea912d
bug fixes
gabrielaillet Jul 19, 2024
911782a
Merge branch 'print_pdf_mode' into xenizo_build
Jul 19, 2024
919a72c
pdf-gen updata
gabrielaillet Jul 31, 2024
75ec419
removed 'korennumi' and 'word' tabs
Jul 31, 2024
990da59
Merge branch 'bible-technology:development' into development
DanielC-N Aug 6, 2024
484adc7
changed jxl-pdf version
Aug 26, 2024
f3e54f2
updated packages
Aug 26, 2024
1211bf8
indentation fixes
Aug 26, 2024
3d11037
updated deps and merged with print_pdf branch
Aug 28, 2024
3f0d807
updated jxl and updated the code to work with juxta
Aug 28, 2024
26635e8
add last changes for PDF print.
Sep 9, 2024
d03dc3a
removed juxtalign mode and bugfix : #357 => https://github.com/bible-…
Sep 9, 2024
c800791
Merge branch 'bible-technology:development' into development
DanielC-N Sep 9, 2024
62d677a
intagrated dev branch update
Sep 9, 2024
d243114
trying to increase ulimit
Sep 9, 2024
a30673d
installing distutils setuptools directly from brew for mac machine
Sep 9, 2024
ccc2696
installing python-setuptools
Sep 9, 2024
341d8e4
dist : release error
Sep 9, 2024
0114eed
trying a configuration to increase 'maxConcurrentTasks'
Sep 9, 2024
476370d
removed @mui/icons-react from deps and let it in devDeps
Sep 9, 2024
edc7063
updated jxl-pdf
Sep 9, 2024
6b0c81a
correction of code
Sep 9, 2024
83eda81
increased maxfiles form kernel directly
Sep 10, 2024
c20fbdd
updated actions/upload-artifact@v1 to v4
Sep 10, 2024
741d100
trying kern.maxfiles=10485760 with sudo
Sep 10, 2024
428414e
the mac build take too much time for yarn install v1.22.19
Sep 10, 2024
9e5f8ee
removed some useless 'console.log' and changed the name of the artifa…
Sep 10, 2024
8e824f2
updated jxl-pdf
Sep 11, 2024
760fa75
working reset button
Sep 11, 2024
3a51358
changes for : https://github.com/bible-technology/scribe-scripture-ed…
Sep 11, 2024
b645b67
hide the print button on audio projects
Sep 12, 2024
70e1278
Merge branch 'development' of github.com:Proskomma/scribe-scripture-e…
Sep 16, 2024
80ca625
fixing eslint errors
Sep 16, 2024
dd5cbc6
starting to fix lint for 'build' command
Sep 16, 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
16 changes: 12 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@
"airbnb",
"next"
],
"ignorePatterns": [
"**/*.ts",
"**/*.tsx"
],
"rules": {
"react-hooks/exhaustive-deps": "off",
"jsx-a11y/no-static-element-interactions": "off",
"no-tabs": 0,
"@next/next/no-html-link-for-pages": "off",
"@next/next/no-img-element": "off",
"react/react-in-jsx-scope": "off",
Expand Down Expand Up @@ -95,7 +102,10 @@
"all"
],
"template-curly-spacing": "off",
"indent": "off"
"indent": [
"error",
2
]
},
"env": {
"browser": true,
Expand Down Expand Up @@ -146,9 +156,7 @@
"node": {
"extensions": [
".js",
".jsx",
".ts",
".tsx"
".jsx"
]
}
}
Expand Down
64 changes: 32 additions & 32 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"[javascript]": {
"editor.formatOnSave": false
},
"editor.rulers": [
100
],
"editor.fontLigatures": true,
"prettier.tabWidth": 4,
"eslint.alwaysShowStatus": true,
"prettier.disableLanguages": [
"js"
],
"prettier.useTabs": true,
"editor.formatOnSave": true,
"editor.multiCursorModifier": "alt",
"editor.renderWhitespace": "none",
"editor.renderControlCharacters": true,
"prettier.arrowParens": "always",
"prettier.jsxBracketSameLine": true,
"prettier.jsxSingleQuote": true,
"prettier.singleQuote": true,
"prettier.trailingComma": "all",
"javascript.implicitProjectConfig.experimentalDecorators": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"explorer.confirmDelete": false,
"eslint.codeAction.disableRuleComment": {},
"eslint.codeAction.showDocumentation": {},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.workingDirectories": [],
"editor.tabSize": 2
"[javascript]": {
"editor.formatOnSave": false
},
"editor.rulers": [
100
],
"editor.fontLigatures": true,
"prettier.tabWidth": 4,
"eslint.alwaysShowStatus": true,
"prettier.disableLanguages": [
"js"
],
"editor.formatOnSave": true,
"editor.multiCursorModifier": "alt",
"editor.renderWhitespace": "none",
"editor.renderControlCharacters": true,
"prettier.arrowParens": "always",
"prettier.jsxBracketSameLine": true,
"prettier.jsxSingleQuote": true,
"prettier.singleQuote": true,
"prettier.trailingComma": "all",
"javascript.implicitProjectConfig.experimentalDecorators": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"explorer.confirmDelete": false,
"eslint.codeAction.disableRuleComment": {},
"eslint.codeAction.showDocumentation": {},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "never"
},
"eslint.workingDirectories": [],
"editor.tabSize": 2,
"editor.insertSpaces": true,
}
2 changes: 1 addition & 1 deletion docs/AutographaRefactDraft1.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ are moved from navbar to translation folder

Sync
Paratext
Sign-in form splited from settings component to sync
Sign-in form splited from settings component to sync
helpers functionalities eg: paratextAdapter moved from helper folder to sync
Ahref component helps to handle external links

Expand Down
8 changes: 4 additions & 4 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ const config: PlaywrightTestConfig = {
globalTimeout: 60 * 60 * 1000,
// Run all tests in parallel.
fullyParallel: false,
retries: 3,
retries: 3,
use: {
// trace: 'on-first-retry', // record traces on first retry of each test

// Run browser in headless mode.
// headless: false,
},
},
expect: {
timeout: 60 * 1000,
},
},
};

export default config;
4 changes: 3 additions & 1 deletion renderer/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
},
"exclude": [
"node_modules",
"dist"
"dist",
"**/*.ts",
"**/*.tsx"
]
}
132 changes: 66 additions & 66 deletions renderer/pages/loader.css
Original file line number Diff line number Diff line change
@@ -1,83 +1,83 @@
#app {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
position: fixed;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
position: fixed;
width: 100%;
}
#loader-wrapper {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1000;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1000;
}
#loader {
display: block;
position: relative;
left: 50%;
top: 50%;
width: 150px;
height: 150px;
margin: -75px 0 0 -75px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #3498db;
-webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
display: block;
position: relative;
left: 50%;
top: 50%;
width: 150px;
height: 150px;
margin: -75px 0 0 -75px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #3498db;
-webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:before {
content: '';
position: absolute;
top: 5px;
left: 5px;
right: 5px;
bottom: 5px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #e74c3c;
-webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
content: '';
position: absolute;
top: 5px;
left: 5px;
right: 5px;
bottom: 5px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #e74c3c;
-webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:after {
content: '';
position: absolute;
top: 15px;
left: 15px;
right: 15px;
bottom: 15px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #f9c922;
-webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
content: '';
position: absolute;
top: 15px;
left: 15px;
right: 15px;
bottom: 15px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #f9c922;
-webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
-ms-transform: rotate(0deg); /* IE 9 */
transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
}
100% {
-webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
-ms-transform: rotate(360deg); /* IE 9 */
transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
}
0% {
-webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
-ms-transform: rotate(0deg); /* IE 9 */
transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
}
100% {
-webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
-ms-transform: rotate(360deg); /* IE 9 */
transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
}
}
@keyframes spin {
0% {
-webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
-ms-transform: rotate(0deg); /* IE 9 */
transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
}
100% {
-webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
-ms-transform: rotate(360deg); /* IE 9 */
transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
}
0% {
-webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */
-ms-transform: rotate(0deg); /* IE 9 */
transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */
}
100% {
-webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */
-ms-transform: rotate(360deg); /* IE 9 */
transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */
}
}
5 changes: 4 additions & 1 deletion renderer/public/static/nprogress.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,18 @@
0% {
-webkit-transform: rotate(0deg);
}

100% {
-webkit-transform: rotate(360deg);
}
}

@keyframes nprogress-spinner {
0% {
transform: rotate(0deg);
}

100% {
transform: rotate(360deg);
}
}
}
Loading
Loading