New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Experiment with error message #3007
Conversation
Looks reasonable to me. I think suggesting |
You can merge this if you want, or leave it open and I'll collect a few more error messages. |
I'll leave it open for now - let me know when you feel like it's done. |
This is worth another review — I've updated all errors in |
Discovered a few older issues that I filed with suggestions for improved error mesages, so I tweaked those too. |
* master: (35 commits) Update NEWS Rebuild JS files Set min/max date before setting value. Closes #3197 Respect shiny.minified for bootstrap-datepicker.js Skip POSIXlt slider tests on R3.6 and below Update NEWS validate_session_object: Also work with modules Fix test All session parameters from the update* functions now default to `getDefaultReactiveDomain()` (#3195) Respect reactiveConsole() in new errors (#3193) Add NEWS notes for #3042 and #3038 (#3191) Add a warning message when value < min | value > max in sliderInput (#3194) Clear selected date if not within min/max range (#3188) Add 'auto' brush fill and stroke (#2864) getCurrentOutputInfo() bugfix (#3189) radioButtons() and checkboxGroup() accessibility (#3187) Cleaner logic for conditional CSS styles (#2671) Experiment with error message (#3007) Build JS files Better setting of bootstrap-datepicker start/end dates, closes #2703 ...
Just noticed the new error messages! It's nice that very old messages from version 0.0.1 are being reexamined :) Regarding the change of "reactive expression or observer" -> "reactive consumer", was that motivated by people being confused by the original message, or is it an attempt to be more "correct"? From talking to many intermediate shiny developers, most don't seem to know what "reactive consumer" means and I think this message might cause more confusion than it fixes |
Created for the purposes of discussion.
Before:
After:
Also worth consider if it would be useful to include a hint here, or if that's ultimately too misleading: