-
Notifications
You must be signed in to change notification settings - Fork 351
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
Use GraphQL version of Relate-API when available (in Neo4j Desktop) #979
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oskarhane
force-pushed
the
relate-api-take-2
branch
from
November 29, 2019 09:37
78a54c5
to
49a2b27
Compare
oskarhane
force-pushed
the
relate-api-take-2
branch
from
December 10, 2019 13:41
49a2b27
to
1d4ad58
Compare
oskarhane
force-pushed
the
relate-api-take-2
branch
from
January 7, 2020 09:38
d08fa31
to
486a31c
Compare
oskarhane
force-pushed
the
relate-api-take-2
branch
from
January 8, 2020 13:07
dac90bc
to
5f9d978
Compare
You reviewed the original PR (linked in description) for this @huboneo, could I ask you to have a look at this new one as well? |
huboneo
approved these changes
Jan 13, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM. Havent tested
src/browser/modules/DBMSInfo/__snapshots__/MetaItems.test.js.snap
Outdated
Show resolved
Hide resolved
oskarhane
force-pushed
the
relate-api-take-2
branch
from
January 13, 2020 12:42
0bc8d61
to
4644152
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replacement of the reverted #969
Neo4j Browser should behave just as before, but using the GraphQL version rather than the injected version of the relate-api.
We're using the Apollo lib as our client.
The GraphQL queries are loaded on build so we don't need to process AST's on the client side, see https://www.apollographql.com/docs/react/recipes/webpack/.
Adapt to color theme preferences set in macOS (not working yet, might not be implemented in Neo4j Desktop, need to check)(not implemented on desktop side)Note: We're still using one function from the injected API and that's
neo4jDesktopApi.getKerberosTicket
since it's not ported to the GraphQL API yet.Should not be merged until Neo4j Desktop implements the relate-api correctly.