mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 08:22:24 +01:00
feature (workflow): improve UX
This commit is contained in:
parent
e3cda601ce
commit
587793e376
1 changed files with 5 additions and 1 deletions
|
|
@ -24,7 +24,11 @@ export default async function(render, { workflows, triggers }) {
|
||||||
if (workflows.length === 0) $workflows.appendChild(createEmptyWorkflow());
|
if (workflows.length === 0) $workflows.appendChild(createEmptyWorkflow());
|
||||||
|
|
||||||
effect(onClick(qs($page, "h2 > a")).pipe(
|
effect(onClick(qs($page, "h2 > a")).pipe(
|
||||||
rxjs.tap((a) => ctrlModal(createModal(), { triggers })),
|
rxjs.tap(($a) => animate($a, {
|
||||||
|
time: 300,
|
||||||
|
keyframes: [{ transform: "rotate(0)" }, { transform: `rotate(90deg)` }],
|
||||||
|
})),
|
||||||
|
rxjs.tap(() => ctrlModal(createModal(), { triggers })),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue