8.2.14 • Published 2 months ago

@neos-project/build-essentials v8.2.14

Weekly downloads
52
License
GNU GPLv3
Repository
-
Last release
2 months ago

@neos/neos-ui

CircleCI Dependency Status Known Vulnerabilities Slack Forum Twitter

The next generation Neos CMS interface written in ReactJS and a ton of other fun technology.

Versioning

This repository follows the same versioning scheme as Neos itself, with the only exception that the 4.0 branch works with all Neos 4.x releases. Release roadmap is available here

That means:

  • All bugfixes go to the lowest maintained branch
  • All new features go only to master
  • New minor and major releases are made in sync with Neos/Flow. Bugfix releases may be available independantly

Currently maintained versions

  • NeosCMS version 4.x: branch 4.0
  • NeosCMS version 5.0: branch 5.0
  • NeosCMS version 5.1: branch 5.1
  • latest development happens in master

Browser support

The new interface supports all evergreen (i.e. self-updating) browsers, including: Chrome, Firefox, Safari, Edge, Opera and other webkit-based browsers.

In order to get IE11 to work, please switch to CKEditor 4, as CKEditor 5 doesn't support it. But doing so is highly discouraged, so where possibly encourage your editors to use modern browsers.

If you discover bugs in any of the supported browsers, please report them!

Features

  • Better editing experience for responsive websites.
  • Faster load times for the backend.
  • No reload constraint for the correct stylesheets on multi-site systems.
  • Updated Font-Awesome to v5.0 (old icon names are migrated on the fly).

Installation and usage

The new UI is already included in the base Neos distribution. If you don't have it installed yet, follow these steps:

  1. You need to have Neos CMS 3.3 or newer up & running.

  2. Run the following command:

composer require neos/neos-ui
  1. Now you are all set up and you can login to the new interface as usual via /neos route.

Updating

composer update neos/neos-ui

Installing dev-master

For trying out the new UI, we recommend you to run the regularily released beta releases. However, if you want to stay on bleeding-edge, or want to help out developing, you'll need the dev-master release. You can install the master release using:

composer require neos/neos-ui-compiled:dev-master neos/neos-ui:dev-master

Contributing

Please follow the respective guides for contributing on OSX and on Linux.

on Windows

1) Ensure you have the relevant version installed (see above).

2) Please install Docker for Windows.

3) Run docker-compose up.

4) Inside Configuration/Settings.yaml, set the following property for disabling the pre-compiled files:

Neos:
  Neos:
    Ui:
      frontendDevelopmentMode: true

6) Get an overview about the codebase. We've recorded an introduction on YouTube which gets you acquainted with the basics. Additionally, please get in touch with us on Slack in the channel #project-ui-rewrite. We're eager to help you get started!

on OSX / Linux

In order to start contributing on OSX / Linux, follow the following steps:

1) Ensure you have the relevant version installed (see above).

2) We require Chrome as well as the yarn(https://yarnpkg.com/en/) command and GNU Make(https://www.gnu.org/software/make/) to be installed on your system.

3) The currently supported version of node is defined in .nvmrc file. If you have nvm installed, you can just run nvm install && nvm use from the project directory.

4) Inside Configuration/Settings.yaml, set the following property for disabling the pre-compiled files:

Neos:
  Neos:
    Ui:
      frontendDevelopmentMode: true

5) Run the initialization script:

make setup

6) Get an overview about the codebase. We've recorded an introduction on YouTube which gets you acquainted with the basics. Additionally, please get in touch with us on Slack in the channel #project-ui-rewrite. We're eager to help you get started!

Guideline for PR and commit messages

Please see our guideline on how to write meaningful descriptions for your contributions.

Doing upmerges

To do the upmerge run the following commands

git checkout 5.1 && git fetch && git reset --hard origin/5.1 && git merge --no-ff --no-commit origin/5.0 --strategy-option=ours
# review and `git commit`
git checkout master && git fetch && git reset --hard origin/master && git merge --no-ff --no-commit origin/5.1 --strategy-option=ours
# review and `git commit`

Development commands

CommandDescription
make cleandelete all node_modules in every subdirectory.
make buildRuns the development build.
make build-watchWatches the source files for changes and runs a build in case.
make build-watch-pollWatches (and polls) the source files on a file share. Should preferably be used when working an a VM for example.
make storybookStarts the storybook server on port 9001.
make lintExecutes make lint-js and make lint-editorconfig.
make lint-jsRuns test in all subpackages via lerna.
make lint-editorconfigTests if all files respect the .editorconfig.
make testExecutes the test on all source files.
make test-e2eExecutes integration tests.
Custom webpack live reload options

If you are developing inside a virtual machine and you are running the watch command on your local system it is may be needed for you to adjust the live reload optons.

This can be done by putting an .webpack.livereload.local.js inside the repository root.

An example file would look like this:

module.exports = {
    protocol: 'http',
    port: '123',
    hostname: 'localhost'
};

Writing unit tests

The unit tests are executed with jest. To run the unit tests, execute make test in your shell.

Adding unit tests is fairly simple, just create a file on the same tree level as your changed/new feature, named [filename].spec.js and karma will execute all tests found within the spec file, other than that, just orient yourself on the existing tests.

Use it.only(() => {}) and describe.only(() => {}) if you want to run a specific test and not the whole test suite.

Integration tests

To setup end-to-end tests locally you have got to do the same things described in CircleCI workflow, namely take the test disribution and composer install in it, put the right branch into Neos.Neos.Ui folder and run webserver and mysql server with the same config as described in the test distribution's Settings.yaml (or adjust it).

For executing the end to end tests on a Mac with catalina or higher you need to permit screen recording. Open 'System Preferences > Security & Privacy > Privacy > Screen Recording' and check 'TestCafe Browser Tools' in the application list.

Debugging integration tests
  • View the recording via Sauce Labs. You can find the url in the beginning of the test output.
  • Observe Flow exceptions and logs in build artifacts.
  • You can trigger a SSH enabled build via the CircleCI interface and then login.

Releasing

You only need to trigger the jenkins release with the version you want to release. After jenkins has finished you need release a new version on github.

License

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

8.2.14

2 months ago

7.3.22

2 months ago

8.1.14

2 months ago

8.0.17

2 months ago

8.2.13

4 months ago

7.3.21

4 months ago

8.1.13

4 months ago

8.0.16

4 months ago

8.2.10

10 months ago

8.2.11

10 months ago

8.2.12

8 months ago

7.3.18

10 months ago

7.3.19

10 months ago

7.3.20

8 months ago

8.1.11

10 months ago

8.1.10

10 months ago

8.1.12

8 months ago

8.0.14

10 months ago

8.0.13

10 months ago

8.0.15

8 months ago

8.2.7

1 year ago

8.2.9

1 year ago

8.2.8

1 year ago

7.3.14

1 year ago

7.3.13

1 year ago

7.3.15

1 year ago

7.3.17

1 year ago

8.0.10

1 year ago

8.0.12

1 year ago

8.0.11

1 year ago

8.1.8

1 year ago

8.1.7

1 year ago

8.1.9

1 year ago

8.2.6

1 year ago

8.2.5

1 year ago

8.2.4

1 year ago

8.2.7-beta1

1 year ago

8.2.5-beta2

1 year ago

8.2.5-beta1

1 year ago

7.3.12

1 year ago

7.3.11

1 year ago

8.0.9

1 year ago

8.0.8

1 year ago

8.1.6

1 year ago

8.2.3

1 year ago

8.2.2

1 year ago

8.1.2

1 year ago

8.2.1

1 year ago

8.2.0

1 year ago

7.3.10

1 year ago

8.2.0-beta7

1 year ago

8.2.0-beta8

1 year ago

8.2.0-beta5

1 year ago

8.2.0-beta6

1 year ago

8.2.1-beta1

1 year ago

8.2.1-beta2

1 year ago

8.2.2-beta1

1 year ago

8.0.5

1 year ago

8.0.4

1 year ago

8.0.7

1 year ago

8.0.6

1 year ago

8.1.4

1 year ago

8.1.3

1 year ago

8.1.5

1 year ago

7.3.9

1 year ago

7.3.8

1 year ago

7.3.7

1 year ago

8.1.1

2 years ago

7.3.6

2 years ago

8.0.3

2 years ago

8.1.0

2 years ago

5.3.18

2 years ago

7.0.12

2 years ago

7.2.8

2 years ago

7.1.10

2 years ago

7.3.5

2 years ago

8.0.2

2 years ago

5.3.17

2 years ago

7.1.9

2 years ago

5.3.16-beta1

2 years ago

7.0.11

2 years ago

7.2.7

2 years ago

7.3.4

2 years ago

8.0.1

2 years ago

5.3.15

2 years ago

7.1.8

2 years ago

7.0.10

2 years ago

7.2.6

2 years ago

7.3.3

2 years ago

8.0.0

2 years ago

7.0.9

2 years ago

5.3.14

2 years ago

7.1.7

2 years ago

7.2.5

2 years ago

7.3.2

2 years ago

7.3.1

2 years ago

7.0.8

2 years ago

5.3.13

2 years ago

7.1.6

2 years ago

7.2.4

2 years ago

7.3.0

2 years ago

7.0.7

2 years ago

5.3.12

2 years ago

7.1.5

2 years ago

7.2.3

2 years ago

7.0.6

3 years ago

7.0.5

3 years ago

5.3.11

3 years ago

5.3.10

3 years ago

7.1.4

3 years ago

7.1.3

3 years ago

7.2.2

3 years ago

7.2.1

3 years ago

7.2.0

3 years ago

7.0.4

3 years ago

7.1.2

3 years ago

5.3.9

3 years ago

7.0.3

3 years ago

7.1.1

3 years ago

5.3.8

3 years ago

7.1.0

3 years ago

7.0.2

3 years ago

5.3.7

3 years ago

5.0.13

3 years ago

7.0.1

3 years ago

5.2.9

3 years ago

4.0.14

3 years ago

5.1.13

3 years ago

5.3.6

3 years ago

5.1.12

3 years ago

5.2.8

3 years ago

5.3.5

3 years ago

5.0.12

3 years ago

4.0.13

3 years ago

7.0.0

3 years ago

5.2.7

4 years ago

5.3.4

4 years ago

5.3.3

4 years ago

5.3.2

4 years ago

5.0.11

4 years ago

4.0.12

4 years ago

5.2.6

4 years ago

5.1.11

4 years ago

5.3.1

4 years ago

5.2.5

4 years ago

5.1.10

4 years ago

5.0.10

4 years ago

4.0.11

4 years ago

5.3.0

4 years ago

5.0.9

4 years ago

5.1.9

4 years ago

4.0.10

4 years ago

5.2.4

4 years ago

4.0.9

4 years ago

5.0.8

4 years ago

4.0.8

4 years ago

5.1.8

4 years ago

5.2.3

4 years ago

4.0.7

4 years ago

5.0.7

4 years ago

5.1.7

4 years ago

5.2.2

4 years ago

5.2.1

4 years ago

5.2.0

4 years ago

5.1.6

4 years ago

5.1.5

4 years ago

4.0.6

4 years ago

5.0.6

4 years ago

5.1.4

4 years ago

4.0.5

4 years ago

5.0.5

4 years ago

5.1.3

4 years ago

5.0.4

4 years ago

4.0.4

4 years ago

5.1.2

4 years ago

4.0.3

4 years ago

5.0.3

4 years ago

5.1.1

4 years ago

5.1.0

4 years ago

5.0.2

4 years ago

2.9.2

4 years ago

4.0.2

4 years ago

2.9.1

4 years ago

4.0.1

4 years ago

5.0.1

4 years ago

5.0.0

5 years ago

4.0.0

5 years ago

3.9.0

5 years ago

2.9.0

5 years ago

3.8.1

5 years ago

2.8.1

5 years ago

3.8.0

5 years ago

2.8.0

5 years ago

3.7.0

5 years ago

2.7.0

5 years ago

2.6.1

5 years ago

3.6.1

5 years ago

3.6.0

5 years ago

2.6.0

5 years ago

3.5.0

5 years ago

2.5.0

5 years ago

3.4.0

5 years ago

2.4.0

5 years ago

3.3.0

5 years ago

2.3.0

5 years ago

3.2.1

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

3.1.0

5 years ago

2.1.0

5 years ago

2.0.3-beta

5 years ago

3.0.2

5 years ago

2.0.2

5 years ago

3.0.1

5 years ago

2.0.1

5 years ago

3.0.0

5 years ago

2.0.0

5 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

0.0.1

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.0

6 years ago

1.0.0-beta8

7 years ago

1.0.0-beta7

7 years ago

1.0.0-beta6

7 years ago

1.0.0-beta4

7 years ago

1.0.0-beta3

7 years ago

1.0.0-beta2

7 years ago

4.4.8

7 years ago