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
Adrian Gruntkowski 39aa81a16f
Implement UI for multiple imports (#3727)
* Create a stub of site settings section for imports and exports

* Use legacy site import indication to determine UA import handling

* Add provisional logos for upcoming import sources

* Stub basics of import page

* Add very rudimentary support for multiple UA imports

* Implement imports list as live view

* Add support for opening LV modal from backend and closing from frontend

* Introduce notion of themes to `button` and `button_link` components

* Add confirmation modal on deleting import

* Swap GA4 logo

* Implement disabled state support for `button_link` component

* Disable export and non-implemented import sources

* Use native starts start date for upper boundary of import time range

* Ensure integrations view uses legacy UA import flow

* Remove unnecessary preload in SiteController

* Remove unnecessary exception for legacy imports

* Move API controller stats tests under PlausibleWeb

* Test listing imports

* Add test for explicit listener setup

* Add tests for legacy flag state in UA importer

* Add test for purging legacy import data

* Add tests for `Sites.native_stats_start_date`

* Test forgetting imports

* Add `Stats.Clickhouse.imported_pageview_counts/1` and fix test flakiness

* Show page view counts on imports list

* Add tests for static imports and exports view

* Adjust button look slightly

* Use `case` instead of `cond`

* Make feature flag customisable per site

* Fix buttons and empty state styling

* Add another import to seeds

* Use JS confirm dialog instead of modal for deletion confirmations

* Revert "Add support for opening LV modal from backend and closing from frontend"

This reverts commit 260e6c753032b451542e24be9edc2118790b5a00.

* Default `legacy` to false when inserting new import jobs

* Drop `method` attribute from `button_link` and `unstyled_link` components
3 years ago
..
auth Bugfix: available features for expired trials, no subscriptions (#3740) 3 years ago
billing `String.to_atom/1` is safe to do at compile-time (#3813) 3 years ago
cache Generalize Cache/Warmers - extract only specifics to `Site.Cache` (#3716) 3 years ago
data_migration Add data migration for moving sessions_v2 table to VersionedCollapsingMergeTree (#3802) 3 years ago
event Flush Clickhouse buffers faster by encoding early (#3623) 3 years ago
funnel Add small build option (#3536) 3 years ago
goal Small build updates (#3546) 3 years ago
google Implement UI for multiple imports (#3727) 3 years ago
helpers Small build updates (#3546) 3 years ago
imported Implement UI for multiple imports (#3727) 3 years ago
ingestion Shield: Country Rules (#3828) 3 years ago
open_telemetry Make OpenTelemetry sampler ratio configurable via env (#3514) 3 years ago
plugins/api Add `GET /capabilities` to Plugins API (#3808) 3 years ago
s3 Add csv importer (#3795) 3 years ago
sentry Upgrade Erlang/Elixir stack (#3454) 3 years ago
session Remove code that updates session browser/geo/OS attributes (#3796) 3 years ago
shield Shield: Country Rules (#3828) 3 years ago
site Allow inviting users who are members already (#3797) 3 years ago
stats Implement UI for multiple imports (#3727) 3 years ago
telemetry Gatekeep ingestion pipeline (#2472) 4 years ago
application.ex Shield: Country Rules (#3828) 3 years ago
async_insert_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
cache.ex IP Block List (#3761) 3 years ago
cldr.ex Revenue tracking: Add currency field to goal creation (#2948) 4 years ago
clickhouse_event_v2.ex Protect against custom props payloads breaking event insertions (#3617) 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 Add data migration for moving sessions_v2 table to VersionedCollapsingMergeTree (#3802) 3 years ago
debug_replay_info.ex Add debug_replay_info context to Sentry Stats reports (#3189) 3 years ago
geo.ex Upgrade Erlang/Elixir stack (#3454) 3 years ago
goals.ex Small build updates (#3546) 3 years ago
http_client.ex Use Phoenix LiveView for the upgrade page (#3382) 3 years ago
import_deletion_repo.ex Split clickhouse repos - making the main one read only (#2826) 4 years ago
imported.ex Implement UI for multiple imports (#3727) 3 years ago
ingest_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 4 years ago
mailer.ex Fix and refactor invitation logic (#3376) 3 years ago
migration_utils.ex Add data migration for moving sessions_v2 table to VersionedCollapsingMergeTree (#3802) 3 years ago
open_telemetry.ex Implement trace ID ratio-based sampling for OpenTelemetry (#3499) 3 years ago
pagination.ex Implement new sites view (#3463) 3 years ago
prom_ex.ex Implement new sites view (#3463) 3 years ago
props.ex Limit Custom Properties access in Stats API (#3670) 3 years ago
purge.ex Implement UI for multiple imports (#3727) 3 years ago
rate_limit.ex rm Hammer (#3571) 3 years ago
repo.ex Implement new sites view (#3463) 3 years ago
s3.ex Add csv importer (#3795) 3 years ago
shields.ex Shield: Country Rules (#3828) 3 years ago
site.ex Experimental session count (#3786) 3 years ago
sites.ex Implement UI for multiple imports (#3727) 3 years ago
stats.ex Add small build option (#3536) 3 years ago
themes.ex Adds dark mode to entire dashboard (#467) 6 years ago
timezones.ex Shield: Country Rules (#3828) 3 years ago
users.ex Bugfix: available features for expired trials, no subscriptions (#3740) 3 years ago