Open schwabts opened 1 year ago
Hey, @schwabts
Thanks for the feedback. I'll prioritize some of these features ASAP, starting with 1 and 3.
As for the dropdown component for filtering dates I'm not so sure it fits in the scope of this project. Have you tried using Dash dropdowns or Streamlit dates filter? Here's an example with my Todoist Analytics dashboard. Code.
Well, "as if this was a component like a dropdown" may not have been a good wording. What I was trying to say was that while I define callbacks for dropdowns e.g. by
@callback(
Output('label', 'children'),
Input('dropdown', 'value'),
)
def update(dropdown_value):
return f'You have selected {value}'
I would like to define them for plotly-calplot by something like
@callback(
Output('label', 'children'),
Input('calplot', 'value'),
)
def update(date_value):
date_string = date.fromisoformat(date_value).strftime('%B %d, %Y')
return f'You have selected the date {date_string}'
Rf. dcc.Dropdown and dcc.DatePickerSingle
I'm also not sure if this project could be the right one to look at given the requirements of my use case. Therefore this issue is kind of a question, too.
The point is I am currently already using a Dash dropdown offering to choose from a long list of single dates. I would be happier with a more compact display showing a long list of weeks each of which would be a row of seven tiles and I simply haven't found any sort of calendar which is more compact.
Last not least, including week numbers could be considered a matter of personal taste but it would be extremely helpful for my use case.
As commented here to bendichter/plotly_activity_chart.py I need options for
But the most important feature for me would be to be able to select dates as if this was a component like a dropdown.