neo4j-devtools / neo4j-desktop

The Neo4j Graph Platform, on your desktop OS.
19 stars 1 forks source link

"Selected Project" and graphApps #39

Open whatSocks opened 5 years ago

whatSocks commented 5 years ago

It seems, because you select a project then select a graphApp, like the active graphApp should know what project it was selected from. Is this possible?

Metaur commented 5 years ago

@whatSocks it is possible in theory, we will take this idea into account during context API (the one available for graph-apps) refactoring. If you have any other ideas on how to improve the API - please ping me :)

whatSocks commented 5 years ago

How would we do it now, theoretically? ;)

Metaur commented 5 years ago

hmmm. with the current API, it's not possible. In the previous message I meant it could be possible in the future after we do appropriate changes :)

jexp commented 5 years ago

Ouch, so the user starts a graph app within a project, but then has to select that project again? That sounds like a bad UX, it would be good if we could fix that earlier than the refactoring? What's the ETA of that?

Metaur commented 5 years ago

@jexp well, is there any gain from the information of the project the graph-app was launched from? I mean, you could just be using the project, where an active graph is available (temporarily, while we are working on the context API).

Metaur commented 5 years ago

@jexp no ETA could be given at this point, need to sync that with @akollegger.

jexp commented 5 years ago

It's in the context of etl tool which can import into offline databases too. So the project is context or selecting the databases for possible import.

akollegger commented 4 years ago

Launching graph apps now happens in three separate ways:

  1. "open with..." on a database
  2. "open with..." on a file
  3. launch from sidebar

For the first two, we'll be able to provide context for the launched app.

For apps launched directly from the sidebar, there will be no context.