When date-fns-tz zonedTimeToUtc returns Invalid Date in Firefox,
the unary + operator produces NaN, which gets sent as "NaN" in
query parameters. Routes using z.coerce.number().int() validation
(events/series, event-data/properties) reject NaN as non-integer,
returning 400 errors and showing "Something went wrong".
This fix:
- Falls back to raw date timestamps when timezone conversion
produces NaN in useDateParameters
- Filters out NaN values in getQueryString to prevent invalid
parameters from reaching the server
Fixes#4121
Pages report now concatenates url_path and url_query when rendering
URLs, so pages like /viewtopic.php?t=1 and /viewtopic.php?t=2 are
shown as separate entries instead of collapsing into /viewtopic.php.
Applies to PostgreSQL and ClickHouse queries for path, entry, and
exit page types in both standard and expanded metrics views.
Fixes#4133
The WebsiteSelect component had a hardcoded pageSize of 10, which meant
users with more than 10 websites could not see all of them in the
dropdown. The list container already has maxHeight: 400px with scroll,
so a higher limit doesn't affect the UI.
Fixes#4128
The revenue chart was using the browser's local timezone instead of
the timezone configured in Umami settings. This caused the chart to
show different time boundaries than the stats shown in the header
(total, average, transactions).
The fix mirrors the same pattern used by EventsChart: pass timezone
from useTimezone() into useDateRange() so that parseDateRange()
computes start/end dates relative to the correct timezone.
Fixes#4107
When a user with a valid session visits /login, they now get redirected
to the dashboard (/) instead of seeing the login form. Uses the existing
useLoginQuery hook to verify auth state server-side before rendering.
Fixes#4094