Skip to content

Overhaul Update page & consistent donation card

Oliver Beard requested to merge work/olib/update-preview into master

Commits

Add dynamic release announcement preview to update page
  • The announcement title and description are parsed from the announcement page when the user consents to make the network request, or has opted-in to do so automatically. Automatic fetching is not done on a metered network, and can be retried in the event of a network failure.
    • This includes animations for when the content is loaded in, and between different states. humanMoment is used to delay the display of the loading progress (which should be instantaneous for such a small GET request) and to delay retry on failure in order to provide feedback (as again, the request will likely fail instantly).
  • For the kde.org site, we know how to get and insert the language code for it to try, and it will fallback to English if not available.
  • The beta/release update pages are now the same, both showing a preview of the announcement. As on the previous beta page, we show the spinning gear on the logo, have a different description and an additional bug report link. Instead of checking the patch version in QML, API has been added to Release for checking if this is a beta or development version to change behaviour or display.
Enjoy & Update: Use new common card for contributions with unified text
  • This makes things more consistent and uses our improved text for the Enjoy page that was not duplicated on the release update page.
FooterUpdate: Shorten switch label to avoid elision
  • The current string will cause the label to elide at the minimum window width, so let's use a more concise shorter variant.
Main: Fix MouseArea overriding LinkButton cursor shape

Comparison & Video

State Enjoy Update Update (beta)
Before image image image
After image image image

Screencast_20250124_191206

Edited by Oliver Beard

Merge request reports

Loading