analytics/lib/plausible_web/components
Adrian Gruntkowski eaa7020230
Latency-friendly LV modal implementation and Goals form refactor (#3649)
* Make modal for goal settings trigger without BE roundtrip

* Turn goal form into a live component and extract modal into a wrapper

* Further extract modal component and handle reset action

* Make ComboBox selection callback more flexible

* Add rudimentary loading state to dialog

* Make form unaware of being put inside a modal

* Make modal a live component and completely reset contents on open server-side

* Try to avoid race condition

* Fix race condition

* Remove unnecessary conditional on socket assigns

* Add typespecs and fix formatting

* Make goals form high latency friendly

* Fix tests to account for goal settings form becoming live component

* Fix goal settings form live component declaration

* Add documentation for modal

* Fix small build test

* Fix typo

Co-authored-by: hq1 <hq@mtod.org>

* Revert no longer necessary test changes from 46f65d9

* Fix and clean up modal styling

* Keep focus on dialog when open and show only spinner on backdrop when loading

* Adjust corners and shadows and implement open/close transitions

* Lock body scroll when modal is open

* Make modal top-aligned again to avoid jumping around on variable content height

---------

Co-authored-by: hq1 <hq@mtod.org>
2024-01-15 11:39:30 +01:00
..
billing Move limit enforcement to accepting site ownership transfer (#3612) 2023-12-20 14:56:49 +00:00
site Extract button component (#3474) 2023-11-08 11:40:07 +02:00
generic.ex Latency-friendly LV modal implementation and Goals form refactor (#3649) 2024-01-15 11:39:30 +01:00
google.ex Integrations Settings section (#3427) 2023-10-18 14:01:17 +02:00
layout.ex fix theme applying based on the 'theme' query param (#3639) 2023-12-15 13:59:00 -03:00
settings.ex Integrations Settings section (#3427) 2023-10-18 14:01:17 +02:00
two_factor.ex Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00