Skip to content
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

Refresh button doesn't work properly #144

Open
Mghrabi opened this issue May 13, 2023 · 0 comments
Open

Refresh button doesn't work properly #144

Mghrabi opened this issue May 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Mghrabi
Copy link

Mghrabi commented May 13, 2023

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
@Mghrabi Mghrabi added the bug Something isn't working label May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant