analytics/test/support
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
2024-02-28 09:34:04 +01:00
..
conn_case.ex Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00
data_case.ex Google APIs integration improvements (#2358) 2022-10-24 09:34:02 +02:00
exchange_rate_mock.ex Revenue tracking: Add currency field to goal creation (#2948) 2023-05-23 12:08:09 +02:00
factory.ex Implement UI for multiple imports (#3727) 2024-02-28 09:34:04 +01:00
google_api_mock.ex Referrer drilldown (#252) 2020-07-30 11:18:28 +03:00
html.ex Add small build option (#3536) 2023-11-20 12:52:20 +01:00
http_mocker.ex Upgrade Erlang/Elixir stack (#3454) 2023-10-24 10:33:48 +02:00
paddle_api_mock.ex Fix upgrade page for legacy trials + bug fixes (#3486) 2023-11-06 14:01:55 +00:00
plugins_api_case.ex Merge Plugins.API.Router into main one (#3767) 2024-02-12 10:44:32 +01:00
test_utils.ex Add multiple imports per site (#3724) 2024-02-14 09:32:36 +01:00