File tree Expand file tree Collapse file tree 6 files changed +1
-46
lines changed Expand file tree Collapse file tree 6 files changed +1
-46
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,6 @@ class ManagementModule extends KolibriModule {
6262 actions . showFacilityConfigPage ( store ) ;
6363 } ,
6464 } ,
65- {
66- name : PageNames . SCRATCHPAD ,
67- path : '/scratchpad' ,
68- handler : ( toRoute , fromRoute ) => {
69- actions . showScratchpad ( store ) ;
70- } ,
71- } ,
7265 {
7366 path : '/' ,
7467 redirect : '/classes' ,
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ const PageNames = {
66 USER_MGMT_PAGE : 'USER_MGMT_PAGE' ,
77 CONTENT_MGMT_PAGE : 'CONTENT_MGMT_PAGE' ,
88 DATA_EXPORT_PAGE : 'DATA_EXPORT_PAGE' ,
9- SCRATCHPAD : 'SCRATCHPAD' ,
109 FACILITY_CONFIG_PAGE : 'FACILITY_CONFIG_PAGE' ,
1110} ;
1211
@@ -17,7 +16,6 @@ const Modals = {
1716 EDIT_CLASS_NAME : 'EDIT_CLASS_NAME' ,
1817 REMOVE_USER : 'REMOVE_USER' ,
1918 CONFIRM_ENROLLMENT : 'CONFIRM_ENROLLMENT' ,
20-
2119 CREATE_USER : 'CREATE_USER' ,
2220 EDIT_USER : 'EDIT_USER' ,
2321} ;
Original file line number Diff line number Diff line change @@ -678,15 +678,6 @@ function showDataPage(store) {
678678 store . dispatch ( 'SET_PAGE_STATE' , { } ) ;
679679}
680680
681- function showScratchpad ( store ) {
682- preparePage ( store . dispatch , {
683- name : PageNames . DATA_EXPORT_PAGE ,
684- title : _managePageTitle ( 'Scratchpad' ) ,
685- isAsync : false ,
686- } ) ;
687- store . dispatch ( 'SET_PAGE_STATE' , { } ) ;
688- }
689-
690681export {
691682 displayModal ,
692683 createClass ,
@@ -718,5 +709,4 @@ export {
718709 triggerRemoteContentImportTask ,
719710 updateWizardLocalDriveList ,
720711 showDataPage ,
721- showScratchpad ,
722712} ;
Original file line number Diff line number Diff line change 2929 [PageNames .CONTENT_MGMT_PAGE ]: ' manage-content-page' ,
3030 [PageNames .DATA_EXPORT_PAGE ]: ' data-page' ,
3131 [PageNames .FACILITY_CONFIG_PAGE ]: ' facilities-config-page' ,
32- [PageNames .SCRATCHPAD ]: ' scratchpad-page' ,
3332 [PageNames .USER_MGMT_PAGE ]: ' user-page' ,
3433 };
3534 import authMessage from ' kolibri.coreVue.components.authMessage' ;
4039 import facilitiesConfigPage from ' ./facilities-config-page' ;
4140 import manageClassPage from ' ./manage-class-page' ;
4241 import manageContentPage from ' ./manage-content-page' ;
43- import scratchpadPage from ' ./scratchpad-page' ;
4442 import topNav from ' ./top-nav' ;
4543 import userPage from ' ./user-page' ;
4644 export default {
5553 facilitiesConfigPage,
5654 manageClassPage,
5755 manageContentPage,
58- scratchpadPage,
5956 topNav,
6057 userPage,
6158 },
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import Vuex from 'kolibri.lib.vuex' ;
22import * as coreStore from 'kolibri.coreVue.vuex.store' ;
3- import * as constants from '../constants' ;
43
54/**
65 ** pageState schemas
76 **/
87
98const initialState = {
10- pageName : constants . PageNames . SCRATCHPAD ,
9+ pageName : undefined ,
1110 pageState : { } ,
1211 facility : undefined ,
1312} ;
You can’t perform that action at this time.
0 commit comments