Skip to content

feat: Reorganize deb action buttons#2047

Merged
ashuntu merged 5 commits intomainfrom
deb-action-buttons
Mar 19, 2026
Merged

feat: Reorganize deb action buttons#2047
ashuntu merged 5 commits intomainfrom
deb-action-buttons

Conversation

@ashuntu
Copy link
Copy Markdown
Collaborator

@ashuntu ashuntu commented Mar 19, 2026

Reorganizes deb action buttons to have more consistent layout and spacing with snap pages. Moves the Uninstall action under the more actions button.

Also fixes an issue where the update button wasn't appearing under the right circumstances.

This should basically be the last of the deb page updates apart from bug fixes that have previously existed.

Before After
image image

UDENG-9432

@ashuntu ashuntu marked this pull request as ready for review March 19, 2026 00:43
if (debModel.activeTransactionId != null) cancelButton,
if (debModel.activeTransactionId != null) ...[
const SizedBox(width: kSpacing),
cancelButton,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not part of your pr, but I've just noticed we aren't clearing the transaction ID when we cancel a deb install, so you get stuck in this state if you cancel an install / cancel the polkit prompt:

Image

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

But this isn't a regression, so wont block your PR on it 🙂

@ashuntu ashuntu force-pushed the deb-action-buttons branch from b7fba00 to b294994 Compare March 19, 2026 15:50
@ashuntu ashuntu merged commit aaec6c2 into main Mar 19, 2026
11 checks passed
@ashuntu ashuntu deleted the deb-action-buttons branch March 19, 2026 16:03
ashuntu added a commit that referenced this pull request Mar 24, 2026
Clears transaction ID when cancelling via the cancel button or when an
error occurs (i.e. authorization fails). This fixes an issue where the
loading icon is always displayed, even when errors happen or the action
is cancelled.

Related
#2047 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants