feat: add draggable mobile task composer
ci / docker (push) Successful in 3m26s

This commit is contained in:
2026-09-07 10:52:20 +08:00
parent 86fdcca773
commit d6452fb1c1
5 changed files with 133 additions and 5 deletions
+11
View File
@@ -35,6 +35,17 @@ describe('mobile touch targets', () => {
})
})
describe('mobile add task interaction', () => {
it('uses a draggable FAB and an animated add-task sheet', () => {
expect(app).toContain('@pointerdown="startFabDrag"')
expect(app).toContain('@pointermove="moveFab"')
expect(app).toContain('class="task-compose-mask"')
expect(app).toContain('class="task-compose-sheet"')
expect(css).toContain('.task-compose-enter-active')
expect(css).toContain('.fab.dragging')
})
})
describe('desktop sidebar collapse & folder scrollbar', () => {
it('lets the top menu collapse the desktop sidebar', () => {
expect(app).toContain('sidebar-collapsed')