Skip to content

fix(app): change _async_display to public method for google-colab usage#25

Merged
jourdain merged 1 commit into
Kitware:mainfrom
Thibault-Pelletier:google-colab
Jun 10, 2026
Merged

fix(app): change _async_display to public method for google-colab usage#25
jourdain merged 1 commit into
Kitware:mainfrom
Thibault-Pelletier:google-colab

Conversation

@Thibault-Pelletier

@Thibault-Pelletier Thibault-Pelletier commented Jun 10, 2026

Copy link
Copy Markdown
Contributor
  • Update the visibility of the _async_display method to public and let users change the iframe width / height on call
  • Fixes display in google-colab where direct usage of repr_html doesn't properly displays the iframe

This PR is related to Kitware/trame-client#63

@jourdain trame-client is a dependency for trame-common but isn't listed in the pyproject.toml.
Should I update that with a min version?

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@9a5bb69). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff            @@
##             main       #25   +/-   ##
========================================
  Coverage        ?   100.00%           
========================================
  Files           ?         1           
  Lines           ?         4           
  Branches        ?         0           
========================================
  Hits            ?         4           
  Misses          ?         0           
  Partials        ?         0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Update the visibility of the _async_display method to public and let
  users change the iframe width / height on call
- Move the logic to trame-client AbstractLayout
@jourdain jourdain merged commit 4a8c6fe into Kitware:main Jun 10, 2026
13 checks passed
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