Skip to content

Make easier to extend SubmissionWizard with Vue.js components #12041

@jardakotesovec

Description

@jardakotesovec

Description:
SubmissionWizard allows to be extended with smarty templates. And smarty templates can contain Vue.js components. But since we are discouraging from Smarty use and gradually moving towards using just Vue.js components, goal of this issue is to allow to extend submission wizard without creating smarty template.

Solution:
Extend wizard.tpl to interpret if there is section.component and section.props. And for review page same thing for reviewSteps

What application are you using?
OJS, OMP or OPS version 3.5

PR (main)
pkp-lib: #12042
ojs (tests): pkp/ojs#5183

PR (3.5)
pkp-lib: #12070
ojs(tests): pkp/ojs#5200

Example in backendUiPlugin: jardakotesovec/backendUiExample@d47deb1

This should be easy enough to backport to 3.5 without braking changed once its tested on the main.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Community:1:CommonAny issue that is commonly requested by the community.Enhancement:1:MinorA new feature or improvement that can be implemented in less than 3 days.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions