Repository navigation
feat(time-range-limits): add time range limits for chart queries #46038
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
Open
DamianPendrak
wants to merge
94
commits into
apache:master
Choose a base branch
from
DamianPendrak:feat/time-range-limits
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+89,691
−999
Open
Changes from 74 commits
Commits
Show all changes
94 commits
Select commit
Hold shift + click to select a range
c6bf8c4
feat(time-range-limits): add time range limits for chart queries
DamianPendrak 493dfc5
Merge branch 'master' into feat/time-range-limits
DamianPendrak 63ef518
style(time-range-limits): apply oxfmt 0.75 formatting
DamianPendrak 8a83750
Merge branch 'master' into feat/time-range-limits
DamianPendrak b4077d7
Merge branch 'master' into feat/time-range-limits
DamianPendrak 8fc36be
fix(time-range-limits): skip report charts whose dataset no longer ex…
DamianPendrak 647b508
fix(time-range-limits): load dashboard charts before prefetching thei…
DamianPendrak 0086ab1
fix(time-range-limits): check a dashboard copy against the source's s…
DamianPendrak 2ca3571
refactor(time-range-limits): drop the copy tool's unreachable limits …
DamianPendrak fd61cfa
fix(time-range-limits): check the policy shape on dashboard writes wi…
DamianPendrak cc918cc
fix(time-range-limits): require a time range on samples queries
DamianPendrak 7e2caab
fix(time-range-limits): take the time comparison base from the origin…
DamianPendrak 996b3b6
fix(time-range-limits): let column value lists run like native filter…
DamianPendrak 97d8ccf
fix(time-range-limits): leave limited datasets' data out of the examp…
DamianPendrak 4e01ef4
fix(time-range-limits): read the checked query in dataset templates
DamianPendrak ad9e66f
docs(time-range-limits): say what a rollback means for stored dashboa…
DamianPendrak fdfa722
docs(time-range-limits): say the limits are a load guard, not a secur…
DamianPendrak 39baff4
fix(time-range-limits): count the longest range back from its end
DamianPendrak a5a12f1
fix(time-range-limits): give the rest of a too-long range in the next…
DamianPendrak 1982a67
fix(time-range-limits): send the checked query context with Explore's…
DamianPendrak 20ae1ef
fix(time-range-limits): hold a dashboard chart whose refresh could no…
DamianPendrak 76b40bb
fix(time-range-limits): give the checked query only to the Jinja macr…
DamianPendrak 593c074
fix(time-range-limits): check the exported dashboard's limits before …
DamianPendrak 538d57b
refactor(time-range-limits): drop the copy tool's unused limits path …
DamianPendrak 6303d2e
test(time-range-limits): give the time comparison case its expected r…
DamianPendrak 24a3220
fix(time-range-limits): check an AG Grid table with the own state its…
DamianPendrak f322d11
fix(time-range-limits): carry a rest that rounds up to a whole unit
DamianPendrak 9640eae
docs(time-range-limits): give translators context for the length rema…
DamianPendrak 4cabc93
fix(time-range-limits): give saved query context macros the checked q…
DamianPendrak 3c57633
refactor(time-range-limits): keep the own state helper with the chart…
DamianPendrak 0c8f9c6
test(time-range-limits): share the Explore page reset test between bo…
DamianPendrak 4e33f52
docs(time-range-limits): describe how the length rest carries
DamianPendrak fa69cea
test(time-range-limits): cover the checked query in the dashboard Exc…
DamianPendrak e5810c1
fix(time-range-limits): keep the table page reset when several checks…
DamianPendrak a367406
fix(time-range-limits): read url_params from the query object like th…
DamianPendrak 82ff1b4
docs(time-range-limits): name the export-example CLI and warn when da…
DamianPendrak 6085cb8
fix(time-range-limits): use only the caller's page reset cache in the…
DamianPendrak e123571
test(time-range-limits): drop the outdated reason in the table query …
DamianPendrak 1c755f1
fix(time-range-limits): refuse a time range filter default outside th…
DamianPendrak a7ff445
fix(time-range-limits): let a limit use a unit under a day under a da…
DamianPendrak 4a43465
docs(time-range-limits): describe the filters API default check
DamianPendrak 059da45
fix(time-range-limits): keep aria-controls on the time range trigger …
DamianPendrak 0bed36c
docs(time-range-limits): say that an asset bundle import answers 500
DamianPendrak 3306aa8
docs(dashboards): list 503 for the native filters update endpoint
DamianPendrak 3be4dde
docs(time-range-limits): correct the never_longer docstring
DamianPendrak cfd0bba
test(time-range-limits): remove the dataset versions the restore test…
DamianPendrak 2b0ec30
docs(time-range-limits): say which writes check a Time Range filter d…
DamianPendrak c6f34fa
docs(time-range-limits): say which charts a bad filter default holds
DamianPendrak be1e355
docs(time-range-limits): say a chart is held only when its own query …
DamianPendrak 9e27ff0
fix(time-range-limits): keep the unit hint visible to translation ext…
DamianPendrak b60a1f3
test(time-range-limits): expect no notice when a global span gets lon…
DamianPendrak 1469f2b
fix(time-range-limits): fail reports whose stored time range breaks t…
DamianPendrak d78a447
docs(time-range-limits): document the stored time range check on reports
DamianPendrak 7401b51
fix(time-range-limits): keep the invalid tab ids error on report saves
DamianPendrak 198fb02
docs(time-range-limits): narrow the report save 503 to new or changed…
DamianPendrak a2bf624
Merge branch 'master' into feat/time-range-limits
DamianPendrak 79fe144
feat(time-range-limits): bound value lists by the window the limits a…
DamianPendrak 9a1e4e5
Merge branch 'master' into feat/time-range-limits
DamianPendrak 770b27d
chore(translations): add the time range limits help line to messages.pot
DamianPendrak c2a2120
Merge branch 'master' into feat/time-range-limits
DamianPendrak df89219
test(time-range-limits): follow master's raw rison report filters
DamianPendrak a6d922c
fix(time-range-limits): refuse a report whose own filters can't be de…
DamianPendrak 9793a9b
test(time-range-limits): align integration tests with the value-list …
DamianPendrak d8c905e
fix(explore): keep the source dashboard for chart reports
DamianPendrak 9dc2cdb
Merge branch 'master' into feat/time-range-limits
DamianPendrak 79134c6
test(time-range-limits): leave the Stop button's client_id out of the…
DamianPendrak 08f40be
test(time-range-limits): read a chart report's dashboard from its sav…
DamianPendrak 57ed230
fix(time-range-limits): keep non-temporal charts running when limits …
DamianPendrak 5e4cf09
fix(time-range-limits): show each limit error under its field
DamianPendrak 2ba3440
fix(time-range-limits): state the refused length in the limit's unit
DamianPendrak 29c0758
fix(time-range-limits): clamp inherited stale limits on dashboard copies
DamianPendrak bdc9014
chore: merge apache master into time-range limits
DamianPendrak e55ea57
test(time-range-limits): align limit tests with master's validation c…
DamianPendrak e5ea815
fix(time-range-limits): warn about an empty range in the limits picker
DamianPendrak 33f1ff8
fix(time-range-limits): restore focus after a policy Retry in Explore
DamianPendrak 73160cc
fix(time-range-limits): clamp stale limits on dashboard import
DamianPendrak 093d78e
chore: merge apache master into time-range limits
DamianPendrak 96e9954
fix(time-range-limits): match the report dialog's time range to the d…
DamianPendrak 1ca7808
fix(time-range-limits): say only held charts are paused when the limi…
DamianPendrak 0cd1e17
chore: merge apache master into time-range limits
DamianPendrak 251652d
fix(time-range-limits): tailor dashboard warnings to affected filters…
DamianPendrak b28625d
feat(time-range-limits): ask before adjusting time ranges on copy and…
DamianPendrak 9546f77
fix(time-range-limits): fit a looser rule on re-import over an existi…
DamianPendrak 43fe71a
fix(time-range-limits): bound a Range filter's min and max like a Sel…
DamianPendrak e580f24
fix(time-range-limits): limit the pre-filter time range picker
DamianPendrak c16a937
fix(time-range-limits): check a triggered alert's attachment before i…
DamianPendrak dbda2f7
test(importexport): expect the time range keywords in the asset impor…
DamianPendrak ac0432b
docs(api): regenerate the OpenAPI spec for time range confirmation
DamianPendrak f567288
Merge branch 'master' of https://github.com/apache/superset into avay…
DamianPendrak cb09363
fix(dashboard): skip the time range default check for cascade parent …
DamianPendrak f057c49
Merge branch 'master' of https://github.com/apache/superset into avay…
DamianPendrak 599787d
Merge branch 'master' of https://github.com/apache/superset into avay…
DamianPendrak e5414a2
Merge branch 'master' of https://github.com/apache/superset into avay…
DamianPendrak 2c282c7
test(filters): un-nest the required range cascade clear test
DamianPendrak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: maybe worth a line on rolling back. A build without this PR answers 400 "Unknown field" for
json_metadata.time_range_limits, so after a rollback, saving a dashboard that has limits fails with "Invalid input" until the key is removed (tried it on master).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a rollback paragraph to UPDATING in ad9e66f.