summaryrefslogtreecommitdiffstats
path: root/client/components/cards/labels.js
Commit message (Collapse)AuthorAgeFilesLines
* Models: Replace before.insert with autoValuesAlexander Sulfrian2016-06-031-3/+1
| | | | | | | | The before.insert hooks have the problem, that they are executed in a different order if called from the client or from the server. If called from the client, the before.insert hook is called before validation of the schema, but if called from the server, the validation is called first and fails.
* Remove unnecessary template name declarationMaxime Quandalle2016-01-031-4/+0
| | | | | | This code was duplicate with the name we use to `register` the component. A update of blaze-component removed the need to duplicate this declaration.
* Prefer ES5 methods over underscore utilitiesMaxime Quandalle2015-10-221-1/+1
| | | | | | | | | | | | | | Since 07cc454 (ie the switch to Meteor 1.2) we includes the `es5-shim` polyfill to support methods like `Array.prototype.forEach` in a consistent way across all supported browsers (IE8+). MDG recently released a blog post recommending the use of these native methods instead of underscore [0]. We know follow this recommendation. This commit also favor some ES6 features (argument defaults, destructing assignment) in places where we didn’t use them. [0]: http://info.meteor.com/blog/es2015-get-started
* Prevent dublicated empty labels of the same colorMaxime Quandalle2015-10-141-1/+1
|
* Centralize all mutations at the model levelMaxime Quandalle2015-09-081-43/+8
| | | | | | | | | | | | | | | This commit uses a new package that I need to document. It tries to solve the long-standing debate in the Meteor community about allow/deny rules versus methods (RPC). This approach gives us both the centralized security rules of allow/deny and the white-list of allowed mutations similarly to Meteor methods. The idea to have static mutation descriptions is also inspired by Facebook's Relay/GraphQL. This will allow the development of a REST API using the high-level methods instead of the MongoDB queries to do the mapping between the HTTP requests and our collections.
* Enforce a consistent ES6 coding styleMaxime Quandalle2015-09-031-57/+57
| | | | | | | | | Replace the old (and broken) jshint + jscsrc by eslint and configure it to support some of the ES6 features. The command `eslint` currently has one error which is a bug that was discovered by its static analysis and should be fixed (usage of a dead object).
* Yet another iteration on the user interfaceMaxime Quandalle2015-08-281-1/+1
| | | | | | | | | | | | * Automatically display the overlay when the card details is opened (previously we waited for the mouse to enter the card details panel) * Improve the design of the minicards badges * Change the minicard background when it is hovered or selected * Removes unimplemented features links from the UI * Fix the board canvas position when the sidebar is open (was hidden behind) Fixes #215
* Fix #199Maxime Quandalle2015-06-161-45/+55
|
* Work on the card activities and commentsMaxime Quandalle2015-06-121-0/+126
This commit also introduces a new CSSEvents object that is used to abstract vendor specifics events related to CSS transitions and animations. Fixes #183. Fixes #179.