neo4j / neo4j-browser

Neo4j Browser is the general purpose user interface for working with Neo4j. Query, visualize, administrate and monitor the database.
https://neo4j.com
GNU General Public License v3.0
690 stars 347 forks source link

Move to use the new editor support package #1894

Closed OskarDamkjaer closed 1 year ago

OskarDamkjaer commented 1 year ago

This should not change any behavior of the editor, the change is only done to get rid of a security problem with lodash. When doing this change I found out why the syntax highlighting in browser is so bad, the integration was not completely finished. I implemented proper syntax highlighting right here in the repo, but didn't end up including it in this PR because when profiling it was quite a bit heaver than the current highlighting. Apart from that it was broken for many non-trivial queries and we have a separate initiative to rethink our cypher support, so syntax highlighting will have to wait for that to bear fruit.