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

Add warning for when user tries to load data prior to 2024 #1664

Closed
2 of 3 tasks
ryanfchase opened this issue Feb 1, 2024 · 5 comments · Fixed by #1686
Closed
2 of 3 tasks

Add warning for when user tries to load data prior to 2024 #1664

ryanfchase opened this issue Feb 1, 2024 · 5 comments · Fixed by #1686
Assignees
Labels
P-feature: Map Pre-Launch Describes an issue that must be completed in order to launch Role: Frontend React front end work Size: 2pt Can be done in 7-12 hours
Milestone

Comments

@ryanfchase
Copy link
Member

ryanfchase commented Feb 1, 2024

Overview

We need to limit the Datepicker on our map controls to only display years that our app has loaded because we don't want to confuse users when no data appears on the map

More Info

The 2023 data is stored in the 2023 Hugging Face Repo, it is not automatically included in the 2024 parquet file that gets downloaded when the page loads. While we are hoping to address this in this ticket, we should generally block users from asking for data prior to the earliest available data (I think its 2015).

We should give the user a way to find out that certain dates are not available via an info button near the date picker.

Action Items

  • limit the datepicker to only allow 2024 (until we allow loading multiple years, see ticket in More Info)
  • add an info icon to the datepicker that matches the info button on the Request Types section
  • on hover for this icon, we should display the Datepicker Info text

Resources/Instructions

Datepicker Info text:

311-Data is currently only able to load 311 service request data in 2024 and onwards. For updates on the release of available 311 Data, please follow our LinkedIn page at https://www.linkedin.com/company/hack-for-la/.
Screenshot of "Request Types" Info Icon

image

Huggingface URL

@ryanfchase ryanfchase added Role: Frontend React front end work Size: 2pt Can be done in 7-12 hours P-feature: Map draft labels Feb 1, 2024
@ryanfchase ryanfchase added this to the 04 - Map Page milestone Feb 1, 2024
@ryanfchase ryanfchase self-assigned this Feb 1, 2024
@ryanfchase ryanfchase added the Dependency An issue that includes dependencies label Feb 1, 2024
@ryanfchase ryanfchase changed the title Add warning for when user tries to load data prior to 2024 Spike: Add warning for when user tries to load data prior to 2024 Feb 1, 2024
@ryanfchase ryanfchase removed Dependency An issue that includes dependencies draft labels Feb 1, 2024
@ryanfchase ryanfchase removed their assignment Feb 1, 2024
@ryanfchase ryanfchase added the Spike A ticket for investigation solutions to a complex problem label Feb 1, 2024
@ryanfchase
Copy link
Member Author

Based on conversation in PM meeting, I'll be updating this ticket with more specific instructions from Bonnie. Moving to draft.

@ryanfchase ryanfchase added draft and removed Spike A ticket for investigation solutions to a complex problem labels Feb 2, 2024
@ryanfchase ryanfchase changed the title Spike: Add warning for when user tries to load data prior to 2024 Add warning for when user tries to load data prior to 2024 Feb 2, 2024
@ryanfchase ryanfchase self-assigned this Feb 5, 2024
@ryanfchase ryanfchase removed the draft label Feb 5, 2024
@ryanfchase ryanfchase removed their assignment Feb 5, 2024
@Skydodle Skydodle self-assigned this Feb 8, 2024
@Skydodle
Copy link
Member

Skydodle commented Feb 8, 2024

Availability: M-F 6pm to 10pm
Completion ETA: 2/14 Wedenesday EOD

@Skydodle
Copy link
Member

Pushing to next week to work on this, a little occupied this week.
Availability: M-F 6pm to 10pm
Completion ETA: 2/21 Wednesday EOD

@annaseulgi
Copy link
Member

unless anyone objects, assigning this to ux design role as well since some of the tasks look to be similar

@cottonchristopher
Copy link
Member

@annaseulgi, we created a design ticket here #1677
We will also link the design to Engineering handoff Epic to the design issue.

@cottonchristopher cottonchristopher added the Pre-Launch Describes an issue that must be completed in order to launch label Feb 20, 2024
@ExperimentsInHonesty ExperimentsInHonesty moved this to Done (without merge) in P: 311: Project Board Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-feature: Map Pre-Launch Describes an issue that must be completed in order to launch Role: Frontend React front end work Size: 2pt Can be done in 7-12 hours
Projects
Status: Done (without merge)
Development

Successfully merging a pull request may close this issue.

4 participants