FEATURE: Always show full page "New Features" to admins (#28383)

We used to show New Features in a tab on the dashboard,
but this could get pushed down the page especially on
our hosting. In 043117ca13
we made a separate What's New page, so this commit removes
the dashboard tab and changes the admin notification to
send the admin to /admin/whats-new instead of the dashboard
tab.
This commit is contained in:
Martin Brennan
2024-08-16 09:12:24 +10:00
committed by GitHub
parent 43abc219d1
commit 3e5976f843
14 changed files with 18 additions and 61 deletions

View File

@ -7,7 +7,6 @@ class Admin::DashboardController < Admin::StaffController
if SiteSetting.version_checks?
data.merge!(version_check: DiscourseUpdates.check_version.as_json)
end
data.merge!(has_unseen_features: DiscourseUpdates.has_unseen_features?(current_user.id))
render json: data
end