SCM: Support past commit message navigation (#107619)
* logging prior commit messages * Logging prior commit messages * Logging prior commit messages * now works in forward and backward directions * reset index on empty input * cleaning up code * introduce historyNavigator, working but not persisting on window reload * introduce historyNavigator, working but not persisting on window reload * add history * saves search entries on window reload but doesn't save last typed message in input box * save input * change where the save occurs * working * add remove last method * now replaces most recent input * remove check for null value * now at least lets you see most recent commit * before adding objects * add scmi value class * add scmi value class * new commit * fix removal / insertion order * change function modifiers * working correctly * change conditional * undo inadvertant changes * Update README.md * fix tricky bug * working and removed unnecessary conditional * fix another bug * make elements private again * change order of save * now working as expected, about to add context keys * hook up context keys * save on shutdown * improve variable name * disable show prior/next commit when there's no history and ensure that input is last in history * formatting * add new history navigator * fix bad == * rename scm input history methods * adopt HistoryNavigator2 in SCMInput * remove unnecessary method * revert history.ts *💄 * change size of history required to be valid * revert change * on reload, display latest input * remove rogue console.log * fix issue with saving uncommitted message Co-authored-by: NJoão Moreno <joao.moreno@microsoft.com>
Showing
想要评论请 注册 或 登录