-
Notifications
You must be signed in to change notification settings - Fork 404
Conversation
4c8083c
to
a8b805d
Compare
de98744
to
d79407e
Compare
d79407e
to
50d9ddf
Compare
Here's what I've got so far: Could use some UX help around where to put a button to open the editor, and what to do to obscure the commit box when the editor is open. Right now I just hide the commit box using CSS. @simurai @BinaryMuse mind if I ask for your help implementing these? |
Added a subtle "expand" button:
Maybe like this: Or rather than "find the expanded commit message", it could close it instead and open the small one again? Then it would be more like a toggle: |
@kuychaco Ok, added the expanded styles. Still needs wiring up:
|
Nice! Do you like the behaviour? I still think it should toggle the expanded editor instead of "revealing" it. |
Agreed 👍 |
72b8d1d
to
6828bc1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thought, otherwise 👍 . Like the UX here.
|
||
sinon.spy(controller.refs.commitView, 'update'); | ||
editor.destroy(); | ||
await assert.async.isTrue(controller.refs.commitView.update.called); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 I wonder if this line's intention would be more clear as await until(() => controller.refs.commitView.update.called)
test/views/commit-view.test.js
Outdated
@@ -41,45 +41,53 @@ describe('CommitView', function() { | |||
}); | |||
}); | |||
|
|||
it('displays the remaining characters limit based on which line is being edited', async function() { | |||
it.only('displays the remaining characters limit based on which line is being edited', async function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is just here for debugging but 🔥
🎉 |
Can we get a shortcut to git push after committing the git message. Something like ctrl+shift+p? |
@atomi There's already a keybind for the Push command; you can see it by looking next to the "GitHub: Push" command in the command palette, and you can always bind your own keybind if you don't like the included one. See http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/ for more. |
@BinaryMuse Thank you for the fast reply! I was thinking more along the lines of a quick push while within the commit input similar to edit: though i understand ctrl+p and ctrl+shift+p might not make sense here another option is fine with me alt+crtl+p perhaps |
Fixes #818
TODO:
commit
button is disabled