Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate "project" configuration in Volto (src/config.js) #6396

Open
sneridagh opened this issue Oct 11, 2024 · 1 comment
Open

Deprecate "project" configuration in Volto (src/config.js) #6396

sneridagh opened this issue Oct 11, 2024 · 1 comment

Comments

@sneridagh
Copy link
Member

PLIP (Plone Improvement Proposal)

Responsible Persons

Proposer: Víctor Fernández de Alba (@sneridagh)

Seconder: Tiberiu Ichim (@tiberiuichim)

Abstract

The old fashioned "project layout" is discouraged, in favor of the "policy add-on package". There's nothing that limits to move all the config from a project to an add-on package.

Motivation

Duplication of concerns, unification of the developer experience. This will encourage also to move the project's logic to the policy add-on as well and keep the boilerplate empty and expendable. This will help upgrades in case that the boilerplate has to change, the integrators will have to move the policy add-on to the new boilerplate.

Proposal & Implementation

The configuration has been kept in Cookieplone for backwards compatibility, but it will be removed in Volto 19.
So Volto 19 won't load it anymore.

Deliverables

Volto won't load the project config anymore.

Risks

No risks, this is a new convention, people will have to move the configuration to an add-on which is mostly copy/paste operation and fix the imports.

Participants

Víctor Fernández de Alba

@sneridagh sneridagh changed the title Deprecate project configuration in src/config.js Deprecate project configuration in Volto "project" Oct 11, 2024
@sneridagh sneridagh changed the title Deprecate project configuration in Volto "project" Deprecate "project" configuration in Volto (src/config.js) Oct 11, 2024
@stevepiercy
Copy link
Collaborator

Would documentation of the new way of doing things be a deliverable for this PLIP? I'm not sure whether it is covered elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants