Skip to content

Commit 5d83464

Browse files
authored
Merge pull request #4 from eea/develop
Develop
2 parents aafb564 + 300ea83 commit 5d83464

15 files changed

+427
-184
lines changed

.eslintrc

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"extends": ["react-app", "prettier", "plugin:jsx-a11y/recommended"],
3+
"plugins": ["prettier", "react-hooks", "jsx-a11y"],
4+
"env": {
5+
"es6": true,
6+
"browser": true,
7+
"node": true,
8+
"mocha": true,
9+
"jasmine": true
10+
},
11+
"parser": "babel-eslint",
12+
"parserOptions": {
13+
"ecmaVersion": 6,
14+
"sourceType": "module",
15+
"ecmaFeatures": {
16+
"legacyDecorators": true
17+
}
18+
},
19+
"rules": {
20+
"import/no-unresolved": 1,
21+
"no-alert": 1,
22+
"no-console": 1,
23+
"no-debugger": 1,
24+
"prettier/prettier": [
25+
"error",
26+
{ "trailingComma": "all", "singleQuote": true }
27+
],
28+
"react-hooks/rules-of-hooks": "error",
29+
"react-hooks/exhaustive-deps": "warn"
30+
},
31+
"settings": {
32+
"import/resolver": {
33+
"alias": {
34+
"map": [["@plone/volto", "./src"]],
35+
"extensions": [".js", ".jsx", ".json"]
36+
},
37+
"babel-plugin-root-import": {
38+
"rootPathSuffix": "src"
39+
}
40+
},
41+
"import/core-modules": [ "load-volto-addons" ]
42+
},
43+
"globals": {
44+
"root": true,
45+
"__DEVELOPMENT__": true,
46+
"__CLIENT__": true,
47+
"__SERVER__": true,
48+
"__DISABLE_SSR__": true,
49+
"__DEVTOOLS__": true,
50+
"__DEBUG__": true,
51+
"__SSR__": true,
52+
"__SENTRY__": true,
53+
"cy": true,
54+
"Cypress": true,
55+
"jest": true,
56+
"socket": true,
57+
"webpackIsomorphicTools": true
58+
}
59+
}

.eslintrc.js

Whitespace-only changes.

.gitignore

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
11
.vscode/
22
.history
3-
.eslintrc.js
4-
project
53
logs
64
*.log
75
npm-debug.log*
86
.DS_Store
97
*.swp
108
yarn-error.log
11-
yarn.lock
12-
package-lock.json
139

1410
node_modules
1511
build
1612
dist
13+
screenshots
1714
cypress/videos
1815
cypress/reports
19-
screenshots
20-
videos
2116
.env.local
2217
.env.development.local
2318
.env.test.local
24-
.env.production.local
25-
*~
19+
.env.production.local

.project.eslintrc.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
const fs = require('fs');
22
const path = require('path');
33

4-
const projectRootPath = fs.realpathSync('./project'); // __dirname
5-
const packageJson = require(path.join(projectRootPath, 'package.json'));
6-
const jsConfig = require(path.join(projectRootPath, 'jsconfig.json')).compilerOptions;
4+
const projectRootPath = fs.realpathSync('./project'); // __dirname
5+
// const packageJson = require(path.join(projectRootPath, 'package.json'));
6+
const jsConfig = require(path.join(projectRootPath, 'jsconfig.json'))
7+
.compilerOptions;
78

89
const pathsConfig = jsConfig.paths;
910

1011
let voltoPath = path.join(projectRootPath, 'node_modules/@plone/volto');
1112

