You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/test/plausible_web/live
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>
3 years ago
..
components Upgrade Erlang/Elixir stack (#3454) 3 years ago
funnel_settings Add small build option (#3536) 3 years ago
goal_settings Latency-friendly LV modal implementation and Goals form refactor (#3649) 3 years ago
props_settings Props Settings UI to match Goals Settings (#3322) 3 years ago
choose_plan_test.exs Move limit enforcement to accepting site ownership transfer (#3612) 3 years ago
funnel_settings_test.exs Upgrade stack (deps, elixir 1.16, OTP 26.2.1) (#3678) 3 years ago
goal_settings_test.exs Latency-friendly LV modal implementation and Goals form refactor (#3649) 3 years ago
plugins_api_tokens_test.exs Track tokens usage (#3438) 3 years ago
props_settings_test.exs Props Settings UI to match Goals Settings (#3322) 3 years ago
register_form_test.exs Implement better user password validation (#3344) 3 years ago
reset_password_form_test.exs Implement UI for 2FA setup and verification (#3541) 3 years ago
sentry_context_test.exs Reapply sentry context (#3675) 3 years ago
sites_test.exs Move limit enforcement to accepting site ownership transfer (#3612) 3 years ago