Skip to content

Conversation

@tara-natarajan
Copy link

@tara-natarajantara-natarajan commented Jul 15, 2025

Added some comments to help understand the canvas creation code since Don was really struggling to understand this code.

Copy link
Contributor

@damola-benchlingdamola-benchling left a comment

Choose a reason for hiding this comment

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

my feedback is mostly nit, good to merge once the typo is fixed

fromlocal_app.benchling_app.views.constantsimportSEARCH_BUTTON_ID, SEARCH_TEXT_ID

"""
This file contains examples of how create a canvas at initialization
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Thisfilecontainsexamplesofhowcreateacanvasatinitialization
Thisfilecontainsexamplesofhowtocreateacanvasatinitialization

For examples of updates, check out canvas_interaction.py
Use a CanvasBuilder to create or update a canvas associated with your app
This sdk tool can be used for easy creation and updates
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: instead of "sdk tool" i think "this helper" sounds a little better, neither is wrong though

Sign up for freeto 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.

3 participants

@tara-natarajan@damola-benchling