Skip to content

Rework Add-ons dialog#1342

Merged
kolunmi merged 7 commits intobazaar-org:mainfrom
AlexanderVanhee:addons-rework-2
Apr 9, 2026
Merged

Rework Add-ons dialog#1342
kolunmi merged 7 commits intobazaar-org:mainfrom
AlexanderVanhee:addons-rework-2

Conversation

@AlexanderVanhee
Copy link
Copy Markdown
Collaborator

Revamps add-on systems, by improving the add-on dialog and putting them in entry groups.

The add-on dialog now has like a mini version of the full view, which is designed around the metadata that these add-ons provide. It also fixes the issue where you would have a half-empty add-ons dialog when only one add-on is available (quite common) for a specific app, as we can now just show the new full-view.

Opening the appstream:addon-id URL will also show the dialog with the new full view, making it possible to link users to an add-on from within another application (or even from the Flathub site).

Add-ons are now also put in entry groups, so it should now be possible to install from multiple remotes like with normal apps. It also makes display filters work and allows add-ons to be marked EOL. Only consumed properties are actually put in these groups to save some ram.

Screenshot From 2026-04-05 14-04-49 Screenshot From 2026-04-05 14-05-05 Screenshot From 2026-04-05 14-10-53

@AlexanderVanhee AlexanderVanhee self-assigned this Apr 5, 2026
@AlexanderVanhee AlexanderVanhee added the enhancement New feature or request label Apr 5, 2026
@kolunmi
Copy link
Copy Markdown
Collaborator

kolunmi commented Apr 5, 2026

Awesome, will take a look in a sec!!!

Addon group IDs were dropped the first time addons came in because they came before applications, only getting saved the second time when the initial cache got replaced and entry groups for apps already existed
@kolunmi
Copy link
Copy Markdown
Collaborator

kolunmi commented Apr 9, 2026

looks good now except please correct the code to follow the style rules. I want bz-application.c to stay nice

static functions need to be declared at the top of the file

@AlexanderVanhee AlexanderVanhee requested a review from kolunmi as a code owner April 9, 2026 08:49
@AlexanderVanhee
Copy link
Copy Markdown
Collaborator Author

AlexanderVanhee commented Apr 9, 2026

OK, I fixed the style issues I saw.

@kolunmi
Copy link
Copy Markdown
Collaborator

kolunmi commented Apr 9, 2026

Thanks!

@kolunmi kolunmi merged commit 57e06d9 into bazaar-org:main Apr 9, 2026
2 checks passed
src/bz-content-provider.c
src/bz-context-tile.blp
src/bz-context-tile.c
src/bz-context-tile-callbacks.blp
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AlexanderVanhee This file does not exist.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed as part of #1367.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants