Claude Code
04bd07ad6e
fix(migrations): don't discard an original empty query_context on downgrade
...
Addresses @sadpandajoe's follow-up review comment on #41714 : an
original query_context with "queries": [] backs up as a falsy-but-
present empty list, not None. downgrade_slice's truthiness check
(`if queries_bak:`) treated that the same as "no context was ever
stored" and set query_context to None, discarding the slice's
original datasource and form_data instead of restoring it.
Also fixes the same ambiguity at the source: QUERIES_BAK_FIELD_NAME
defaulted to {} rather than None when absent from form_data, which
could be misread as a real (if malformed) backup rather than "key not
present". Changed to the natural None default so "no backup" and "an
empty list backup" stay distinguishable, and dedented the
query_context assignment that was incorrectly nested inside the
"form_data" in query_context check (a context missing "form_data"
would restore params/viz_type but silently leave query_context at its
upgraded value).
Also updates the stale UPDATING.md note for this PR: the percent-
re-basing and deck_multi autozoom limitations it warned about were
both resolved earlier in this branch.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-08-02 09:27:28 -07:00
rusackas and Claude Opus 4.8
1c98c0711e
fix(deckgl): address review feedback on Multi.tsx v1 rewrite
...
- Enforce DECK_MULTI_MAX_SLICES client-side before fanning out
per-layer metadata/data requests, mirroring the cap the removed
viz.py pipeline used to enforce server-side.
- Accumulate autozoom features by slice_id (bucketed by viz_type)
instead of overwriting by viz_type, so two layers sharing a
viz_type no longer clobber each other's points.
- ChartClient.loadQueryData now posts the built query context at
the top level of the request body (as /api/v1/chart/data expects)
instead of nesting it under a query_context key, and unwraps the
{result: [...]} response shape correctly.
- migrate_viz downgrade no longer discards a hand-edited
query_context that lacks a "queries" key; the whole context is
backed up and restored verbatim in that case.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-31 17:02:54 -07:00
Evan Rusackas and Claude Code
bbd021925a
fix(viz): follow-ups from #41714 self-review ( #42530 )
...
Co-authored-by: Claude Code <noreply@anthropic.com >
2026-07-28 09:14:15 -07:00
Claude Code
c7a83794d2
Merge remote-tracking branch 'origin/master' into remove-legacy-viz-pipeline
2026-07-27 20:22:58 -07:00
a73e2485de
feat(versioning): version-history retention cleanup job ( #41075 )
...
Co-authored-by: Mike Bridge <michael.bridge@ext.preset.io >
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-27 19:59:11 -07:00
Evan Rusackas and Claude Code
18231d9bd4
feat(timeseries): percent-change rebasing with a draggable baseline ( #42247 )
...
Co-authored-by: Claude Code <noreply@anthropic.com >
2026-07-27 15:23:52 -07:00
Evan Rusackas and Claude Code
c54abcfda8
feat(compare): migrate compare charts to echarts_timeseries_line and drop the legacy plugin ( #41738 )
...
Co-authored-by: Claude Code <noreply@anthropic.com >
2026-07-27 14:54:57 -07:00
8f8331f656
chore: session enforce sqlalchemy 2.0 ( #42365 )
...
Co-authored-by: Evan Rusackas <evan@rusackas.com >
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-07-26 19:28:42 -07:00
Hans Yu
19159d58c8
refactor: engine enforce SQLAlchemy 2.0 ( #42277 )
2026-07-22 11:11:48 -07:00
0a3c263606
fix(migration): strip metricSqlExpressions from ag_grid_table params ( #41591 )
...
Co-authored-by: Matt Fitzgerald <matt.fitzgerald@preset.io >
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-14 16:42:32 -04:00
Hans Yu and Evan Rusackas
e165762bb7
refactor: begin transaction to automatically commit ( #41979 )
...
Co-authored-by: Evan Rusackas <evan@preset.io >
2026-07-13 22:45:40 -07:00
04f8b700d7
feat(datasets): soft-delete and restore ( #40130 )
...
Co-authored-by: Mike Bridge <michael.bridge@ext.preset.io >
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-07-07 08:57:08 -07:00
a7a051777c
feat(charts): soft-delete and restore ( #40129 )
...
Co-authored-by: Mike Bridge <michael.bridge@ext.preset.io >
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-07-06 10:07:04 -07:00
af0a55a4f3
feat(dashboards): soft-delete and restore ( #40128 )
...
Co-authored-by: Mike Bridge <michael.bridge@ext.preset.io >
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-07-01 17:20:44 -07:00
393adc4535
refactor(db): composite PK on M2M association tables ( #39859 )
...
Co-authored-by: Mike Bridge <michael.bridge@ext.preset.io >
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-07-01 13:07:15 -07:00
Maxime Beauchemin and Claude
088ecdd0bf
refactor: Enable G logging rules and comprehensive ruff improvements ( #35081 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-15 12:42:49 -07:00
Maxime Beauchemin and Claude
cb27d5fe8d
chore: proper current_app.config proxy usage ( #34345 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-31 19:27:42 -07:00
Maxime Beauchemin
3f8472ca7b
chore: move some rules from ruff -> pylint ( #34292 )
2025-07-24 09:40:49 -07:00
57183da315
fix: Adjust viz migrations to also migrate the queries object ( #33285 )
...
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com >
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
2025-05-26 15:00:07 -03:00
Maxime Beauchemin
f045a73e2d
fix: loading examples from raw.githubusercontent.com fails with 429 errors ( #33354 )
2025-05-05 13:07:23 +02:00
Michael S. Molina
6db3a4d9d2
fix: Temporal filter conversion in viz migrations ( #33224 )
2025-05-02 08:27:49 -03:00
Elizabeth Thompson
2c4e22e598
chore: add some utils tests ( #33236 )
2025-04-28 15:00:32 -07:00
Beto Dealmeida
5af4e61aff
feat: improve GSheets OAuth2 ( #32048 )
2025-03-03 12:55:54 -05:00
Vitor Avila
3f46bcf142
chore: Skip the creation of secondary perms during catalog migrations ( #32043 )
2025-01-30 18:29:07 -03:00
Beto Dealmeida
525e837c5b
fix: catalog upgrade/downgrade ( #29780 )
2024-07-30 15:15:40 -04:00
Beto Dealmeida
d535f3fe56
fix: make catalog migration lenient ( #29549 )
2024-07-11 15:10:02 -04:00
Michael S. Molina
df0b1cb8ed
feat: Adds Histogram chart migration logic ( #28780 )
2024-06-05 13:33:50 -03:00
Eyal Ezer and Eyal Ezer
07b2449bd7
refactor: Unify all json.(loads|dumps) usage to utils.json ( #28702 )
...
Co-authored-by: Eyal Ezer <eyal.ezer@ge.com >
2024-05-28 14:17:41 -07:00
Michael S. Molina
e17724a73a
feat: Adds Bar chart migration logic ( #28602 )
2024-05-28 13:58:35 -03:00
Beto Dealmeida
f29e1e4c29
feat: catalog support for Databricks native ( #28394 )
2024-05-09 17:41:15 -04:00
Michael S. Molina
356b0d8ee5
feat: Adds Heatmap chart migration logic ( #27771 )
2024-03-29 12:08:43 -03:00
Michael S. Molina
8a2f7d378a
refactor: Removes the deprecated GENERIC_CHART_AXES feature flag ( #26372 )
2024-01-31 09:45:57 -05:00
Michael S. Molina and John Bodley
68e5e1afea
feat: Add Bubble chart migration logic ( #26033 )
...
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com >
2023-11-21 15:05:41 -03:00
John Bodley
dd58b31cc4
chore(sqlalchemy): Remove erroneous SQLAlchemy ORM session.merge operations ( #24776 )
2023-11-20 17:25:41 -08:00
Michael S. Molina
97d89d7340
feat: Adds Area chart migration logic ( #25952 )
2023-11-16 14:28:09 -03:00
Craig Rueda
c7a3bf0f4b
chore(tests): Adding missing __init__.py files to various test packages ( #25045 )
2023-08-21 12:39:31 -07:00
Michael S. Molina
be11556799
feat: Adds options to show subtotals in Pivot Table ( #24960 )
2023-08-14 09:20:32 -03:00
Michael S. Molina
4e47771df1
fix: Viz migration adjustments - 1 ( #24341 )
2023-06-09 15:39:23 -03:00
Michael S. Molina
f5148ef728
feat: Migrates Dual Line Chart to Mixed Chart ( #23910 )
2023-06-08 12:31:28 -03:00
Michael S. Molina
522eb97b65
feat: Migrates Pivot Table v1 to v2 ( #23712 )
2023-06-08 10:13:39 -03:00
Jesse Yang
231716cb50
perf: refactor SIP-68 db migrations with INSERT SELECT FROM ( #19421 )
2022-04-19 18:58:18 -07:00
Beto Dealmeida
63b5e2e4fa
perf: improve perf in SIP-68 migration ( #19416 )
...
* chore: improve perf in SIP-68 migration
* Small fixes
* Create tables referenced in SQL
* Update logic in SqlaTable as well
* Fix unit tests
2022-03-29 22:33:15 -07:00