Thread Previous • Date Previous • Date Next • Thread Next |
Martin Pool пишет:
2009/9/4 Ian Clatworthy <ian.clatworthy@xxxxxxxxxxxxx>:Alexander Belchenko wrote:Ian, do you think we need to add special status/debug console in Bazaar Explorer to (optionally) show these messages?I was hoping to avoid it. If we need it, I'll add it in. What alternatives are there? Collect the output and display it instantly? If that was annoying enough, it would prompt us to clean them up. :-) OTOH, making the UI annoying just prior to bzr 2.0 & explorer 1.0 isn't a smart choice.
Well, we can hide this console by default and show error/info messages only if user asks us, or some summary in status line.
Eventually, I'd like to have all of these things reported to the UIFactory at a higher level of abstraction, so that it can make sensible decisions about how to report it. For example if there's a code-level DeprecationWarning, it shouldn't show that to the user at all except if they ask for the bug log. If there's a warning that say a format is deprecated or they have uncommitted changes, it should show that in a dialog or other message that gives them the chance to do something about it. The non-ui code should not be assuming the interface is "show this text string."
Well, I see there is many options for future to make CLI bzrlib more GUI-friendly. So maybe we don't need to hurry with bzrw.exe and skip it for 2.0. And planning polish bzrw.exe in next months.
Thread Previous • Date Previous • Date Next • Thread Next |