12-
Object.keys(pathsConfig).forEach(pkg => {
13+
Object.keys(pathsConfig).forEach((pkg) => {
1314
if (pkg === '@plone/volto') {
1415
voltoPath = `./${jsConfig.baseUrl}/${pathsConfig[pkg][0]}`;
1516
}
@@ -18,12 +19,11 @@ const AddonConfigurationRegistry = require(`${voltoPath}/addon-registry.js`);
1819
const reg = new AddonConfigurationRegistry(projectRootPath);
1920

2021
// Extends ESlint configuration for adding the aliases to `src` directories in Volto addons
21-
const addonAliases = Object.keys(reg.packages).map(o => [
22+
const addonAliases = Object.keys(reg.packages).map((o) => [
2223
o,
2324
reg.packages[o].modulePath,
2425
]);
2526

26-
2727
module.exports = {
2828
extends: `${projectRootPath}/node_modules/@plone/volto/.eslintrc`,
2929
settings: {
@@ -43,4 +43,3 @@ module.exports = {
4343
},
4444
},
4545
};
46-

CHANGELOG.md

Lines changed: 49 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,52 @@ All notable changes to this project will be documented in this file. Dates are d
44

55
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
66

7-
#### [0.1.2](https://github.com/eea/volto-react-table-widget/compare/0.1.1...0.1.2)
8-
9-
- add locales [`2f58aae`](https://github.com/eea/volto-react-table-widget/commit/2f58aaea28c038c4d48d54d1700e7539cc7d42f8)
10-
- add undomodifications parameter to get the Undo Modifications button optional [`b2ebb03`](https://github.com/eea/volto-react-table-widget/commit/b2ebb034827f8605ad37f51b215e2a9bada58c5a)
11-
- add schemas title and description to editor [`2250b88`](https://github.com/eea/volto-react-table-widget/commit/2250b888eb060c10c2ff1ab577810532c8476fb8)
12-
- refactoring code [`99a3dc7`](https://github.com/eea/volto-react-table-widget/commit/99a3dc715d4cdacec9cbf5187fb2238d396ae708)
13-
- prettier [`a424381`](https://github.com/eea/volto-react-table-widget/commit/a424381fbb1899bd5a561f7ce3d16820d5af00db)
14-
- date type widget [`7ee1486`](https://github.com/eea/volto-react-table-widget/commit/7ee1486d3f647a57fa05576538b035b98926b821)
15-
16-
#### [0.1.1](https://github.com/eea/volto-react-table-widget/compare/0.1.0...0.1.1)
17-
18-
> 16 March 2022
19-
20-
- fix tag [`1477105`](https://github.com/eea/volto-react-table-widget/commit/1477105ee567c1daed09bb3ce1819a20a1da024e)
21-
22-
#### 0.1.0
23-
24-
> 16 March 2022
25-
26-
- Develop [`#1`](https://github.com/eea/volto-react-table-widget/pull/1)
27-
- fix paginated row edition and add/remove functionalities [`4c0ae4e`](https://github.com/eea/volto-react-table-widget/commit/4c0ae4ed35d1fa6d25be96c0a8b62d1bc25ee481)
28-
- add isMulti option to select fields [`ec3b57d`](https://github.com/eea/volto-react-table-widget/commit/ec3b57dd596f9a6adede5f4d7c286f09089ad517)
29-
- add react-csv package [`69ba866`](https://github.com/eea/volto-react-table-widget/commit/69ba8660a30ae3e9413be7a564644448a8c51a06)
30-
- improve docs [`f64ad66`](https://github.com/eea/volto-react-table-widget/commit/f64ad66e5b8ddc665a3e6a4664c4e88d535f2df7)
31-
- make it functional [`6eae547`](https://github.com/eea/volto-react-table-widget/commit/6eae547e1654be6b2ebb3d846fe3f6b2eb4ae23b)
32-
- developing [`ee9e4ab`](https://github.com/eea/volto-react-table-widget/commit/ee9e4abc79350992caec4f409d2f9e4fcc3398b5)
33-
- initial implementation [`93a9449`](https://github.com/eea/volto-react-table-widget/commit/93a94490d2cbd0cd297bd0b71c4e3c985b525f61)
34-
- initial commit [`44cd2bc`](https://github.com/eea/volto-react-table-widget/commit/44cd2bc60a530249919572090a1753c37d32efae)
35-
- Initial commit [`4674f4b`](https://github.com/eea/volto-react-table-widget/commit/4674f4b411120cfdfacc3f8ff39dcdfe153d5a1d)
7+
### [0.1.3](https://github.com/eea/volto-react-table-widget/compare/0.1.2...0.1.3) - 20 December 2022
8+
9+
#### :hammer_and_wrench: Others
10+
11+
- comment cypress [ionlizarazu - [`31893fc`](https://github.com/eea/volto-react-table-widget/commit/31893fce25d08b2a2de74a61c865c7d13f9807b3)]
12+
- cypress.json [ionlizarazu - [`c2664bf`](https://github.com/eea/volto-react-table-widget/commit/c2664bfcccdd783c1eeb37026e35c0947a8dd1f8)]
13+
- cypress [ionlizarazu - [`bd25297`](https://github.com/eea/volto-react-table-widget/commit/bd25297e2b21260c623c6dabf0346cb5ad1169d4)]
14+
- cypress tests [ionlizarazu - [`112e668`](https://github.com/eea/volto-react-table-widget/commit/112e668ed52e622c03d08a9bbc76870281d4ef6a)]
15+
- comment integration tests [ionlizarazu - [`fae9883`](https://github.com/eea/volto-react-table-widget/commit/fae9883329d7ce6be2d732c1c73643f789f3ed87)]
16+
- volto-addon-ci 15x [ionlizarazu - [`a54434b`](https://github.com/eea/volto-react-table-widget/commit/a54434b601ee720a8707b1bf19a1e949ce51a05a)]
17+
- jenkinsfile [ionlizarazu - [`6c7393e`](https://github.com/eea/volto-react-table-widget/commit/6c7393e3edbe1052c7a6c9118c33848f23249ad1)]
18+
- jenkinsfile [ionlizarazu - [`59e7231`](https://github.com/eea/volto-react-table-widget/commit/59e723115c34c3e748df46dfe857456b65e99481)]
19+
- jenkinsfile [ionlizarazu - [`925300f`](https://github.com/eea/volto-react-table-widget/commit/925300fb6b2dda3398daa68bd22a2cb324d09127)]
20+
- babel config [ionlizarazu - [`0789361`](https://github.com/eea/volto-react-table-widget/commit/07893618121ace8c6f3160cf03188a75deda00f7)]
21+
- jenkinsfile volto version [ionlizarazu - [`bf131a1`](https://github.com/eea/volto-react-table-widget/commit/bf131a135e66d50997b6f9720a3ceef4d4fc6f67)]
22+
- eslintrc [ionlizarazu - [`9ae85b2`](https://github.com/eea/volto-react-table-widget/commit/9ae85b20c4e399c07208eeb0a33f0bf6d45b7dbc)]
23+
- jenkinsfile [ionlizarazu - [`427c518`](https://github.com/eea/volto-react-table-widget/commit/427c51810908ac81196e76eb32d6c0683c5efdbd)]
24+
- jenkinsfile [ionlizarazu - [`bcbb346`](https://github.com/eea/volto-react-table-widget/commit/bcbb34665dc9946f1ef44b516803209df3337e37)]
25+
- add eslintrc [ionlizarazu - [`9ef8d23`](https://github.com/eea/volto-react-table-widget/commit/9ef8d230c986453f586a511eb1dcc70458830b42)]
26+
- update cell value when value changes instead of onBlur [ionlizarazu - [`73cc0c6`](https://github.com/eea/volto-react-table-widget/commit/73cc0c626ab8ee27dd4212698753f642f9a21a0e)]
27+
- Create README.md [Mikel Larreategi - [`cbc3b63`](https://github.com/eea/volto-react-table-widget/commit/cbc3b6314cbc4f3b7dadf0b608365248f7dcf396)]
28+
### [0.1.2](https://github.com/eea/volto-react-table-widget/compare/0.1.1...0.1.2) - 3 June 2022
29+
30+
#### :hammer_and_wrench: Others
31+
32+
- add locales [ionlizarazu - [`2f58aae`](https://github.com/eea/volto-react-table-widget/commit/2f58aaea28c038c4d48d54d1700e7539cc7d42f8)]
33+
- add undomodifications parameter to get the Undo Modifications button optional [ionlizarazu - [`b2ebb03`](https://github.com/eea/volto-react-table-widget/commit/b2ebb034827f8605ad37f51b215e2a9bada58c5a)]
34+
- add schemas title and description to editor [ionlizarazu - [`2250b88`](https://github.com/eea/volto-react-table-widget/commit/2250b888eb060c10c2ff1ab577810532c8476fb8)]
35+
- refactoring code [ionlizarazu - [`99a3dc7`](https://github.com/eea/volto-react-table-widget/commit/99a3dc715d4cdacec9cbf5187fb2238d396ae708)]
36+
- prettier [Lur Ibargutxi - [`a424381`](https://github.com/eea/volto-react-table-widget/commit/a424381fbb1899bd5a561f7ce3d16820d5af00db)]
37+
- date type widget [Lur Ibargutxi - [`7ee1486`](https://github.com/eea/volto-react-table-widget/commit/7ee1486d3f647a57fa05576538b035b98926b821)]
38+
### [0.1.1](https://github.com/eea/volto-react-table-widget/compare/0.1.0...0.1.1) - 16 March 2022
39+
40+
#### :hammer_and_wrench: Others
41+
42+
- fix tag [Mikel Larreategi - [`1477105`](https://github.com/eea/volto-react-table-widget/commit/1477105ee567c1daed09bb3ce1819a20a1da024e)]
43+
### 0.1.0 - 16 March 2022
44+
45+
#### :hammer_and_wrench: Others
46+
47+
- fix paginated row edition and add/remove functionalities [ionlizarazu - [`4c0ae4e`](https://github.com/eea/volto-react-table-widget/commit/4c0ae4ed35d1fa6d25be96c0a8b62d1bc25ee481)]
48+
- add isMulti option to select fields [ionlizarazu - [`ec3b57d`](https://github.com/eea/volto-react-table-widget/commit/ec3b57dd596f9a6adede5f4d7c286f09089ad517)]
49+
- add react-csv package [ionlizarazu - [`69ba866`](https://github.com/eea/volto-react-table-widget/commit/69ba8660a30ae3e9413be7a564644448a8c51a06)]
50+
- improve docs [Mikel Larreategi - [`f64ad66`](https://github.com/eea/volto-react-table-widget/commit/f64ad66e5b8ddc665a3e6a4664c4e88d535f2df7)]
51+
- make it functional [ionlizarazu - [`6eae547`](https://github.com/eea/volto-react-table-widget/commit/6eae547e1654be6b2ebb3d846fe3f6b2eb4ae23b)]
52+
- developing [ionlizarazu - [`ee9e4ab`](https://github.com/eea/volto-react-table-widget/commit/ee9e4abc79350992caec4f409d2f9e4fcc3398b5)]
53+
- initial implementation [Mikel Larreategi - [`93a9449`](https://github.com/eea/volto-react-table-widget/commit/93a94490d2cbd0cd297bd0b71c4e3c985b525f61)]
54+
- initial commit [Mikel Larreategi - [`44cd2bc`](https://github.com/eea/volto-react-table-widget/commit/44cd2bc60a530249919572090a1753c37d32efae)]
55+
- Initial commit [Mikel Larreategi - [`4674f4b`](https://github.com/eea/volto-react-table-widget/commit/4674f4b411120cfdfacc3f8ff39dcdfe153d5a1d)]

0 commit comments

Comments
 (0)