Skip to content

Show toast "checking for update..." every time user starts manual check#13229

Closed
ghost wants to merge 1 commit intodevfrom
unknown repository
Closed

Show toast "checking for update..." every time user starts manual check#13229
ghost wants to merge 1 commit intodevfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Feb 10, 2026

What is it?

  • Feature (user facing) ⚠️ Your PR must target the refactor branch

Before/After

Before:

bad.mp4

After:

good.mp4

Description of the changes in your PR

Show toast "checking for update..." every time user starts manual check

When user toggles auto updates in settings it will firstly show "check for update..." toast as like if user presses to button of manual check. It adds consistency and allows to reuse manual check in other places of the app

APK testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

When user toggles auto updates in settings it will firstly show
"check for update..." toast as like if user presses to button of
manual check. It adds consistency and allows to reuse manual check
in other places of the app
@github-actions github-actions Bot added the size/small PRs with less than 50 changed lines label Feb 10, 2026
@ghost ghost marked this pull request as ready for review February 10, 2026 20:46
@ShareASmile ShareASmile added the feature request Issue is related to a feature in the app label Feb 10, 2026
@ghost
Copy link
Copy Markdown
Author

ghost commented Feb 10, 2026

@ShareASmile one more question did you approve this PR when it was marked as ready for review immediately or in the moment you added label?

@ShareASmile
Copy link
Copy Markdown
Collaborator

No, I didn't approve it, only added labels. Otherwise github might have shown it in the events of this PR.

@ghost
Copy link
Copy Markdown
Author

ghost commented Feb 10, 2026

No, I didn't approve it, only added labels. Otherwise github might have shown it in the events of this PR.

I meant CI approval, sorry for disambiguation

@ghost
Copy link
Copy Markdown
Author

ghost commented Feb 10, 2026

@TobiGr you did approve CI initially right?

@theimpulson
Copy link
Copy Markdown
Member

Why is the current implementation an issue? Also, please don't put UI related code outside of UI logic such as background workers and services.

@ghost ghost mentioned this pull request Feb 11, 2026
4 tasks
@ghost
Copy link
Copy Markdown
Author

ghost commented Feb 11, 2026

Why is the current implementation an issue?

  1. I updated the description (added videos)
  2. It is necessary for Add button for checking updates to error screen #13235 but itself is very standalone

Also, please don't put UI related code outside of UI logic such as background workers and services.

Very fair but current implementation already creates toast from there so I though, why not. Though I already have some ideas how to do it better... Much better

@ghost
Copy link
Copy Markdown
Author

ghost commented Feb 12, 2026

Read docs about WorkManager so I close it as there is a way to do it better

@ghost ghost closed this Feb 12, 2026
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature request Issue is related to a feature in the app size/small PRs with less than 50 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants