I've added tooltips to the buttons used to toggle source (and other) chunks in _simpledocument format. As discussed in #68 these buttons are less noisy but also less informative. The solution suggested by @jimhester was to use tooltips for labelling of the chunks instead. This is a first pass at implementing this.
One question is whether the tooltip should be associated with the button or the surrounding panel. My feeling is that having the tooltip pop up every time the mouse pointer enters one of the chunks might get a bit annoying. On the other hand, the buttons are relatively small and a user unfamiliar with the output produced by knitrBootstrap could go a long time without triggering a tooltip and that mostly defeats the purpose.
I've added tooltips to the buttons used to toggle source (and other) chunks in _simpledocument format. As discussed in #68 these buttons are less noisy but also less informative. The solution suggested by @jimhester was to use tooltips for labelling of the chunks instead. This is a first pass at implementing this.
One question is whether the tooltip should be associated with the button or the surrounding panel. My feeling is that having the tooltip pop up every time the mouse pointer enters one of the chunks might get a bit annoying. On the other hand, the buttons are relatively small and a user unfamiliar with the output produced by knitrBootstrap could go a long time without triggering a tooltip and that mostly defeats the purpose.