chore(palette): temporarily remove lanes
Do not confuse people with the unfinished lane support. Lanes shall be restored once we have layouting + visual feedback in place.
This commit is contained in:
parent
e78e4c94a3
commit
7ba323b0a1
|
@ -58,9 +58,11 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
|
||||||
create.start(event, elementFactory.createParticipantShape(collapsed));
|
create.start(event, elementFactory.createParticipantShape(collapsed));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* TODO(nre): restore once not broken anymore
|
||||||
function createLane(event) {
|
function createLane(event) {
|
||||||
create.start(event, elementFactory.createShape({ type: 'bpmn:Lane' }));
|
create.start(event, elementFactory.createShape({ type: 'bpmn:Lane' }));
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
assign(actions, {
|
assign(actions, {
|
||||||
'lasso-tool': {
|
'lasso-tool': {
|
||||||
|
@ -114,7 +116,9 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
|
||||||
dragstart: createParticipant,
|
dragstart: createParticipant,
|
||||||
click: createParticipant
|
click: createParticipant
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
|
/* TODO(nre): restore once not broken anymore
|
||||||
|
,
|
||||||
'create.lane': {
|
'create.lane': {
|
||||||
group: 'collaboration',
|
group: 'collaboration',
|
||||||
className: 'icon-lane',
|
className: 'icon-lane',
|
||||||
|
@ -124,6 +128,7 @@ PaletteProvider.prototype.getPaletteEntries = function(element) {
|
||||||
click: createLane
|
click: createLane
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
});
|
});
|
||||||
|
|
||||||
return actions;
|
return actions;
|
||||||
|
|
|
@ -27,7 +27,7 @@ describe('features/palette', function() {
|
||||||
var entries = domQuery.all('.entry', paletteElement);
|
var entries = domQuery.all('.entry', paletteElement);
|
||||||
|
|
||||||
// then
|
// then
|
||||||
expect(entries.length).to.equal(10);
|
expect(entries.length).to.equal(9);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue