After creating a new patch (hg qnew), it should be auto-selected and ready for editing/qrefresh (don't offer creating yet another new patch which is an unlikely action)
Created originally on Bitbucket by thomasdd (Thomas D.)
In every other application out there, creating anything NEW will offer the new thing for immediate editing, which makes for an efficient workflow. Not so in thg...
STR
- QNew from main view
- Enter patch name, commit message, press Ctrl+Enter to create the new patch.
- Watch UI state of main view and patch queue
Actual result
- thg creates the new patch but doesn't select it; instead:
- thg is immediately ready for creating another patch (which is an unlikely action, why would one create more than one empty new patch? I guess we normally create just one, then work on that. Then later, we may start another one again...)
- In terms of UX-feedback, this feels almost like ignoring/discarding user action: I've just typed a patch name into the input box, then after confirming it changes back to some standard name again. I often wondered if I had actually succeeded to create the new patch or not, until I discovered they were created, but not selected!
Expected result
- After creating new patch, please select it both in patch queue and repository list; keep focus where it was before (between queue and list)
- This matches the "New anything" experience in every other app out there: After creating a new thing, it will be immediately available for editing, because, well - that's why we create a new thing, isn't it?
- Auto-selecting the new patch immediately after creation will provide much better UX-feedback and better workflow as user can check and edit what he has just created, rather than being catapulted into creating yet another new patch which is a very unlikely action at this point, and feels like discarding the creation process.
- User can start editing the new patch immediately, i.e. any changes in working directory can easily be saved in the new patch as Qrefresh becomes the new default action (which is the most likely course of action).