Commit Graph

11 Commits

Author SHA1 Message Date
Ruben Fiszel
3342ad61da nit 2023-04-30 17:41:31 +02:00
Ruben Fiszel
ec89b656b6 feat: introduce backend persisted draft systems for scripts 2023-04-30 15:56:52 +02:00
Faton Ramadani
a9d36966ba feat(frontend): add support for background scripts + add FormButtonCo… (#1124)
* feat(frontend): add support for background scripts + add FormButtonComponnet

* feat(frontend): add background script fields

* feat(frontend): Handle deletion + display of results

* feat(frontend): Fix background script ids: Runnable ids needs to be valid js expression, because they are used in the evaluator.

* feat(frontend): add a portal to display modal

* feat(frontend): fix build

* feat(frontend): Add missing props

* feat(frontend): Fix run button + add tooltip + fix icon
2023-01-19 14:52:32 +01:00
Ruben Fiszel
222b732b20 add autosave for apps 2022-12-31 07:36:05 +01:00
Ruben Fiszel
9617098173 fix confirmation modal enter behavior 2022-12-27 16:29:34 +01:00
Ruben Fiszel
70aa091c86 update to sveltekit 1.0 2022-12-25 08:05:39 +01:00
Ruben Fiszel
16afde6806 approval flow with idendity of the approver 2022-10-24 16:37:09 +02:00
Ruben Fiszel
539588e173 remove spurrious log 2022-10-08 15:25:17 +02:00
Ruben Fiszel
f0ce5ed705 fix(frontend): do not alert on non internal nav for unconfirmed saves 2022-10-08 15:17:41 +02:00
Faton Ramadani
e1d25eca0f feat(frontend): Discard changes confirmation modal (#653)
* feat(front): add a confirmation modal to discard unsaved changes

* feat(front):Fix modal content

* feat(front): Revert code + add unsavedconfirmatiomodal to the flow builder

* feat(front): Use a store to store whether the content of an editor needs to be saved before leaving

* feat(front): Add cleanup + only display the warning when navigating elsewhere on the app

* feat(front): set dirty to false when saving

* feat(front): add keyboard binding to cancel or resume

* feat(front): Init dirtyStore to true when creating a flow/script

* feat(front): Explicit store initiliation

* feat(front): initilisation dirty status after loading a script/flow
2022-10-03 14:32:06 +02:00
Faton Ramadani
08c88c91e2 feat(front): Add a confirmation modal (#634)
* feat(front): Add a confirmation modal

* feat(front): Simplify styles

* feat(front): Remove code duplication

* feat(front): Add shortcut + add Alert component
2022-09-28 16:30:54 +02:00