zowe / zlux

The top-level superproject for zLUX. zLUX includes the Zowe Desktop framework in addition to several built-in apps and an example server implementation.
Eclipse Public License 2.0
39 stars 42 forks source link

Enhance detail of error messages #289

Open jordanCain opened 6 years ago

jordanCain commented 6 years ago

Currently when we encounter a none 2** response from an api request we say what has failed but don't propagate any response message to the user.

We should capture response messages and display them in the Snackbar

depends on https://github.com/zowe/data-sets/issues/14

DivergentEuropeans commented 4 years ago

@jordanCain If this is still an issue, we can use Notification framework to display a Zowe notification if something failed. Or a simple Angular Material Snackbar can be added too, like in Zowe Editor 🌱

jordanCain commented 4 years ago

@DivergentEuropeans The explorer apps already hook into the notification framework, this issue is more around improving the content of the notifications that are sent, in.some instances we just use a generic failed message without a reason whereas if available we should use a message returned from the api

NakulManchanda commented 4 years ago

@jordanCain is this still the case?

jordanCain commented 4 years ago

@NakulManchanda Yes, in many cases across the explorers we use generic hardcoded error messages when an action fails rather than relaying what the api/zosmf tells us