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

Fix alignment of numeric values in results table #620

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Starting with v1.31.6, this file will contain a record of major features and upd
## Upcoming

- Added `--connection-protocol` option to `%%gremlin` ([Link to PR](https://github.com/aws/graph-notebook/pull/617))
- Restored left alignment of numeric value columns in results table widget ([Link to PR](https://github.com/aws/graph-notebook/pull/620))

## Release 4.4.0 (June 10, 2024)

Expand Down
3 changes: 3 additions & 0 deletions src/graph_notebook/magics/graph_magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,7 @@ def sparql(self, line='', cell='', local_ns: dict = None):
visible_results, final_pagination_options, final_pagination_menu = generate_pagination_vars(
args.results_per_page)
sparql_columndefs = [
{"type": "string", "targets": "_all"},
{"width": "5%", "targets": 0},
{"visible": True, "targets": 0},
{"searchable": False, "targets": 0},
Expand Down Expand Up @@ -1300,6 +1301,7 @@ def gremlin(self, line, cell, local_ns: dict = None):
visible_results, final_pagination_options, final_pagination_menu = generate_pagination_vars(
args.results_per_page)
gremlin_columndefs = [
{"type": "string", "targets": "_all"},
{"width": "5%", "targets": 0},
{"visible": True, "targets": 0},
{"searchable": False, "targets": 0},
Expand Down Expand Up @@ -3411,6 +3413,7 @@ def handle_opencypher_query(self, line, cell, local_ns):
visible_results, final_pagination_options, final_pagination_menu = generate_pagination_vars(
args.results_per_page)
oc_columndefs = [
{"type": "string", "targets": "_all"},
{"width": "5%", "targets": 0},
{"visible": True, "targets": 0},
{"searchable": False, "targets": 0},
Expand Down
Loading