diff --git a/js/load.js b/js/load.js index 3f4ea55a8b5..6f81537c49d 100644 --- a/js/load.js +++ b/js/load.js @@ -37,7 +37,7 @@ import WorkflowPage from '@/components/Container/WorkflowPageOJS.vue'; import JobsPage from '@/components/Container/JobsPage.vue'; import FailedJobsPage from '@/components/Container/FailedJobsPage.vue'; import FailedJobDetailsPage from '@/components/Container/FailedJobDetailsPage.vue'; -import SubmissionsPage from '@/pages/submissions/SubmissionsPage.vue'; +import DashboardPage from '@/pages/dashboard/DashboardPage.vue'; // Expose Vue, the registry and controllers in a global var window.pkp = Object.assign(PkpLoad, window.pkp || {}, { @@ -65,6 +65,6 @@ window.pkp = Object.assign(PkpLoad, window.pkp || {}, { StatsUsersPage, SubmissionWizardPage, WorkflowPage, - SubmissionsPage, + DashboardPage, }, }); diff --git a/registry/uiLocaleKeysBackend.json b/registry/uiLocaleKeysBackend.json index 3763c71436a..e0aa11c7913 100644 --- a/registry/uiLocaleKeysBackend.json +++ b/registry/uiLocaleKeysBackend.json @@ -54,9 +54,16 @@ "doi.manager.versions.countStatement", "doi.manager.versions.modalTitle", "doi.manager.versions.view", + "editor.review.cancelReviewer", + "editor.review.resendRequestReviewer", + "editor.review.reviewDetails", + "editor.review.unassignReviewer", + "editor.submission.addStageParticipant", + "editor.submission.decision.requestRevisions", "editor.submission.search", "editor.submission.viewSummary", "editor.submissionArchive.confirmDelete", + "editor.submissionReview.editReview", "form.dataHasChanged", "form.errorA11y", "form.errorGoTo", @@ -131,6 +138,7 @@ "publication.jats.confirmDeleteFileMessage", "publication.jats.confirmDeleteFileTitle", "publication.jats.lastModified", + "publication.selectIssue", "publication.status.published", "publication.status.unpublished", "publication.version", diff --git a/vue.config.js b/vue.config.js deleted file mode 100644 index 01446d6b661..00000000000 --- a/vue.config.js +++ /dev/null @@ -1,62 +0,0 @@ -var path = require('path'); -const CopyPlugin = require("copy-webpack-plugin"); - -module.exports = { - css: { - extract: { - filename: '../styles/build.css' - } - }, - chainWebpack: config => { - // Don't create an index.html file - config.plugins.delete('html'); - config.plugins.delete('preload'); - config.plugins.delete('prefetch'); - - // Don't copy the /public dir - config.plugins.delete('copy'); - }, - configureWebpack: { - // Don't create a map file for the js package - devtool: false, - entry: [ - '@/styles/_global.less', - './js/load.js' - ], - optimization: { - // Don't split vendor and app into separate JS files - splitChunks: false - }, - output: { - filename: 'build.js', - // Prevent lots of files from being created when running npm run dev - hotUpdateChunkFilename: 'hot-updates/hot-update.js', - hotUpdateMainFilename: 'hot-updates/hot-update.json' - }, - plugins: [ - new CopyPlugin({ - patterns: [ - { - from: 'lib/ui-library/public/styles/tinymce', - to: '../lib/pkp/styles/tinymce' - } - ] - }) - ], - resolve: { - alias: { - '@': path.resolve(__dirname, 'lib/ui-library/src') - } - }, - watch: false - }, - outputDir: path.resolve(__dirname, 'js'), - runtimeCompiler: true, - // Part of the vue2-dropzone library is not transpiled - // as part of the normal build process, which results - // in errors in < IE 11. This directive makes sure the - // dependencies are included when babel transpiles code - // See: https://github.com/rowanwins/vue-dropzone/issues/439 - // See: https://stackoverflow.com/a/58949645/1723499 - transpileDependencies: ['vue2-dropzone'] -};