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

Show list of all cities with date for selected entity #4

Open
MBoustani opened this issue Jun 20, 2017 · 2 comments
Open

Show list of all cities with date for selected entity #4

MBoustani opened this issue Jun 20, 2017 · 2 comments

Comments

@MBoustani
Copy link
Contributor

When user select and entity on result page show list of all cities and dates the entity was at in gray color and matched one in black color.

@MBoustani
Copy link
Contributor Author

Showing list of all the cities and their dates would sometimes not fit in sidebar (too many) and also the query is very slow. Solution here is query one month before what user asked for start date and one month after what user asked for end date. The range (1 month for now) can be changed higher number.

@wmburke
Copy link
Collaborator

wmburke commented Jun 21, 2017

This seems like a fine solution, Mazi. You may also want to consider just adding a default accordion to hide all the info except for what you've outlined above. Then all the data would be on the page (loaded - but not displayed) and the user could toggle it out if they wanted it.

Are we using jquery on the page already? If so, this would be really easy: http://jqueryui.com/accordion/#collapsible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants