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

Enable contribution of temporary resources #559

Open
inessamedi opened this issue Jan 12, 2025 · 1 comment
Open

Enable contribution of temporary resources #559

inessamedi opened this issue Jan 12, 2025 · 1 comment

Comments

@inessamedi
Copy link

Is your feature request related to a problem? Please describe.
Users can only contribute an indefinite resource. This can cause the map to be cluttered with resources that are no longer available and need to be manually removed.

Describe the solution you'd like
Users can submit a temporary resource. This calls for the following adjustments to the current contribute resource form & map:

  • contribute resource form changes
    • A pill selector (user is asked whether or not this is a temporary resource)
    • If temporary resource is true, start date and time & end date and time inputs are shown.
    • When user clicks on the input box, a modal for selecting date and time rage is shown.
    • When user completes the inputs or clicks outside of the modal, the inputs are shown with the chosen date and time ranges.
  • map
    • temporary taps have a unique pin type on the map

Describe alternatives you've considered
we considered using a separate resource type of "temporary"

Additional context
Mobile temporary resource flow
Desktop modal

@gcardonag gcardonag changed the title Contribute temporary resource Enable contribution of temporary resources Feb 5, 2025
@gcardonag
Copy link
Contributor

Reviewing this, I think we can maybe break this out into two stories:

  • This story, but limit it to adding the visual elements that allow submitting and displaying a temporary resource.
  • A separate data story to enable adding the necessary data properties to represent a temporary resource, and updating the site to read and write those properties.

@vontell , what do you think about that approach?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants