0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 19:53:47 +08:00
discourse/app/serializers/discourse_version_check_serializer.rb
David Taylor b6dfa40d1e
FEATURE: Improve display of installed/available version on dashboard (#41165)
Before:

<img width="982" height="179" alt="SCR-20260624-lfcu"
src="https://github.com/user-attachments/assets/685ac3b8-e733-4ec8-9be0-72a7ca3bf811"
/>

After:

<img width="971" height="166" alt="SCR-20260624-ldxx"
src="https://github.com/user-attachments/assets/444ea98b-bdf0-49d6-8633-73f1494b6806"
/>

---------

Co-authored-by: chapoi <101828855+chapoi@users.noreply.github.com>
2026-06-24 13:07:05 +01:00

15 lines
402 B
Ruby
Vendored

# frozen_string_literal: true
class DiscourseVersionCheckSerializer < ApplicationSerializer
attributes :latest_version,
:latest_pretty_version,
:latest_sha,
:critical_updates,
:installed_version,
:installed_sha,
:installed_describe,
:missing_versions_count,
:updated_at
self.root = false
end