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

[WiP] Attempting to support Druid's granularity origin as a hidden url param #194

Merged
merged 2 commits into from
Apr 16, 2016

Conversation

mistercrunch
Copy link
Member

No description provided.

@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling 6c28023 on airbnb:druid_origin into d5487c6 on airbnb:master.

@@ -214,6 +214,7 @@ def __init__(self, viz):
'6 hour',
'1 day',
'7 days',
# you could add a special string here
Copy link
Member Author

Choose a reason for hiding this comment

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

say if you'd write "1 week, ending on sunday" here, you'd have to capture that on the other side on the query method and translate it into a granularity dict

@mistercrunch
Copy link
Member Author

you'd have to append a &druid_time_origin=2015-01-01 or whatever string is supported by druid to the URL and it should carry through as people explore

@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling 9efafa8 on airbnb:druid_origin into d5487c6 on airbnb:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 65.537% when pulling 9efafa8 on druid_origin into d5487c6 on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 65.537% when pulling 9efafa8 on druid_origin into d5487c6 on master.

@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling 616acbc on airbnb:druid_origin into 81de51b on airbnb:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) to 71.229% when pulling 616acbc on druid_origin into 81de51b on master.

@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling 1538cd4 on airbnb:druid_origin into 5cadd67 on airbnb:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 72.281% when pulling 1538cd4 on druid_origin into 5cadd67 on master.

'Origin',
choices=(
('now', 'now'),
('2016-04-10', 'even'),
Copy link

Choose a reason for hiding this comment

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

@mistercrunch Should this be sunday? Also are the choices set to be static? I'd imagine it be useful to input any day of the week as the anchor and based on the input the date can be set

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah it's a bit weird because even can be used for lining up any granularity. Actually I should find a year where jan 1st was a Sunday. It'd work to line things up whether your granularity is minute, hour, day, sunday, year, ... I should probably put that in the tooltip.

@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling bb8923f on airbnb:druid_origin into 2d420ee on airbnb:master.

@mistercrunch
Copy link
Member Author

Ok, I think this is looking good now!
screen shot 2016-04-15 at 2 51 57 pm

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 72.551% when pulling bb8923f on druid_origin into 2d420ee on master.

@mistercrunch mistercrunch merged commit 899fe19 into master Apr 16, 2016
@mistercrunch mistercrunch deleted the druid_origin branch April 16, 2016 00:00
graceguo-supercat pushed a commit to graceguo-supercat/superset that referenced this pull request Oct 4, 2021
…he#194)

When the page is served over an insecure connection, some browsers (Firefox) will disable the
CacheStorage API for security reasons and will throw an error when an attempt is made to use it.
Thus, do not even attempt to use CacheStorage on such connections in the first place.

fix apache#193
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 17, 2021
…he#194)

When the page is served over an insecure connection, some browsers (Firefox) will disable the
CacheStorage API for security reasons and will throw an error when an attempt is made to use it.
Thus, do not even attempt to use CacheStorage on such connections in the first place.

fix apache#193
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 24, 2021
…he#194)

When the page is served over an insecure connection, some browsers (Firefox) will disable the
CacheStorage API for security reasons and will throw an error when an attempt is made to use it.
Thus, do not even attempt to use CacheStorage on such connections in the first place.

fix apache#193
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 25, 2021
…he#194)

When the page is served over an insecure connection, some browsers (Firefox) will disable the
CacheStorage API for security reasons and will throw an error when an attempt is made to use it.
Thus, do not even attempt to use CacheStorage on such connections in the first place.

fix apache#193
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this pull request Nov 26, 2021
…he#194)

When the page is served over an insecure connection, some browsers (Firefox) will disable the
CacheStorage API for security reasons and will throw an error when an attempt is made to use it.
Thus, do not even attempt to use CacheStorage on such connections in the first place.

fix apache#193
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.8.9 labels Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.8.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants