From 781577db041e0008de22f31bcc1cb11ae96670e0 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Sun, 24 May 2015 12:30:58 +0200 Subject: Experiment new ergonomics to interact with card details MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The idea is that by displaying card details in a sidebar stuck on the right of the screen, the mouse had to travel too much before interacting with it. I also don’t want to use the Trello solution (modal) on big screens, because I like the ability to interact with the selected card and with the board at the same time (like in a e-mail client). The solution introduced in this commit consist of opening the card detail in a column next to the minicard list. This commit also fix right sidebar members and labels drag and drop. --- client/components/cards/router.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 client/components/cards/router.js (limited to 'client/components/cards/router.js') diff --git a/client/components/cards/router.js b/client/components/cards/router.js deleted file mode 100644 index 48bb9a95..00000000 --- a/client/components/cards/router.js +++ /dev/null @@ -1,15 +0,0 @@ -Router.route('/boards/:boardId/:slug/:cardId', { - name: 'Card', - template: 'board', - waitOn: function() { - var params = this.params; - // XXX We probably shouldn't rely on Session - Session.set('currentBoard', params.boardId); - Session.set('currentCard', params.cardId); - - return BoardSubsManager.subscribe('board', params.boardId, params.slug); - }, - data: function() { - return Boards.findOne(this.params.boardId); - } -}); -- cgit v1.2.3-1-g7c22