Skip to content

eea/volto-eea-website-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

volto-eea-website-theme

Releases

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

Pipeline Lines of Code Coverage Bugs Duplicated Lines (%)

EEA Website Volto Theme

Upgrade

Upgrading to 3.x.x

  • This version removes some Volto customizations and it requires Volto 17.20.0+. See CHANGELOG.md

Demo

Docusaurus and Storybook

See Docusaurus. See Storybook.

Volto customizations

  • volto-slate/elementEditor/utils -> plone/volto#5926

  • volto-slate/editor/SlateEditor -> When two slates looks at the same prop changing one slate and updating the other should be handled properly. This change makes replacing the old value of slate work in sync with the other slates that watches the same prop ref.

    !!IMPORTANT: This change requires volto@^16.26.1

  • volto/components/manage/Sidebar/SidebarPopup -> plone/volto#5520

  • volto/components/manage/Form/Form.jsx -> Pass errors of metadata validation to BlocksForm

  • volto/components/manage/Blocks/Block/BlocksForm.jsx -> Pass errors of metadata validation to blocks.

Getting started

Try volto-eea-website-theme with Docker

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

Go to http://localhost:3000

Add volto-eea-website-theme 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:

    "addons": [
        "@eeacms/volto-eea-website-theme"
    ],
    
    "dependencies": {
        "@eeacms/volto-eea-website-theme": "*"
    }
  • If not, create one:

    npm install -g yo @plone/generator-volto
    yo @plone/volto my-volto-project --canary --addon @eeacms/volto-eea-website-theme
    cd my-volto-project
    
  1. Install new add-ons and restart Volto:

    yarn
    yarn start
    
  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)