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/controllers/api/stats_controller
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
..
authorization_test.exs Google APIs integration improvements (#2358) 4 years ago
browsers_test.exs Reapply conversion rate into Stats API + bugfixes (#3805) 3 years ago
cities_test.exs Reject unknown imported cities from queries (#2675) 4 years ago
conversions_test.exs Turn Revenue Goals into Custom Events if the plan doesn't support them (#3768) 3 years ago
countries_test.exs Props details view (#3196) 3 years ago
current_visitors_test.exs Conditionally support switching between v1 and v2 clickhouse schemas (#2780) 4 years ago
custom_prop_breakdown_test.exs Filtering by multiple custom properties (#3719) 3 years ago
funnels_test.exs Add small build option (#3536) 3 years ago
imported_test.exs Implement UI for multiple imports (#3727) 3 years ago
main_graph_test.exs Fix weekly interval bug (#3686) 3 years ago
operating_systems_test.exs Group `os_version` by `os` (#3806) 3 years ago
pages_test.exs Reapply conversion rate into Stats API + bugfixes (#3805) 3 years ago
regions_test.exs Prevent crashes on ambiguity when casting timezones (#3663) 3 years ago
screen_sizes_test.exs Props details view (#3196) 3 years ago
sources_test.exs Parse referrer filter value when passed separately (#3742) 3 years ago
suggestions_test.exs Filtering by multiple custom properties (#3719) 3 years ago
top_stats_test.exs Query imported data for views_per_visit (#3830) 3 years ago