Component Messages Enhancements

  • 3
  • Idea
  • Updated 3 years ago
Couple of ideas for enhancements to component messages (e.g. errors);

1) Currently, clicking a message removes it from the DOM.  The challenge with this is that often times users wants to copy/paste the message text but are unable to because the message dissappears as soon as you click on it.  Would like to see an "x" icon on the right side of the message for dismissing and the click handler removed so that the message remains displayed unless you click the 'x'.  Additionally, there could be a "dismiss all" feature for quick dismissal of all messages.

2) Would like to see a feature added for customizing messages.  This would require the full details of the message (e.g. field, row, etc.) be provided so that the message could be customized.  I could see this working as either an overriden "formatMessage" method or some type of callback.  There is a post at https://community.skuid.com/skuid/topics/how-to-obtaining-raw-error-messages-returned-from-model-ope... which discusses obtaining the full error details so this is along those lines but I see this as two separate items since you might globally want to do something with errors and/or specifically within a component might want to format its messages.

Thanks!
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb

Posted 3 years ago

  • 3
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,014 Points 20k badge 2x thumb
(1) 100% agree, this has been planned for a while but just hasn't gotten done yet. It's very annoying to not be able to select the error message text.
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb
No comment on #2 means 0% agree? :)
Photo of KVin

KVin

  • 1,158 Points 1k badge 2x thumb
+1
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb
Hi KVin - Thanks for the +1.  For official tracking purposes, there is a "Vote" button in the upper right portion of this post that you'll want to click. :)