Skip to content

Commit

Permalink
Upgrade to volto 9
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Nov 26, 2020
1 parent 486514b commit 2c54ceb
Show file tree
Hide file tree
Showing 7 changed files with 581 additions and 904 deletions.
9 changes: 0 additions & 9 deletions jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@
"volto-embed": [
"develop/volto-embed/src"
],
"@eeacms/volto-tabs-block": [
"develop/volto-tabs-block/src"
],
"@eeacms/volto-slate-metadata-mentions": [
"develop/volto-slate-metadata-mentions/src"
],
"volto-slate": [
"develop/volto-slate/src"
],
"volto-matomo": [
"develop/volto-matomo/src"
]
Expand Down
17 changes: 0 additions & 17 deletions mrs.developer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,6 @@
"branch": "generic_protection_wrapper",
"path": "src"
},
"volto-tabs-block": {
"url": "https://github.com/eea/volto-tabs-block.git",
"branch": "develop",
"path": "src",
"package": "@eeacms/volto-tabs-block"
},
"volto-slate-metadata-mentions": {
"url": "https://github.com/eea/volto-slate-metadata-mentions.git",
"branch": "develop",
"path": "src",
"package": "@eeacms/volto-slate-metadata-mentions"
},
"volto-slate": {
"url": "https://github.com/eea/volto-slate.git",
"branch": "develop",
"path": "src"
},
"volto-matomo": {
"url": "https://github.com/eea/volto-matomo.git",
"branch": "master",
Expand Down
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"@eeacms/volto-widgets-view",
"@eeacms/volto-slate-metadata-mentions",
"@eeacms/volto-metadata-block",
"@eeacms/volto-tabs-block",
"@eeacms/volto-widget-toggle",
"@eeacms/volto-blocks-form",
"@eeacms/volto-object-widget",
Expand Down Expand Up @@ -112,15 +111,15 @@
"node": "^10 || ^12"
},
"dependencies": {
"@eeacms/volto-blocks-form": "github:eea/volto-blocks-form#1.0.0",
"@eeacms/volto-metadata-block": "github:eea/volto-metadata-block#1.0.1",
"@eeacms/volto-object-widget": "github:eea/volto-object-widget#1.0.0",
"@eeacms/volto-blocks-form": "github:eea/volto-blocks-form#1.0.1",
"@eeacms/volto-metadata-block": "github:eea/volto-metadata-block#1.0.2",
"@eeacms/volto-object-widget": "github:eea/volto-object-widget#1.0.3",
"@eeacms/volto-widget-toggle": "github:eea/volto-widget-toggle#1.0.0",
"@eeacms/volto-widgets-view": "github:eea/volto-widgets-view#1.0.1",
"@eeacms/volto-slate-metadata-mentions": "github:eea/volto-slate-metadata-mentions#0.4.2",
"@eeacms/volto-widgets-view": "github:eea/volto-widgets-view#1.0.3",
"@eeacms/volto-slate-metadata-mentions": "github:eea/volto-slate-metadata-mentions#1.0.0",
"@material/react-linear-progress": "^0.15.0",
"@plone/volto": "github:eea/volto#8.2.6-beta1",
"volto-slate": "github:eea/volto-slate#0.9.2",
"@plone/volto": "github:eea/volto#9.2-eea-beta0",
"volto-slate": "github:eea/volto-slate#1.0.1",
"axios": "^0.20.0",
"jsonp": "^0.2.1",
"ol": "^6.4.3",
Expand Down
2 changes: 2 additions & 0 deletions src/components/theme/View/DefaultView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ const DefaultView = ({

useEffect(() => {
setMounted(true);
console.log('MOUNTED');
return () => {
console.log('UNMOUNTED');
setMounted(false);
};
}, []);
Expand Down
14 changes: 14 additions & 0 deletions src/customizations/volto/actions/content/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
GET_CONTENT,
ORDER_CONTENT,
RESET_CONTENT,
UPDATECOLUMNS_CONTENT,
} from '@plone/volto/constants/ActionTypes';
import { nestContent } from '@plone/volto/helpers';
import { settings } from '~/config';
Expand Down Expand Up @@ -159,3 +160,16 @@ export function resetContent(subrequest = null) {
subrequest,
};
}

/**
* Add, remove or order indexes
* @param {string} url Content url
* @param {string} index indexes with order
* @returns {Object} Index content action
*/
export function updateColumnsContent(url, index) {
return {
type: UPDATECOLUMNS_CONTENT,
indexcolumns: index,
};
}
238 changes: 0 additions & 238 deletions src/customizations/volto/components/theme/App/App.jsx

This file was deleted.

Loading

0 comments on commit 2c54ceb

Please sign in to comment.