Skip to content

Spanner graph UX flow V2#54

Open
cqian23 wants to merge 17 commits intomainfrom
implement/config-UI-jupyter
Open

Spanner graph UX flow V2#54
cqian23 wants to merge 17 commits intomainfrom
implement/config-UI-jupyter

Conversation

@cqian23
Copy link
Collaborator

@cqian23 cqian23 commented Jul 16, 2025

No description provided.




# Project setup
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We need to be very careful about the main readme, where we try to be compact and only include information for users of this package.

The new lines need not be surfaced to users I assume. For python installation, users will use pip install spanner-graph-notebook. This package is on PyPi.

For frontend development, I believe the readme is in frontend already?

getPing: '/get_ping',
postQuery: '/post_query',
postNodeExpansion: '/post_node_expansion',
// saveConfig: '/save_config',
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

do we still need these? maybe proofread before sending out?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

empty file. maybe proofread the PR first in the future?


singleton_server_thread: Thread = None

SHOW_LOADER = """
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

make this an individual html file instead of inline in python? this is a bit hacky and hard to manage.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

can we test the new %spanner_graph somewhere in the test?

)
display(HTML(html_content))

@cell_magic
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think we need to use line_cell_magic so that this can be invoked in a 1-liner like %spanner_graph only.

params: `{{ params }}`,
query: `{{ query }}`,
(function() {
const gcpData_{{ id }} = {{ gcp_data | safe }};
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

avoid placing bulk JS code in html, let's make it modularized in the TS/JS modules.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants