Commit graph

64 commits

Author SHA1 Message Date
Xavier Priour
468694a84c Import board: added UI 2015-10-17 18:00:46 +02:00
Maxime Quandalle
944a1065d3 Add some ESLint rules and fix some related issues 2015-10-14 23:50:12 +02:00
Xavier Priour
b670a1ab36 Import single card: proper error handling 2015-10-14 23:23:17 +02:00
Xavier Priour
d8892d6408 Import single card: refactor to meteor method 2015-10-14 23:23:16 +02:00
Xavier Priour
7e64c22c1a Import single card: archived card 2015-10-14 23:23:16 +02:00
Xavier Priour
68518f5497 Import single card: map labels 2015-10-14 23:23:16 +02:00
Xavier Priour
432c1ebb5d Import single card: now with description and comments 2015-10-14 23:23:16 +02:00
Xavier Priour
1b9df00492 Import single card: title and proper sort index 2015-10-14 23:23:16 +02:00
Xavier Priour
bc79b83140 Add card import UI 2015-10-14 23:23:16 +02:00
Alexander Sulfrian
f4a68a0f7d Fix Popup.afterCommit
We need to use "function() {}" instead of the ES6 style "() {}" with
popup.afterCommit because we need the original value of "this" inside
the callback.
2015-09-20 16:49:11 +02:00
Maxime Quandalle
45b662a1dd Centralize all mutations at the model level
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.
2015-09-08 20:19:42 +02:00
Maxime Quandalle
b3851817ec Enforce a consistent ES6 coding style
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).
2015-09-03 23:12:46 +02:00
Maxime Quandalle
691c3aff68 Improve the list menu
* Grow the click-able zone of the list menu
* Remove a dead link on the list menu
* Merge list menu files with header menu to be consistent with the
  board components internal organization

Closes #106
2015-08-28 06:22:35 +02:00
Maxime Quandalle
b5dabfe886 More explicit file names 2015-08-28 02:25:26 +02:00
Renamed from client/components/lists/header.js (Browse further)