Mohammed Erraysy
A Frontend enthusiast making slides.
Those are regular commit messages grabbed from a real world project.
Fix the new user export issues Enable Data re editing in bulk results Add Re-edit button Remove unnecessary action Merge branch x into develop Add export error popup Add indeterminate state Match the mockup Add a filter on top of bulk results grid Display provisioning delegations Display warnings one time only Match active grid row with id as well Fix a typo Fix mass route
which issues ?
???
The commit message has tree main parts :
<type>(scope): <subject> <BLANK LINE> <body> <BLANK LINE> <footer>
Subject line contains succinct description of the change.
Allowed <type> :
<type>(scope): <subject> <BLANK LINE> <body> <BLANK LINE> <footer>
<type>(scope): <subject> <BLANK LINE> <body> <BLANK LINE> <footer>
Subject line contains succinct description of the change.
Allowed (scope) :
Scope could be anything specifying place of the commit change. For example `filename`, `dirname`, `class`, etc...
<type>(scope): <subject> <BLANK LINE> <body> <BLANK LINE> <footer>
Subject line contains succinct description of the change.
<subject> text :
<type>(scope): <subject> <BLANK LINE> <body> <BLANK LINE> <footer>
Body contains more details about the change.
<type>(scope): <subject> <BLANK LINE> <body> <BLANK LINE> <footer>
Footer contains the breaking changes and references to related tickets and issues.
feat($browser): onUrlChange event (popstate/hashchange/polling)
Added new event to $browser:
- forward popstate event if available
- forward hashchange event if popstate not available
- do polling when neither popstate nor hashchange available
Breaks $browser.onHashChange, which was removed (use onUrlChange instead)
feat(directive): ng:disabled, ng:checked, ng:multiple, ng:readonly, ng:selected
New directives for proper binding these attributes in older browsers (IE).
Added coresponding description, live examples and e2e tests.
Closes #351
feat(directive): ng:disabled, ng:checked, ng:multiple, ng:readonly, ng:selected
New directives for proper binding these attributes in older browsers (IE).
Added coresponding description, live examples and e2e tests.
Closes #351
feat($compile): simplify isolate scope bindings
Changed the isolate scope binding options to:
- @attr - attribute binding (including interpolation)
- =model - by-directional model binding
- &expr - expression execution binding
This change simplifies the terminology as well as
number of choices available to the developer. It
also supports local name aliasing from the parent.
BREAKING CHANGE: isolate scope bindings definition has changed and
the inject option for the directive controller injection was removed.
To migrate the code follow the example below:
Before:
scope: {
myAttr: 'attribute',
myBind: 'bind',
myExpression: 'expression',
myEval: 'evaluate',
myAccessor: 'accessor'
}
After:
scope: {
myAttr: '@',
myBind: '@',
myExpression: '&',
// myEval - usually not useful,
// but in cases where the expression is assignable,
// you can use '='
myAccessor: '=' // in directive's template change myAccessor() to myAccessor
}
The removed `inject` wasn't generaly useful for
directives so there should be no code using it.
By Mohammed Erraysy
Guidelines to a better commit messages