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

Mh/all tables support #286

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Mh/all tables support #286

wants to merge 7 commits into from

Conversation

MichaelHatherly
Copy link
Collaborator

@alyst, this is the kind of approach needed to move Tables to an extension rather than required dep. Feel free to pull these changes into your branch. Not heavily tested this, but the general approach should work out well.

Copy link

codecov bot commented Mar 22, 2025

Codecov Report

Attention: Patch coverage is 92.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 79.48%. Comparing base (7182688) to head (59600aa).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/QuartoNotebookWorker/src/ojs_define.jl 90.47% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #286       +/-   ##
===========================================
+ Coverage   66.12%   79.48%   +13.36%     
===========================================
  Files          58       39       -19     
  Lines        2816     2062      -754     
===========================================
- Hits         1862     1639      -223     
+ Misses        954      423      -531     

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@alyst
Copy link

alyst commented Mar 22, 2025

@MichaelHatherly Thank you! I had similar ideas; I've just updated my PR with the _has_trait(trait, obj)/_ojs_convert(trait, obj),
which is a bit more generic mechanism that allows future extension to other traits (and makes the first argument useful).

Alexey Stukalov added 3 commits March 22, 2025 12:16
- implement the generic _has_trait(trait, obj), _obj_convert(trait, obj)
  mechanism for potential future extensions
- QuartoNotebookWorkerDataFramesTablesExt: drop DataFrames dependency
should lower the memory footprint.
@MichaelHatherly MichaelHatherly force-pushed the mh/all_tables_support branch 2 times, most recently from 8e4f903 to b17ddf3 Compare March 26, 2025 18:05
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