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

make small tweaks in preparation for freshening grist-static #1359

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

paulfitz
Copy link
Member

@paulfitz paulfitz commented Jan 4, 2025

This makes some small changes for the benefit of an update to grist-static, which has become quite stale.

  • When testing grist-static with latest grist-core, a problem showed up where _encodeValue is now sometimes called with undefined which is a problem for SQLite wrappers other than node-sqlite3. This change encodes it as null, which appears to be the intent.
  • Small non-obvious tweaks related to webpack and specific packages that do no harm in grist-core and remove a problem in grist-static.

You can preview where this will go at https://gristlabs.github.io/grist-static/next.html by clicking on the "investment research" image to get a popup. It will be somewhat slow because the document shown hasn't been upgraded to latest Grist so full data engine in pyodide/python needs to start and run migrations before rendering can begin.

This makes some small changes for the benefit of an update to
grist-static, which has become quite stale.

 * When testing grist-static with latest grist-core, a problem
   showed up where `_encodeValue` is now sometimes called with
   `undefined` which is a problem for SQLite wrappers other
   than node-sqlite3. This change encodes it as null, which
   appears to be the intent.
 * Small non-obvious tweaks related to webpack and specific
   packages that do no harm in grist-core and remove a problem
   in grist-static.
Copy link
Contributor

@jordigh jordigh left a comment

Choose a reason for hiding this comment

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

Thanks, @paulfitz!

@paulfitz paulfitz merged commit 4479ba4 into main Jan 7, 2025
12 checks passed
@paulfitz paulfitz deleted the paulfitz/grist-static-2025 branch January 7, 2025 23:30
@paulfitz
Copy link
Member Author

Thanks for reviewing @jordigh! The corresponding changes to use this in grist-static are here gristlabs/grist-static#37

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