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

Suggestion: Collapsable graph #36

Open
katiuskt opened this issue Jul 9, 2021 · 0 comments
Open

Suggestion: Collapsable graph #36

katiuskt opened this issue Jul 9, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@katiuskt
Copy link

katiuskt commented Jul 9, 2021

Graph view of the card is quite useful but it takes quite space of the screen to keep it visible all the time so I wonder if it is posible to make it collapsable.

I mean, with "graph: true" option it would be great it a new "collapse_graph: true/false" could be implemented.

collapse_graph = false -> Current layout/behavior
collapse_graph = true -> Card layout will be slightly different: Graph will be hidden by default but in some place in the card will be an down-arrow (I imagine it where the minimum/maximum daily price are shown, for instance).
If you click on it, the card will make bigger itself and show the graph. Arrow will become an up-arrow.
When you click on it again, the card shrink itself hidding the graph (and the arrow will become a down-arrow)

I think it could be great and useful because allows you a glance to the day's prices (looking at attributes isn't as visual) keeping the space used by the card to a minimum.

Thank you in advance

@danimart1991 danimart1991 added the enhancement New feature or request label Jul 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants