-
Notifications
You must be signed in to change notification settings - Fork 16.5k
[WiP] Thumbnails! #6601
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
[WiP] Thumbnails! #6601
Conversation
2e1c514 to
7a6edf8
Compare
Codecov Report
@@ Coverage Diff @@
## master #6601 +/- ##
==========================================
- Coverage 64.89% 56.16% -8.73%
==========================================
Files 428 525 +97
Lines 20934 23219 +2285
Branches 2330 2772 +442
==========================================
- Hits 13585 13042 -543
- Misses 7225 9767 +2542
- Partials 124 410 +286
Continue to review full report at Codecov.
|
|
@mahendra any chance you can test this in your environment? |
|
I will test this weekend :-)
On Wed, Jan 9, 2019 at 4:16 PM Maxime Beauchemin ***@***.***> wrote:
@mahendra <https://github.com/mahendra> any chance you can test this in
your environment?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6601 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHFFEg-QUgR31uaMODrNfQy9S24xmRhks5vBoZWgaJpZM4ZyoC8>
.
--
Mahendra
http://twitter.com/mahendra
gpg key: E31C89FD
<https://pgp.mit.edu/pks/lookup?op=get&search=0x7BEC08A5E31C89FD>
|
7a6edf8 to
d2d7365
Compare
superset/utils/selenium.py
Outdated
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.
we may need this at 30. This is because the JS based rendering takes a while to finish.
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.
Oh I meant to check in while-type loop here..
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.
Actually I switch to checking 30 times each 2 seconds instead of a few times every 30 seconds...
|
@mistercrunch I got this error while testing the feature. (not had time to debug yet). |
8a0465d to
847facc
Compare
847facc to
6f53dfb
Compare
utils/selenium.py487cc84 to
d8c3865
Compare
This PR is the backend subset of WiP PR apache#6601. It includes * refactor of the Selenium abstractions used for email schedules, generalized to also work with thumbs * new dependency on PIL, the common way of doing image processing in python, we use it to resize selenium screenshots into thumbs * CLI utilities to compute-thumbnails * the addition of an extra caching backend for thumbnail, in most cases we assume it should point to the same backend as the one used for chart JSON caching * 2 new endpoints to retrieve dashboard and chart thumbs
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
This PR is the backend subset of WiP PR apache#6601. It includes * refactor of the Selenium abstractions used for email schedules, generalized to also work with thumbs * new dependency on PIL, the common way of doing image processing in python, we use it to resize selenium screenshots into thumbs * CLI utilities to compute-thumbnails * the addition of an extra caching backend for thumbnail, in most cases we assume it should point to the same backend as the one used for chart JSON caching * 2 new endpoints to retrieve dashboard and chart thumbs
todo