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
Robert Joonas 2054d50d29 Return graph_metric key from Top Stats API
This commit introduces no behavioral changes - only starts returning an
additional field, allowing us to avoid the following logic in React:

1. Finding the metric names, given a stat display name. E.g.
   `Unique visitors (last 30 min) -> visitors`

2. Checking if a metric is graphable or not
3 years ago
..
authorization_test.exs Google APIs integration improvements (#2358) 4 years ago
browsers_test.exs Tests: session properties without the prefixes (#3863) 3 years ago
cities_test.exs Tests: session properties without the prefixes (#3863) 3 years ago
conversions_test.exs Re-apply Move conversion_rate logic from elixir to clickhouse (#3924) 3 years ago
countries_test.exs Tests: session properties without the prefixes (#3863) 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 Move `add_percentage` logic into clickhouse (#3854) 3 years ago
funnels_test.exs Tests: session properties without the prefixes (#3863) 3 years ago
imported_test.exs Improve import stats toggle and `with_imported` flag computation (#3960) 3 years ago
main_graph_test.exs Improve import stats toggle and `with_imported` flag computation (#3960) 3 years ago
operating_systems_test.exs Tests: session properties without the prefixes (#3863) 3 years ago
pages_test.exs Filter by hostnames (#3963) 3 years ago
regions_test.exs Tests: session properties without the prefixes (#3863) 3 years ago
screen_sizes_test.exs Fix broken tests (#3867) 3 years ago
sources_test.exs Filter by hostnames (#3963) 3 years ago
suggestions_test.exs Filter by hostnames (#3963) 3 years ago
top_stats_test.exs Return graph_metric key from Top Stats API 3 years ago