Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Improve presentation of error messages #339

Open
MareenG opened this issue Mar 25, 2021 · 6 comments
Open

Improve presentation of error messages #339

MareenG opened this issue Mar 25, 2021 · 6 comments
Assignees
Labels
app:CowSwap CowSwap app Enhancement New feature or request Low Severity indicator for defects. It won't cause any major break-down of the system Protofire Handled by Protofire development team wontfix Stale issue

Comments

@MareenG
Copy link

MareenG commented Mar 25, 2021

Might be cool to add some cow theme to the error messages (e.g. sad cow or cow tipping image, spilled milk...)
Bildschirmfoto 2021-03-25 um 10 50 40

@anxolin
Copy link
Contributor

anxolin commented Mar 26, 2021

Good catch. I agree with the suggestion, also we should handle this error better and display also a nicer message.
I'll move this to our backlog and rename this issue so it's more broad (Better and nicer error handling)
@michelbio is working in finding some nice illustrations for the website exactly for these situations.

Tasks

Notes for implementation

The API already provide a type field that shows the kind of error. So we can use this to handle these situations.

  • MissingOrderData,
  • InvalidSignature,
  • DuplicateOrder,
  • InsufficientFunds

EDIT: Adding some extra types after syncing the types:

  • PastValidTo,
  • InsufficientFee,

However, I didn't see one for the error of the date being in the past. @fleupold Is it possible that the swagger docs is not in sync with the types?

image

@anxolin anxolin added the app:CowSwap CowSwap app label Mar 26, 2021
@fleupold
Copy link
Contributor

Yes, good catch. It's not synced (gnosis/gp-v2-services#417 updates it)

@anxolin anxolin changed the title Idea: Error Message Improve presentation of error messages Mar 26, 2021
@annamsgeorge annamsgeorge added the Fun Fun meme ideas! label Mar 26, 2021
@MareenG
Copy link
Author

MareenG commented Mar 30, 2021

I got several failed to fetch error messages today and and the error message displayed in #357. As a user it is hard to understand what is going on.

@MareenG
Copy link
Author

MareenG commented Mar 30, 2021

I started a list to collect the error messages.
Here we can add info on what caused the error and if it needs rewording and/or improved presentation

@MareenG MareenG added Enhancement New feature or request Low Severity indicator for defects. It won't cause any major break-down of the system and removed Fun Fun meme ideas! labels Aug 12, 2021
@alfetopito alfetopito added the Protofire Handled by Protofire development team label Sep 1, 2021
@stale
Copy link

stale bot commented Mar 30, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you think it shouldn't be closed, speak now or forever hold your peace.

@stale stale bot added the wontfix Stale issue label Mar 30, 2022
@elena-zh elena-zh removed the wontfix Stale issue label Mar 30, 2022
@stale
Copy link

stale bot commented Jun 23, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you think it shouldn't be closed, speak now or forever hold your peace.

@stale stale bot added the wontfix Stale issue label Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
app:CowSwap CowSwap app Enhancement New feature or request Low Severity indicator for defects. It won't cause any major break-down of the system Protofire Handled by Protofire development team wontfix Stale issue
Projects
None yet
Development

No branches or pull requests

9 participants