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/lib/plausible
hq1 b3ff695797
Improve goal settings UX (#3293)
* Add Heroicons dependency

* Add name_of/1 html helper

Currently with Floki there's no way to query for
`[name=foo[some]]` selector

* Update changelog

* Make goal deletion possible with only goal id

* Remove stale goal controllers

* Improve ComboBox component

- make sure the list options are always of the parent input width
- allow passing a suggestion function instead of a module

* Stale fixup

* Update routes

* Use the new goals route in funnel settings

* Use a function in the funnel combo

* Use function in the props combo

* Remove old goals form

* Implement new goal settings

* Update moduledoc

* Fix revenue switch in dark mode

* Connect live socket on goal settings page

* Fixup

* Use Heroicons.trash icon

* Tweak goals search input

* Remove unused alias

* Fix search/button alignment

* Fix backspace icon alignment

* Delegate :superadmin check to get_for_user/3

I'll do props settings separately, it's work in progress
in a branch on top of this one already. cc @ukutaht

* Rename socket assigns

* Fixup to 5c9f58e

* Fixup

* Render ComboBox suggestions asynchronously

This commit:
  - prevents redundant work by checking the socket connection
  - allows passing no options to the ComboBox component,
    so that when combined with the `async` option, the options
    are asynchronously initialized post-render
  - allows updating the suggestions asynchronously with the
    `async` option set to `true` - helpful in case of DB
    queries used for suggestions

* Update tests

* Throttle comboboxes

* Update tests

* Dim the search input

* Use debounce=200 in ComboBox component

* Move creatable option to the top

* Ensure there's always a leading slash for goals

* Test pageview goals with leading / missing

* Make the modal scrollable on small viewports
3 years ago
..
auth [pg migration] Delete account with multiple subscriptions (#3220) 3 years ago
billing Usage & Limits section (#3291) 3 years ago
data_migration add transport_opts to data migration (#3179) 3 years ago
event Clean up after V2 migration (#2868) 4 years ago
funnel Implement backend core for funnels (#3023) 3 years ago
goal Improve goal settings UX (#3293) 3 years ago
google use ecto_ch (#2890) 4 years ago
helpers improve transfer ownership error message (#2651) 4 years ago
imported Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
ingestion Actually ignore unkown device type (#3267) 3 years ago
sentry Use finch in sentry client (#1996) 4 years ago
session Clean up after V2 migration (#2868) 4 years ago
site Remove Props FF (#3242) 3 years ago
stats Remove Props FF (#3242) 3 years ago
telemetry Gatekeep ingestion pipeline (#2472) 4 years ago
application.ex Split clickhouse repos - making the main one read only (#2826) 4 years ago
async_insert_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
cldr.ex Revenue tracking: Add currency field to goal creation (#2948) 4 years ago
clickhouse_event_v2.ex Revenue tracking: Ingestion and breakdown queries (#2957) 3 years ago
clickhouse_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
clickhouse_session_v2.ex use ecto_ch (#2890) 4 years ago
data_migration.ex Make self-hosted data migration easier (#2865) 4 years ago
debug_replay_info.ex Add debug_replay_info context to Sentry Stats reports (#3189) 3 years ago
funnel.ex Bump funnel max size to 8 steps (#3094) 3 years ago
funnels.ex Implement Funnels view on dashboard (#3066) 3 years ago
geo.ex Stop logging invalid_address errors from Locus (#2604) 4 years ago
goals.ex Improve goal settings UX (#3293) 3 years ago
http_client.ex Trace external HTTP requests (#2419) 4 years ago
import_deletion_repo.ex Split clickhouse repos - making the main one read only (#2826) 4 years ago
ingest_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
mailer.ex Do not report hard bounce e-mail errors to Sentry (#2361) 4 years ago
open_telemetry.ex Remove ingestion requests and Oban queries from OTEL (#2543) 4 years ago
prom_ex.ex Add extra error info + telemetry for AsyncInsertRepo (#2708) 4 years ago
props.ex Remove Props FF (#3242) 3 years ago
purge.ex Split clickhouse repos - making the main one read only (#2826) 4 years ago
repo.ex Pagination for sites listing (#994) 6 years ago
site.ex Props into CSV export (#3167) 3 years ago
sites.ex Improve goal settings UX (#3293) 3 years ago
stats.ex Add debug_replay_info context to Sentry Stats reports (#3189) 3 years ago
themes.ex Adds dark mode to entire dashboard (#467) 6 years ago
timezones.ex Fix timezone list when time changes (#2268) 4 years ago
users.ex [pg migration] Delete account with multiple subscriptions (#3220) 3 years ago