codersforcauses / codersforcauses/poops

Ability to Manage Custom Commute Methods

Open
#278 0 comments 0 reactions 0 assignees View on GitHub
difficulty::medium enhancement frontend point::3 priority::low
Dominant language
TypeScript
Stars
23
Forks
5
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
The Commute Method selector in the visit form uses local storage to store its options (see `usePersistentState` hook), but has no way of modifying them after creating custom options.

**Describe the solution you'd like**
Replace the default Option component for `CreateSelect` with a custom one with an X button on the right so options can be deleted.
https://react-select.com/components#replacing-components

**Describe alternatives you've considered**
Something on the profile page to manage them is also possible if you can keep it consistent with the design.

**Additional context**
This issue might be harder simply because the react select docs are hell.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.