Skip to content

Conversation

@noahmay
Copy link
Contributor

@noahmay noahmay commented Jan 13, 2023

Adds labels and types to nodes and relationships respectively in the text table for a cypher frame. This look is more aligned with cypher shell than the previous one which only showed properties.

Screenshot 2023-01-13 at 09 42 49

Screenshot 2023-01-13 at 09 42 59

Copy link
Contributor

@eijawerner eijawerner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! ⭐ See review comments for some details to look over. Also I think for these kind of functions with a lot of logic, and since unit tests are rather cheap to run, it would be good to have more unit tests, apart from the path with multiple nodes we talked about, make sure that all paths in the recordToStringArray and stringifyNodeRelationshipOrPath are covered.

@noahmay
Copy link
Contributor Author

noahmay commented Jan 26, 2023

@eijawerner thanks for the review everything is updated now

@noahmay noahmay requested a review from eijawerner January 26, 2023 14:56
Copy link
Contributor

@eijawerner eijawerner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@noahmay noahmay merged commit 11e87c1 into neo4j:master Jan 27, 2023
@noahmay noahmay deleted the ascii-table branch January 27, 2023 08:18
noahmay added a commit to BjornMagn-Neo4j/neo4j-browser that referenced this pull request Mar 8, 2023
* updates the text table and csv content for cypher frames

* fix type error

* update unit test

* handle cypher map type

* fix tests

* update e2e test

* update e2e test

* fix e2e tests

* updare snapshot

* update ascii view function to map records

* fix tests

* update after review

* missed optional length
@OskarDamkjaer OskarDamkjaer changed the title updates the text table and csv content for cypher frames Align text table and csv content with cypher shell Mar 20, 2023
@OskarDamkjaer OskarDamkjaer changed the title Align text table and csv content with cypher shell Align text table display of nodes with cypher shell Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants