analytics/lib/plausible_web/live
hq1 0822bc61df
Props Settings UI to match Goals Settings (#3322)
* Add hint to creatable ComboBoxes without suggestions available

* Load external resources once in funnel settings

* Load external resources once in goal settings

* Make Custom Props Settings UI match Goal Settings

* Remove unnecessary goals query

This should be done only once in the live view

* Remove funnels feature flag

* fixup

* Make the modal scrollable

* By default, focus first suggestion for creatables

* Add sample props to seeds

* Load all suggestions asynchronously, unless `Mix.env == :test`

* ComboBox: Fix inconsistent suggestions

We require "Create ..." element to be only focused
when there are no suggestions available.
This causes some issues, depending on the state,
the least focusable index might be either 0 ("Create...")
or 1. This patch addresses all the quirks with focus.

* Fix ComboBox max results message

So that AlpineJS doesn't think it's a focusable
option.

* Keep the state up to date when changing props

* Update seeds with sensible prop names

* Make escape work for closing combobox suggestions

Co-authored-by: Uku Taht <Uku.taht@gmail.com>

* Revert "Make escape work for closing combobox suggestions"

This reverts commit 306866d2a1.

@ukutaht unfortunately this makes it impossible to select
an suggestion.

* Revert "Revert "Make escape work for closing combobox suggestions""

This reverts commit 4844857812.

* Make ESC great again

* Improve readability

---------

Co-authored-by: Uku Taht <Uku.taht@gmail.com>
2023-09-13 14:55:29 +02:00
..
components Props Settings UI to match Goals Settings (#3322) 2023-09-13 14:55:29 +02:00
funnel_settings Apply unified capitalization to buttons and titles (#3321) 2023-09-05 09:43:01 -03:00
goal_settings Props Settings UI to match Goals Settings (#3322) 2023-09-13 14:55:29 +02:00
props_settings Props Settings UI to match Goals Settings (#3322) 2023-09-13 14:55:29 +02:00
flash.ex Connect to live socket only on specific pages (#3292) 2023-08-28 10:03:06 +02:00
funnel_settings.ex Props Settings UI to match Goals Settings (#3322) 2023-09-13 14:55:29 +02:00
goal_settings.ex Props Settings UI to match Goals Settings (#3322) 2023-09-13 14:55:29 +02:00
props_settings.ex Props Settings UI to match Goals Settings (#3322) 2023-09-13 14:55:29 +02:00