Skip to content

eea/volto-eea-kitkat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,973 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

volto-eea-kitkat 🍫

Releases

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Volto Add-ons bundle - A known good set of Volto addons to be used within all EEA projects and beyond.

The eea.kitkat Plone add-on is the backend support for volto-eea-kitkat.

Included Volto Add-ons

  1. Releases Pipeline Pipeline @eeacms/volto-anchors
  2. Releases Pipeline Pipeline @eeacms/volto-matomo
  3. Releases Pipeline Pipeline @eeacms/volto-sentry-rancher-config
  4. Releases Pipeline Pipeline @eeacms/volto-controlpanel
  5. Releases Pipeline Pipeline @eeacms/volto-corsproxy
  6. Releases Pipeline Pipeline @eeacms/volto-taxonomy
  7. Releases Pipeline Pipeline @eeacms/volto-object-widget
  8. Releases Pipeline Pipeline @eeacms/volto-widget-theme-picker
  9. Releases Pipeline Pipeline @eeacms/volto-widget-toggle
  10. Releases Pipeline Pipeline @eeacms/volto-widget-temporal-coverage
  11. Releases Pipeline Pipeline @eeacms/volto-widget-geolocation
  12. Releases Pipeline Pipeline @eeacms/volto-slate-metadata-mentions
  13. Releases Pipeline Pipeline @eeacms/volto-slate-footnote
  14. Releases Pipeline Pipeline @eeacms/volto-slate-zotero
  15. Releases Pipeline Pipeline @eeacms/volto-accordion-block
  16. Releases Pipeline Pipeline @eeacms/volto-block-divider
  17. Releases Pipeline Pipeline @eeacms/volto-listing-block
  18. Releases Pipeline Pipeline @eeacms/volto-metadata-block
  19. Releases Pipeline Pipeline @eeacms/volto-group-block
  20. Releases Pipeline Pipeline @eeacms/volto-columns-block
  21. Releases Pipeline Pipeline @eeacms/volto-tabs-block
  22. Releases Pipeline Pipeline @eeacms/volto-block-image-cards
  23. Releases Pipeline Pipeline @eeacms/volto-nextcloud-video-block
  24. Releases Pipeline Pipeline @eeacms/volto-banner
  25. Releases Pipeline Pipeline @eeacms/volto-resize-helper
  26. Releases Pipeline Pipeline @eeacms/volto-block-style
  27. Releases Pipeline Pipeline @eeacms/volto-widget-dataprovenance
  28. Releases Pipeline Pipeline @eeacms/volto-slate-label
  29. Releases Pipeline Pipeline @eeacms/volto-call-to-action-block
  30. Releases Pipeline Pipeline @eeacms/volto-description-block
  31. Releases Pipeline Pipeline @eeacms/volto-hero-block
  32. Releases Pipeline Pipeline @eeacms/volto-quote-block
  33. Releases Pipeline Pipeline @eeacms/volto-statistic-block
  34. Releases Pipeline Pipeline @eeacms/volto-tags-block
  35. Releases Pipeline Pipeline @eeacms/volto-timeline-block
  36. Releases Pipeline Pipeline @eeacms/volto-toolbar-actions
  37. Releases Pipeline Pipeline @eeacms/volto-block-data-table
  38. Releases @plone-collective/volto-sentry

Upgrade

Upgrading to 33.x

This version line adds support for Volto 18 and is compatible with Volto 17+ projects.

Upgrading to 32.x

This version removes volto-chatbot dependency, thus you'll have to explicitly add it to your project's package.json if you still need it.

Add-ons removed

  1. @eeacms/volto-chatbot

Upgrading to 25.x

This version adds support for Volto 17 and it is meant to be used with Volto 17+. It may work with Volto 16 but it is not fully backward compatible (especially in Teaser block, anchors, listing), thus upgrading volto-eea-kitkat to version 25+ implies also upgrading to Volto 17+.

Add-ons removed

  1. @kitconcept/volto-blocks-grid

Add-ons added

  1. @eeacms/volto-block-toc

Upgrading to 20.x

This versions comes with @eeacms/volto-tabs-block 17.x. See this package upgrade guide

Upgrading to 10.x

This version requires: @plone/volto >= 16.0.0.alpha.45 (Sentry removed from Volto Core).

New add-ons added

  1. @plone-collective/volto-sentry
  2. @kitconcept/volto-blocks-grid
  3. @eeacms/volto-slate-label
  4. @eeacms/volto-call-to-action-block
  5. @eeacms/volto-description-block
  6. @eeacms/volto-hero-block
  7. @eeacms/volto-quote-block
  8. @eeacms/volto-statistic-block
  9. @eeacms/volto-tags-block
  10. @eeacms/volto-timeline-block

Upgrading to 9.x

This version requires: @plone/volto >= 16.0.0.alpha.15 (volto-slate part of Volto Core).

Dropped dependencies (moved to Volto Core)

  1. volto-slate
  2. volto-block-toc

Resolutions

Volto EEA KitKat provides a set of generic Volto Add-ons and a Known Good Set of these add-ons versions to be used within your Volto projects without having to worry about which add-on version works best with another add-on.

While in other systems when you pin a package version to a specific number you will get that package version, in Javascript world is not that simple.

For this, Volto EEA Kitkat is using selective dependency resolutions. While this work as expected in most of the cases, you may still have some surprises.

Troubleshooting

  1. Make sure your Volto project yarn.lock is not polluted. You can always reset your Volto project yarn.lock with:

     $ uvx cookieplone project
     $ cd project-title
     $ cp yarn.lock /path/to/my-volto-project/yarn.lock
     $ cd /path/to/my-volto-project
     $ yarn
    
  2. Add-on resolutions don't work with workspaces (development mode), thus you'll need to define resolutions within Volto project. To tackle this issue, this Docker image automatically extracts resolutions from add-on and add them also to the Volto project before running tests.

Getting started

Try volto-eea-kitkat with Docker

  git clone https://github.com/eea/volto-eea-kitkat.git
  cd volto-eea-kitkat
  make
  make start

Go to http://localhost:3000

make start now defaults to Volto 18. To run the same setup against Volto 17, use:

  VOLTO_VERSION=17 make
  VOLTO_VERSION=17 make start

Add volto-eea-kitkat to your Volto project

  1. Make sure you have a Plone backend up-and-running at http://localhost:8080/Plone

    docker compose up backend
  2. Start Volto frontend

  • If you already have a volto project, just update package.json:

    "dependencies": {
        "@eeacms/volto-eea-kitkat": "*"
    }

    and volto.config.js:

    const addons = ['@eeacms/volto-eea-kitkat'];
  • If not, create one with Cookieplone, as recommended by the official Plone documentation for Volto 18+:

    uvx cookieplone project
    cd project-title
    
  1. Install or update dependencies, then start the project:

    make install
    

    For a Cookieplone project, start the backend and frontend in separate terminals:

    make backend-start
    make frontend-start
    

    For a legacy Volto 17 project, install the package with yarn and restart the frontend as usual.

  2. Go to http://localhost:3000

  3. Happy editing!

Release

See RELEASE.md.

How to contribute

See DEVELOP.md.

Copyright and license

The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.

See LICENSE.md for details.

Funding

European Environment Agency (EU)

About

EEA Volto Add-ons bundle: A known good set of Volto addons to be used within all EEA projects

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Generated from eea/volto-addon-template