Skip to content

Commit

Permalink
feat(planning): Added planning
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlovicnemanja committed Oct 24, 2023
1 parent 58fc855 commit a5bfa96
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
7 changes: 6 additions & 1 deletion client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import {startApp} from 'superdesk-core/scripts/index';

setTimeout(() => {
startApp(
[],
[
{
id: 'planning-extension',
load: () => import('superdesk-planning/client/planning-extension'),
},
],
{},
);
});
Expand Down
4 changes: 3 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
"license": "GPL-3.0",
"dependencies": {
"superdesk-core": "github:superdesk/superdesk-client-core#v2.6.2",
"superdesk-planning": "github:superdesk/superdesk-planning#v2.6.2",
"superdesk-publisher": "github:superdesk/superdesk-publisher#develop"
},
"scripts": {
"build": "npx @superdesk/build-tools build-root-repo ./"
},
"devDependencies": {
"@superdesk/build-tools": "^1.0.18"
"@superdesk/build-tools": "^1.0.18",
"@types/node": "^14.10.2"
}
}
11 changes: 8 additions & 3 deletions client/superdesk.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
module.exports = function(grunt) {
return {
apps: [
'superdesk-planning',
'superdesk-publisher'
],
importApps: [
'..',
'superdesk-publisher'
'../index',
'superdesk-planning',
'superdesk-publisher',
],
defaultRoute: '/workspace/personal',
validatorMediaMetadata: {
Expand Down Expand Up @@ -67,9 +69,12 @@ module.exports = function(grunt) {
editor3: true,
editorHighlights: true,
nestedItemsInOutputStage: true,
planning: true,
},
workspace: {
analytics: true
analytics: true,
planning: true,
assignments: true,
}
};
};

0 comments on commit a5bfa96

Please sign in to comment.