Skip to content

v1.1.0 dashboard updates #54

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

Merged
merged 16 commits into from
Sep 13, 2023
Merged

v1.1.0 dashboard updates #54

merged 16 commits into from
Sep 13, 2023

Conversation

egrace479
Copy link
Member

This update brings minor version developments implemented in dev:

  1. Bug fix for lat/lon out of bounds (PR Bug fix for lat lon #50, fixes Single errors in lat and lon break the map #48).
  2. The size of graphs (and their titles) have been increased for improved visibility.
  3. The map view now has geographic features; base layer of map come from ArcGIS (closes Add geographic features to map #49).
  4. Removed case-sensitivity of columns and added long as acceptable column name for longitude (PR Recognize long and lon for longitude #51).
  5. Preview images were added to the README to reflect the changes implemented in 2 and 3 above (PR Update preview images in Readme #53).

egrace479 and others added 14 commits August 23, 2023 12:52
…rcGIS World Imagery and reduced margins to increase size of graph components, updated tests to look for scattermapbox instead of scattergeo.
Bug fix for lat/lon out of range
…--change carried through all calls and tests). Updated readme to reflect increased flexibility.
Co-authored-by: Matt Thompson <[email protected]>
Recognize `long` and `lon` for longitude, also removes case-sensitivity (sets all columns to capitalized values).
Fix lat/long display in hover-text of map.
Update preview images in Readme to reflect updates on dev branch since v1.0.0 release.
@egrace479 egrace479 added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request labels Sep 6, 2023
@hlapp
Copy link
Member

hlapp commented Sep 6, 2023

Just to clarify for what there is to review, everything in this change set was already reviewed through PRs previously, right? Or are there previously unreviewed changes that review should be focused on?

The change set is a bit big and unwieldy, but if this is just a concatenation of previously reviewed changes, then there's perhaps very little (or even nothing) to review that's new. I.e., trying to figure out what the assignment is for reviewers.

@egrace479
Copy link
Member Author

Just to clarify for what there is to review, everything in this change set was already reviewed through PRs previously, right? Or are there previously unreviewed changes that review should be focused on?

The change set is a bit big and unwieldy, but if this is just a concatenation of previously reviewed changes, then there's perhaps very little (or even nothing) to review that's new. I.e., trying to figure out what the assignment is for reviewers.

Numbers 2 and 3 (commit c47c550) were not previously reviewed, but the changes from PRs noted in 4 and 5 were built on top of those changes.

@egrace479 egrace479 requested a review from thompsonmj September 7, 2023 16:58
@egrace479 egrace479 marked this pull request as draft September 8, 2023 18:55
@egrace479
Copy link
Member Author

file_url had not been adjusted to File_url in the image path call in query or test_query in PR #51 when we adjusted all columns to be capitalized. I just fixed that.

@egrace479 egrace479 marked this pull request as ready for review September 8, 2023 18:59
@johnbradley
Copy link
Contributor

johnbradley commented Sep 8, 2023

I tested with the HCGSD_base_filepath.csv input file and the graph is very zoomed in:
Screen Shot 2023-09-08 at 4 29 15 PM


Running on the main branch the map is properly zoomed out:
Screen Shot 2023-09-08 at 4 29 36 PM

If I zoom out the map in the dev branch it looks more attractive than the main branch version.
Is there a way to get the map to automatically zoom like it previously did?

@egrace479
Copy link
Member Author

I tested with the HCGSD_base_filepath.csv input file and the graph is very zoomed in:

Running on the main branch the map is properly zoomed out:

If I zoom out the map in the dev branch it looks more attractive than the main branch version. Is there a way to get the map to automatically zoom like it previously did?

It seems from this discussion that is a desired, but unimplemented feature. I do have the option to reduce the zoom to--most likely--get points on screen.

This is the zoom set to 2; it will always produce a map of this size centered on the centroid of the lat/longs provided.
Screenshot 2023-09-08 at 5 21 48 PM

Zoom set to 3 is more closely cropped, so cuts off for data with a larger spread, but works nicely for data that is more concentrated.
Screenshot 2023-09-08 at 5 23 31 PM

I think it makes more sense to err on the side of being more zoomed out (zoom set to 2), though such a large image suggests all data is caught when it may not be. What do you think? (Also, @hlapp and @thompsonmj?)

@hlapp
Copy link
Member

hlapp commented Sep 8, 2023

I would argue the default should be to zoom out to a level that all data are shown. I think there's a good point that in terms of UX this may mean to zoom out more than strictly necessary if otherwise the view is sufficiently zoomed in to (in this case falsely) give the impression that only some of the data are shown (when really all are).

@egrace479
Copy link
Member Author

I would argue the default should be to zoom out to a level that all data are shown. I think there's a good point that in terms of UX this may mean to zoom out more than strictly necessary if otherwise the view is sufficiently zoomed in to (in this case falsely) give the impression that only some of the data are shown (when really all are).

Zoom set to 1 would work unless you have data on opposite sides of the earth:
Screenshot 2023-09-08 at 6 08 10 PM

Zoom set to 0 could get duplicative, but will definitively show everything:
Screenshot 2023-09-08 at 6 09 21 PM

…ering that some data may not be displayed without adjusting zoom.
@egrace479
Copy link
Member Author

Updated zoom to 1 with a note about the potential need to zoom to see all points.

Screenshot 2023-09-11 at 3 23 59 PM

Copy link
Contributor

@johnbradley johnbradley left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@hlapp hlapp left a comment

Choose a reason for hiding this comment

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

Looks all good to me! 👍

Copy link
Contributor

@thompsonmj thompsonmj left a comment

Choose a reason for hiding this comment

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

Tested and nothing seemed broken! I like the default view level setting.

@egrace479 egrace479 merged commit d685040 into main Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add geographic features to map Single errors in lat and lon break the map
4 participants