You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by "Mghrabi (via GitHub)" <gi...@apache.org> on 2023/05/13 16:08:56 UTC

[GitHub] [age-viewer] Mghrabi opened a new issue, #144: Refresh button doesn't work properly

Mghrabi opened a new issue, #144:
URL: https://github.com/apache/age-viewer/issues/144

   **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)](https://github.com/apache/age-viewer/assets/62694574/bba0a11f-30fb-40f1-b0c1-8344b7e95845)
   
   
   **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: [Windows 10]
    - Browser [Chrome]
    - Version Latest
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org