discourse/app
Osama Sayegh 91c674f0bc
FIX: Prevent 'NaN' display by hiding visitor stats on /about until they're ready (#29334)
The visitor stats on the /about page were previously showing as `NaN` immediately after enabling the `display_eu_visitor_stats` site setting because the stats for the /about page are cached and updated once every 30 minutes in a sidekiq job. The `NaN` would go away upon the next run of the relevant sidekiq job, but it's not good UX to display a cryptic `NaN` until the job runs. So, this commit ensures that the visitor stats is not displayed at all until the visitor stats is calculated and available.

Internal topic: t/128480.
2024-10-22 19:29:44 +03:00
..
assets FIX: Prevent 'NaN' display by hiding visitor stats on /about until they're ready (#29334) 2024-10-22 19:29:44 +03:00
controllers DEV: Stop injecting a service result object in the caller object 2024-10-22 16:58:54 +02:00
helpers DEV: Drop WithServiceHelper 2024-09-05 09:58:20 +02:00
jobs DEV: Remove logical OR assignment of constants (#29201) 2024-10-16 10:09:07 +08:00
mailers UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
models FIX: Avoid duplicate problem admin notices (#29329) 2024-10-22 11:17:27 +08:00
serializers FEATURE: auto_action_type field for flags (#29306) 2024-10-22 10:56:31 +11:00
services DEV: Stop injecting a service result object in the caller object 2024-10-22 16:58:54 +02:00
views DEV: remap all core icons for fontawesome 6 upgrade (#28715) 2024-09-13 16:50:52 +01:00