Closed casebenton closed 8 years ago
Your commit message should explain what the commit changes (see http://chris.beams.io/posts/git-commit/ for some generally good guidelines for writing commit messages, although none of those are hard rules and we break some of them ourselves). You can still have the auto-issue-closing stuff in there, but that can just be the very last line in the commit:
Hide recommendation panel whenever a tab is deactivated.
Fixes #12
Ok, I'll start leaving more detailed messages. How does the commit message in https://github.com/mozilla/addon-recommendation-shield-study/pull/21 look?
Ok, I'll start leaving more detailed messages. How does the commit message in #21 look?
It's better, but it doesn't explain what the commit is doing, it just says that flexbox stuff is changing. Fix padding issues in recommendation panel
would be better. Consider that commit messages will be read by:
To either of those people, just nothing that some changes happened without mentioning why or what isn't useful.
Tested the fix locally and it seems to work fine, I couldn't find any obvious edge cases. Fix the commit message and I'll r+ this and merge it. Nice work!
Ok, I made the message more detailed. Thanks!
r?