mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01:00
Experiment new ergonomics to interact with card details
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.
This commit is contained in:
parent
40b605f7d8
commit
781577db04
22 changed files with 225 additions and 203 deletions
|
|
@ -18,18 +18,6 @@ Utils = {
|
|||
};
|
||||
},
|
||||
|
||||
Warning: {
|
||||
get: function() {
|
||||
return Session.get('warning');
|
||||
},
|
||||
open: function(desc) {
|
||||
Session.set('warning', { desc: desc });
|
||||
},
|
||||
close: function() {
|
||||
Session.set('warning', false);
|
||||
}
|
||||
},
|
||||
|
||||
// XXX We should remove these two methods
|
||||
goBoardId: function(_id) {
|
||||
var board = Boards.findOne(_id);
|
||||
|
|
@ -49,12 +37,6 @@ Utils = {
|
|||
});
|
||||
},
|
||||
|
||||
liveEvent: function(events, callback) {
|
||||
$(document).on(events, function() {
|
||||
callback($(this));
|
||||
});
|
||||
},
|
||||
|
||||
capitalize: function(string) {
|
||||
return string.charAt(0).toUpperCase() + string.slice(1);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue