merge: combine all features from both codebases - mobile dashboard + layer panel + notifications + shares + all fixes

This commit is contained in:
Leopoldadmin
2026-07-04 16:43:55 +02:00
parent 0606dbb501
commit be62470b53
79 changed files with 9562 additions and 3132 deletions
+15
View File
@@ -272,6 +272,21 @@ describe('SelectionEngine', () => {
s.selectionEngine.cancelBoxSelect();
expect(s.selectionEngine.isBoxSelecting()).toBe(false);
});
it('hasBoxMoved should return false when box not started', () => {
expect(s.selectionEngine.hasBoxMoved()).toBe(false);
});
it('hasBoxMoved should return false when start equals end (no drag)', () => {
s.selectionEngine.startBoxSelect(50, 50);
expect(s.selectionEngine.hasBoxMoved()).toBe(false);
});
it('hasBoxMoved should return true when box end differs from start', () => {
s.selectionEngine.startBoxSelect(50, 50);
s.selectionEngine.updateBoxSelect(100, 100, []);
expect(s.selectionEngine.hasBoxMoved()).toBe(true);
});
});
describe('clearSelection', () => {