-
Notifications
You must be signed in to change notification settings - Fork 10
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
TASK: remove plow-js and refactor build stack #75
base: master
Are you sure you want to change the base?
Conversation
d7c2748
to
b01b63e
Compare
As we are able to resize the left sidebar nowadays we need to adjust the size and ellipsis handling.
@markusguenther Thanks for this work! Does this change anything related to Neos dependencies? |
Thanks @lorenzulrich as we have transpiled assets, we can use the package also with older Neos Instances. I tried it with Neos 7.3 and Neos 8.0 and it works. But when you want to name it 1.0 I am also fine with that :) flatnav-neos73.1.mp4 |
Maybe found a bug with scrolling in div containers. 🙈 |
@markusguenther What's the status on this? Is there a bug or not? If not, I will merge this. |
Since we changed the build stack in the Neos-UI to esbuild we are able to use the optional chaining (?.) operator in JavaScript. As the modern JavaScript is pretty powerful, we don’t need the helper methods from the plow-js library anymore.
The newer Neos versions also have the new feature to resize the left bar with the content and document tree. So the flatnav containers should also be resizable. This PR removes plow-js and therefore we get rid of the error messages in the console. We also use now esbuild with CSS modules to build the module assets.
With this change, we also lower the external dependencies.