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

[slots] @plone/slots first developments #6409

Draft
wants to merge 66 commits into
base: main
Choose a base branch
from
Draft

[slots] @plone/slots first developments #6409

wants to merge 66 commits into from

Conversation

sneridagh
Copy link
Member

@sneridagh sneridagh commented Oct 15, 2024

Third level strategic package experiments

Experiments on the @plone/slots package. First trials on the shape as a not transpiled, not Volto add-on package to make it work-able as a node_modules package, and compatible with Next.js, vite-based frameworks and ultimately, Volto compatible too, just in case they are necessary there. In order to make it work, this kind of packages must not be under src directory. Let's not fight the ecosystem anymore in this matter. If the package is not being transpiled, the direct resolution must work OOTB, so the bundlers resolution is direct, and the TypeScript resolution too.


If your pull request closes an open issue, include the exact text below, immediately followed by the issue number. When your pull request gets merged, then that issue will close automatically.

Closes #

sneridagh and others added 18 commits June 5, 2024 08:28
* main: (31 commits)
  Release 18.0.0-alpha.35
  Release @plone/types 1.0.0-alpha.16
  (fix): export getFieldURL from Url.js in helpers (#6100)
  Improve container detection, `config.settings.containerBlockTypes` is no longer needed (#6099)
  Support nested directories in public folder add-on sync folders both … (#6098)
  Release 18.0.0-alpha.34
  Add generated new declarations for a34, just in case (#6097)
  Release @plone/slate 18.0.0-alpha.13
  Release @plone/registry 1.6.0
  Release @plone/types 1.0.0-alpha.15
  Add support for reading the add-ons `tsconfig.json` paths (#6096)
  Fixes #6046 pass proper defaults to align and size fields of Image block (#6093)
  bug fix. relations control panel. Restrict eglible relation targets a… (#6092)
  Fix Uncaught RangeError: date value is not finite in DateTimeFormat.format (#6088)
  Add optional `token` parameter to ploneClient initialization (#6077)
  Blocks Layout Navigator (#5642)
  Fix internalUrl  Widget to Reflect Prop Changes via onChangeBlock (#6036)
  [types] Improve styleClassNameExtenders types, Icon component JSDoc t… (#6095)
  Fix link in pop-up RelationsMatrix.jsx (#6085)
  Fix deselecting lists. (#6080)
  ...
Co-authored-by: Piero Nicolli <pnicolli@users.noreply.github.com>
* main: (185 commits)
  Release @plone/components 2.0.0-alpha.15
  [components] Fix Select component logic to support `items` use case (#6405)
  Fix clean make command (#6403)
  Release 18.0.0-alpha.46
  Release @plone/components 2.0.0-alpha.14
  Add missing export for new components (#6391)
  Revert "Fix block chooser search is not focusable when clicked on add button" (#6390)
  Replace unhelpful words with helpful ones (#6386)
  Added missing improvement to the build-deps Makefile command (#6383)
  Added rule for ESlint to detect missing key property in iterators. (#6387)
  Fix syntax of `html_meta` under `myst` field. (#6385)
  Release 18.0.0-alpha.45
  Release @plone/components 2.0.0-alpha.13
  Release @plone/types 1.0.0-alpha.20
  Add chapter: theming a base theme (#6328)
  Upgrade vite to latest (#6373)
  Porting a few minor fixes upstream (#6382)
  Added missing arg for `buildStyleClassNamesExtenders` (#6381)
  Remove pin on Vale, and upgrade to v3.x configuration (#6376)
  Change formatting from blob of text to definition list. (#6378)
  ...
* main:
  Update `typescript` and `vitest` everywhere (#6407)
  Remove all traces of Jest 24 in core (#6406)
sneridagh and others added 9 commits October 16, 2024 09:13
Co-authored-by: Steve Piercy <web@stevepiercy.com>
* main:
  Adjust the path to perform a proper `git diff` between the cached and… (#6410)
  Test whether commenting out the `ignore` command has any affect on the Netlify build.
  support depth in getNavigationQuery (#6400)
  Update caniuse Oct24 (#6408)
  Upgraded nextjs deps and configuration (#6388)
Co-authored-by: Steve Piercy <web@stevepiercy.com>
* main:
  Release 18.0.0-alpha.47
  Release generate-volto 9.0.0-alpha.20
  Release @plone/scripts 3.7.0
  Release @plone/registry 2.0.0-alpha.0
  Improve @plone/registry release-it config
  `@plone/registry` as ESM module, move to TS, complete documentation (#6399)
* main:
  Added upgrade guide fix for HMR (#6446)
  Fix CSS lint in Volto Slate (#6444)
* main: (26 commits)
  Release generate-volto 9.0.0
  Changelog
  Release 18.0.0
  Preparations for 18.0.0 final release (#6281)
  Release @plone/slate 18.0.0
  Changelog
  Release @plone/components 2.0.0
  Changelog
  Release @plone/registry 2.0.0
  Changelog
  Release @plone/types 1.0.0
  Changelog
  Release 18.0.0-alpha.49
  Update browserlist (#6455)
  Update Romanian translation (#6454)
  Update pt_BR translation (#6453)
  Release 18.0.0-alpha.48
  Fix declaration emits for wrong JSDocs
  Release @plone/slate 18.0.0-alpha.20
  Release @plone/types 1.0.0-alpha.22
  ...
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.

Another WIP review.

<Container layout className="footer">
{/* TODO: i18n properly */}
<div className="footer-message">
The Plone® Open Source CMS/WCM is © 2000-2024 by the Plone Foundation
Copy link
Collaborator

Choose a reason for hiding this comment

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

WTF is a WCM, other than alphabet soup? mmm... soup...

Can we make the end year dynamic, so we don't have to update this every January 1?

{/* TODO: i18n properly */}
<div className="footer-message">
The Plone® Open Source CMS/WCM is © 2000-2024 by the Plone Foundation
and friends. <br />
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should be explicit or remove this statement. I thought the Zope Foundation ceased to exist for the purpose of Plone, so we have no friends. so lonely...

<div className="footer-message">
The Plone® Open Source CMS/WCM is © 2000-2024 by the Plone Foundation
and friends. <br />
Distributed under the GNU GPL license.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Now that Volto is distributed under the MIT license, should this be modified to include that? This might be a lawyer or Board question. At the very least, we should specify the license version number.

Suggested change
Distributed under the GNU GPL license.
Distributed under the GNU GPLv2 license.

Copy link
Contributor

Choose a reason for hiding this comment

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

Should we maybe try to have everything under the same license in the plone github org? Agree this is a lawyer/Board question

Copy link
Collaborator

Choose a reason for hiding this comment

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

I really don't know. This is the only information I have, but it seems that the Board wants only GPLv2.

https://plone.org/foundation/copyright-licensing-logo/license-faq

Side note, I don't know the process or legal concerns about switching Volto core's license. Contributions have been made under multiple licenses, including BSD2, BSD3, and MIT.

<Logo content={content} location={location} />
</div>
<a className="item powered-by" href="https://plone.org">
Powered by Plone & Python
Copy link
Collaborator

Choose a reason for hiding this comment

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

If we list one language, then we'll need to include them all. No, thank you.

Suggested change
Powered by Plone & Python
Powered by Plone

},
site: {
'plone.site_title': 'Plone site',
// 'plone.site_logo': 'https://sneridagh.dev/',
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this needs to be updated.

},
site: {
'plone.site_title': 'Plone site',
// 'plone.site_logo': 'https://sneridagh.dev/',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same

},
site: {
'plone.site_title': 'Plone site',
// 'plone.site_logo': 'https://sneridagh.dev/',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same

sneridagh and others added 18 commits November 2, 2024 16:21
* main:
  Fix require load of CJS config from ESM module (#6458)
  Fix redirects (#6457)
  Clean up add-on-registry.md docs (#6456)
* main: (27 commits)
  React Router 7 experimental PoC (#6472)
  First batch of the overhaul of the add-ons section (#6397)
  URL Management control panel: show errors from CSV upload (#6473)
  Release 18.0.3
  Release @plone/registry 2.1.2
  Preparing for 18.0.3
  Fix weird issue in images build with typings (#6471)
  Release 18.0.2
  Release @plone/providers 1.0.0-alpha.5
  Release @plone/scripts 3.8.1
  Release @plone/components 2.1.1
  Fix packaging and plone/components src export (#6470)
  Release @plone/registry 2.1.1
  Repackage registry
  Release 18.0.1
  Release @plone/providers 1.0.0-alpha.4
  Release @plone/components 2.1.0
  Release @plone/client 1.0.0-alpha.20
  Release @plone/scripts 3.8.0
  Release @plone/registry 2.1.0
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants