cancervariants / fusion-curation

MIT License
2 stars 0 forks source link

better error messaging #322

Open katiestahl opened 2 weeks ago

katiestahl commented 2 weeks ago

Feature description

We need better messaging to communicate what a user needs to do in order to construct a valid fusion

Use case

I'm always frustrated when I try to construct a fusion but don't know what fields are correctly or incorrectly filled out, but the element doesn't tell me what I need to do

Proposed solution

Add helper text messaging to the drag n drop elements and utilities components to explain to the user what fields are invalid/what error messaging is preventing their input from being validated

Alternatives considered

No response

Implementation details

Might need some fusor work here but we can make a lot of improvements solely in the fusion-curation interface. We need to update every drag n drop element with helpful messaging to explain the minimum required fields/any error messages validating their element/etc

Potential Impact

No response

Additional context

No response

Contribution

Yes, I can create a PR for this feature.

korikuzma commented 22 hours ago

Another thing is shortening Pydanitc Validation Error messages