-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
feat: configure force_screenshot #17855
Conversation
ad52455
to
ec2c200
Compare
❗ Please consider rebasing your branch to avoid db migration conflicts. |
5272bd9
to
3c81d2e
Compare
3c81d2e
to
61e0148
Compare
Codecov Report
@@ Coverage Diff @@
## master #17855 +/- ##
=======================================
Coverage 66.91% 66.91%
=======================================
Files 1609 1609
Lines 64887 64887
Branches 6863 6863
=======================================
Hits 43419 43419
Misses 19603 19603
Partials 1865 1865
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
❗ Please consider rebasing your branch to avoid db migration conflicts. |
* Update existing tests * Add backend test * feat: add force option to report screenshots * Add tests * Rebase fixes * Do not force screenshot on dashboard alerts * feat: bypass cache on screenshots for alerts * Update existing tests * Add tests * feat: configure force_screenshot
* Update existing tests * Add backend test * feat: add force option to report screenshots * Add tests * Rebase fixes * Do not force screenshot on dashboard alerts * feat: bypass cache on screenshots for alerts * Update existing tests * Add tests * feat: configure force_screenshot
SUMMARY
Allow users to force a screenshot (bypass the cache) on reports that send charts.
We're not enabling this for dashboards yet, since it still needs backend support.
For alerts, this is always on for charts, and off for dashboards (for perf reasons, and also because it's not implemented).
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
force_screenshot
is updated accordingly in the DB, or run celery and check that screenshot URLs haveforce=true
orforce=false
.ADDITIONAL INFORMATION