summaryrefslogtreecommitdiffstats
path: root/client/components/cards/cardDetails.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix Popup.afterCommitAlexander Sulfrian2015-09-201-2/+2
| | | | | | We need to use "function() {}" instead of the ES6 style "() {}" with popup.afterCommit because we need the original value of "this" inside the callback.
* Merge branch 'master' into develMaxime Quandalle2015-09-101-0/+3
|\
| * Fix the draft saving feature on card switchingMaxime Quandalle2015-09-101-0/+3
| |
* | Centralize all mutations at the model levelMaxime Quandalle2015-09-081-20/+5
|/ | | | | | | | | | | | | | | 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-51/+51
| | | | | | | | | 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).
* Fix the horizontal canvas scrolling on card openingMaxime Quandalle2015-08-311-5/+25
|
* Don't save a draft if the card description hasn't been modifiedMaxime Quandalle2015-08-311-1/+4
|
* Replace the component bounded `cachedValue` by a global `UnsavedEdits`Maxime Quandalle2015-08-311-4/+31
| | | | | | | | This new draft saving system is currently only implemented for the card description and comment. We need better a component inheritance/composition model to support this for all editable fields. Fixes #186
* Redesign the card design header and change header menu iconMaxime Quandalle2015-08-301-1/+1
|
* Yet another iteration on the user interfaceMaxime Quandalle2015-08-281-4/+11
| | | | | | | | | | | | * 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
* More explicit file namesMaxime Quandalle2015-08-281-0/+123