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

5439 clarify defaultAddonName option and mention to the generator readme the creation of the theme add-on #5709

Merged
merged 6 commits into from
Jan 30, 2024

Conversation

ichim-david
Copy link
Member

Honestly, I hope this triggers a bug acknowledgment that the generator shouldn't automatically create a theme add-on whenever the generator is used to generate the volto project, however in case this is still seen as a feature and not a bug then we should document this behavior and bring it into the awareness of anyone who uses the volto generator.

Added also some extra content to the readme and modified the example project name given from my-volto-project -> myvoltoproject since this is what we use in the documentation.

Copy link

netlify bot commented Jan 28, 2024

Deploy Preview for plone-components canceled.

Name Link
🔨 Latest commit d1bcc4d
🔍 Latest deploy log https://app.netlify.com/sites/plone-components/deploys/65b639616ac8db000817b050

Copy link

netlify bot commented Jan 28, 2024

Deploy Preview for volto canceled.

Name Link
🔨 Latest commit d1bcc4d
🔍 Latest deploy log https://app.netlify.com/sites/volto/deploys/65b63961faa50c00088ff57c

Copy link
Collaborator

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor tweaks, and a question about npm/pnpm.

Co-authored-by: Steve Piercy <web@stevepiercy.com>
@ichim-david
Copy link
Member Author

A few minor tweaks, and a question about npm/pnpm.

@stevepiercy thx, committed the suggestions, this is such an underrated feature of the pull request review process,
alongside batching the changes into one commit, oh so nice :)

@ichim-david ichim-david requested a review from davisagli January 28, 2024 11:40
Copy link
Collaborator

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@sneridagh
Copy link
Member

@ichim-david This is needed in order to get people away from doing theming in the project. I cannot see any other way. It could have been executed better, could be. Open to suggestions. We have to overhaul the generator soon anyways.

@sneridagh
Copy link
Member

@ichim-david thanks for clarifying it, I think now it's great and much better.

@sneridagh sneridagh merged commit 81065c3 into main Jan 30, 2024
63 checks passed
@sneridagh sneridagh deleted the 5439-volto-project-docs branch January 30, 2024 19:39
@wesleybl
Copy link
Member

This is needed in order to get people away from doing theming in the project.

@sneridagh Is creating a theme in the project a bad practice? One disadvantage I can think of is not being reusable. Any others?

@sneridagh
Copy link
Member

@wesleybl it's discouraged. The project should be something expendable, so you can migrate your code from version to version just by running the generator again, place your add-on inside.

Also, it allows you to test your code in isolation, using the development docker environment approach, if needed.

sneridagh added a commit that referenced this pull request Feb 1, 2024
* main:
  Block search engines from indexing content on Netlify preview builds (#5725)
  fixed a11y Logo Issue and added Translations (#5722)
  Allow editor to edit metadata name during bulk or single upload (#5560)
  5439 clarify defaultAddonName option and mention to the generator readme the creation of the theme add-on (#5709)
  Remove turbo from monorepo commands until it's really necessary (#5715)
  bugfix: wrong conditional proprieties on ObjectBrowser (#4190)
  Added aria-live='polite' (#5639)
  Release 18.0.0-alpha.9
  Release @plone/scripts 3.3.2
  fix: handle addons that have not been migrated to the new structure o… (#5704)
  Update Semantic UI React to version 2.1.5 (#5632)
  Removed unmaintained and unused razzle-plugin-bundle-analyze (#5671)
  3716 - improve validation of id widget (#4686)
  Fixed redirect of https://tanstack.com/query/v4/docs/react/guides/ssr… (#5700)
  Release 18.0.0-alpha.8
  Release @plone/volto 18.0.0-alpha.7 (not pushed to main)
  Release @plone/slate 18.0.0-alpha.6
  Release @plone/registry 1.2.1 (not pushed to repo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants