feat: animate completion feedback
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -48,6 +48,16 @@ describe('warm Liquid Glass styling', () => {
|
||||
})
|
||||
})
|
||||
|
||||
describe('completion feedback motion', () => {
|
||||
it('animates completed task and habit rows without ignoring reduced motion', () => {
|
||||
expect(css).toContain('.task-row.done,.habit-row.done{animation:completion-row-settle .34s cubic-bezier(.2,.85,.3,1)}')
|
||||
expect(css).toContain('.task-row.done .task-check-mark,.habit-row.done .task-check-mark{animation:completion-check-pop .38s cubic-bezier(.2,1.4,.35,1)}')
|
||||
expect(css).toContain('@keyframes completion-row-settle')
|
||||
expect(css).toContain('@keyframes completion-check-pop')
|
||||
expect(css).toContain('@media(prefers-reduced-motion:reduce){.task-row.done,.habit-row.done,.task-row.done .task-check-mark,.habit-row.done .task-check-mark{animation:none}}')
|
||||
})
|
||||
})
|
||||
|
||||
describe('mobile sheet contract', () => {
|
||||
it('uses shared roles for details, creation and secondary actions', () => {
|
||||
expect(app).toContain('class="task-compose-mask app-sheet-mask"')
|
||||
|
||||
Reference in New Issue
Block a user