Skip to content

Refresh button doesn't work properly #144

Open
@Mghrabi

Description

Describe the bug
When you add a new node to a graph using the command line, and then click on the Refresh Button on the frame, it doesn't update the data on the screen (you need to rerun the query and create a new query-result frame to show new data).
In the screenshot below, although the two frames have the same query SELECT * FROM cypher('test', $$ MATCH (v: Person) RETURN v $$) as (result agtype);, but then don't show the same data even after clicking on the refresh button, the data is not updated on the screen (ahmed node is not displayed)

Screenshot (789)

To Reproduce

Data setup:

SELECT * FROM create_graph('test'); 
SELECT * FROM cypher('test', $$ CREATE (v: Person {name: 'ahmed'}) RETURN v $$) as (result agtype);

Steps to reproduce the behavior:

  1. Open AGE Viewer tool
  2. Connect to a database
  3. Run a MATCH on the test graph we just created SELECT * FROM cypher('test', $$ MATCH (v: Person) RETURN v $$) as (result agtype)
  4. Add a new node to the test graph from the command line SELECT * FROM cypher('test', $$ CREATE (v: Person {name: 'ahmed'}) RETURN v $$) as (result agtype);
  5. Click on the refresh button on the screen frame (nothing updated)

Expected behavior
data should be updated after clicking on the refresh button

Desktop (please complete the following information):

  • OS: [wsl2 Ubuntu 20.04]
  • Browser [Chrome]
  • Version Latest

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions