summaryrefslogtreecommitdiffstats
path: root/client/lib/modal.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix lint errors.Lauri Ojansivu2017-12-031-1/+1
|
* Allow the header bar customizationMaxime Quandalle2015-12-091-3/+9
| | | | | This commit also provide a way to escape the Shorcuts page on Sandstorm.
* Fix some bugs introduced in aa974aaMaxime Quandalle2015-10-291-1/+1
| | | | | Yes Wekan need some tests. Yes I need to stop refactoring my code when I’m halp-sleeping in my bed at 4am.
* Prefer ES5 methods over underscore utilitiesMaxime Quandalle2015-10-221-2/+2
| | | | | | | | | | | | | | 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
* Enforce a consistent ES6 coding styleMaxime Quandalle2015-09-031-1/+1
| | | | | | | | | 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).
* Open a modal (or a new page) based on contextMaxime Quandalle2015-08-281-7/+12
| | | | | | This feature is also sometime named the Pinterest-style route, which is further explained in this react-router example: https://github.com/rackt/react-router/tree/cf0419f70e14a0ae39cba2ff99b01d3cbbd085be/examples/pinterest
* Implement board archive and restorationMaxime Quandalle2015-08-261-1/+1
|
* Implement a modal systemMaxime Quandalle2015-08-261-0/+31
I decided to create my own and not to use a community package, because 1. it's straightforward 2. it's better integrated with our others libs such as EscapeActions 3. monitoring third-party packages evolutions (eg, CSS changes) is a lot of work. This is basically the same rationale than for our other generic UI components such as the Popup/Popover. This commit also slightly modify the general layout to remove unnecessary wrapper DOM nodes.