weave-gitops icon indicating copy to clipboard operation
weave-gitops copied to clipboard

weave gitops capability for mapping error for better user experience

Open enekofb opened this issue 3 years ago • 3 comments

we usually show the user the errors directly coming from our backend which are not tailored to the user expected experience.

This issue is to raise the need of having a capability with the UI for doing this mapping in the way that

  • users gets error information that they could understand
  • and they are suggested recover from error messages that they could act

For example an authorization error should suggest to contact the admin for further information or similar Screenshot 2022-09-12 at 15 23 01

enekofb avatar Sep 12 '22 14:09 enekofb

cc @TheGostKasper @jpellizzari has there been any discussion among UI engineers about this? What do we need to do to move this forward?

yiannistri avatar Sep 12 '22 16:09 yiannistri

@yiannistri You want to map each possible back-end error to an enumerable error code or something like that? That would be a massive undertaking.

To me, that error messages is pretty descriptive. I don't know how we could beat it. The example given remediation steps given ("contact the admin") makes an assumption about the user's org chart...

jpellizzari avatar Sep 14 '22 18:09 jpellizzari

This could be a very large topic on how we want to handle and expose errors, requiring significant review from Design.

sympatheticmoose avatar Oct 19 '22 10:10 sympatheticmoose

@jpellizzari @enekofb Anything happen on this topic since Oct 2022? If not, should we leave open?

lasomethingsomething avatar Jul 20 '23 10:07 lasomethingsomething

No news and I guess that we won't be able to make the expected progress within the ticket. i have linked to the one in interlock trying to chase it through RBAC messages.

Happy if you want to close it.

enekofb avatar Jul 20 '23 14:07 enekofb

Our error messages are pretty good, and a UI experience where we suggest remedial steps is unrealistic...unless we want to train our own LLM or something :thinking:. Closing.

jpellizzari avatar Aug 08 '23 15:08 jpellizzari