5
166
Fork
You've already forked Gitte
16

Leverage "What's New" button for AppData metadata changelog / release news #62

Open
opened 2026年05月13日 07:01:39 +02:00 by nekohayo · 4 comments

At least with version 0.2.0 (as 0.3.0 hasn't hit Flathub yet!), this app doesn't show a "What's New" page button in its About dialog. LibAdwaita offers a convenience function for this, to show the app's release notes: https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/property.AboutDialog.release-notes.html (apps that already implement this include: Shortwave, Showtime, GNOME Calendar, Papers, GNOME System Monitor, Decibels, Warp, etc.)

I think it would be quite useful to have here given the rapid pace of development, and because I can't find a NEWS / ChangeLog file here, and there are no notes entries on releases in https://codeberg.org/ckruse/Gitte/tags ...


P.S.: I noticed that the "Website" button in the About dialog is hidden as the single entry within the "Details" button's page (whereas other apps usually have it top-level), is that intentional?

At least with version 0.2.0 (as 0.3.0 hasn't hit Flathub yet!), this app doesn't show a "What's New" page button in its About dialog. LibAdwaita offers a convenience function for this, to show the app's release notes: https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/property.AboutDialog.release-notes.html (apps that already implement this include: Shortwave, Showtime, GNOME Calendar, Papers, GNOME System Monitor, Decibels, Warp, etc.) I think it would be quite useful to have here given the rapid pace of development, and because I can't find a NEWS / ChangeLog file here, and there are no notes entries on releases in https://codeberg.org/ckruse/Gitte/tags ... --- P.S.: I noticed that the "Website" button in the About dialog is hidden as the single entry within the "Details" button's page (whereas other apps usually have it top-level), is that intentional?

oh! I didn't know that libadwaita would've me covered. I wrote my own What's New feature for 0.3.0: Screenshot From 2026年05月13日 07-03-36

Does it work with Non-Flatpak builds as well? I have to check.

Regarding the website link: I think this is just how Libadwaita does that. You set .website("url") and Libadwaita puts it into the details section.

oh! I didn't know that libadwaita would've me covered. I wrote my own What's New feature for 0.3.0: ![Screenshot From 2026年05月13日 07-03-36](/attachments/23b80ae8-261a-4a68-ab1b-497cd45c654b) Does it work with Non-Flatpak builds as well? I have to check. Regarding the website link: I think this is just how Libadwaita does that. You set `.website("url")` and Libadwaita puts it into the details section.

If I remember correctly, libadwaita even allows you to be lazier and tell it "here's the appdata file, figure out everything from it for the About dialog" rather than setting properties one at a time, I think!

If I remember correctly, libadwaita even allows you to be lazier and tell it "here's the appdata file, figure out everything from it for the About dialog" rather than setting properties one at a time, I think!

You are right, there is https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.7/ctor.AboutDialog.new_from_appdata.html

The builder template did it this way, and I never checked. Nice, will dig deeper into this for 0.4.0. Thank you for the pointer! :-)

You are right, there is <https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.7/ctor.AboutDialog.new_from_appdata.html> The builder template did it this way, and I never checked. Nice, will dig deeper into this for 0.4.0. Thank you for the pointer! :-)

PS: 0.3.0 will be submitted to Flathub as soon as the macOS builds are ready

PS: 0.3.0 will be submitted to Flathub as soon as the macOS builds are ready
Sign in to join this conversation.
No Branch/Tag specified
main
next
0.8.1
0.8.0
0.7.2
0.7.1
0.7.0
0.6.1
0.6.0
0.5.0
0.4.1
0.4.0
0.3.0
0.2.0
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ckruse/Gitte#62
Reference in a new issue
ckruse/Gitte
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?