Skip to content

Run in Neo4j Browser gives out no notice when Neo4j Desktop is not installed #141

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

Closed
stefano-ottolenghi opened this issue Jan 17, 2023 · 3 comments

Comments

@stefano-ottolenghi
Copy link
Collaborator

The run buttons only have an effect if Neo4j Desktop is installed, as they go through the neo4j-desktop:// protocol. Not everybody has it, and as it currently stands it's impossible to know that that's a prerequisite. We should alert users when clicking, if the protocol is unavailable.

@adam-cowley
Copy link
Collaborator

I don't think you can detect whether the software is installed. We could instead update these links to point to browser.neo4j.io?cmd=edit&arg=url%20encoded%20cypher%20statement instead

@stefano-ottolenghi
Copy link
Collaborator Author

It looks like you are right: you can't inquire whether a protocol has a handler registered in the browser, I guess for privacy reasons. I just assumed you could.

We could instead update these links to point to browser.neo4j.io

Unless we can also automatically spin up an instance for them, so that the link actually runs the query, I don't think it would help much. You land there and it's not at all easy to understand that you first need to get a running instance, connect to it (with another query), and then come back to the button.

As an alternative, I feel like the best we could do is put a clarifying note on hover?

@stefano-ottolenghi
Copy link
Collaborator Author

#146 removed the button altogether.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants