-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
Conversation
6c28023
to
9efafa8
Compare
@@ -214,6 +214,7 @@ def __init__(self, viz): | |||
'6 hour', | |||
'1 day', | |||
'7 days', | |||
# you could add a special string 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.
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
you'd have to append a |
9efafa8
to
616acbc
Compare
616acbc
to
1538cd4
Compare
'Origin', | ||
choices=( | ||
('now', 'now'), | ||
('2016-04-10', 'even'), |
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.
@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
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.
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.
1538cd4
to
bb8923f
Compare
…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
…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
…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
…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
…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
No description provided.