Add a resizable Glance launcher widget - #6186
Open
eliotcougar wants to merge 7 commits into
Open
eliotcougar wants to merge 7 commits into
eliotcougar wants to merge 7 commits into
Conversation
eliotcougar
marked this pull request as ready for review
September 4, 2026 15:11
2dust
reviewed
Sep 5, 2026
Owner
|
非常感谢 |
Contributor
Author
It has only the most used additional actions when it is in 3x1, 4x1 sizes: Test current connection and restart service. It is also part of Compose migration as it uses Compose Glance. |
Lower the minimum width and responsive action breakpoints for five-column Pixel layouts. Tighten connection text metrics and remove trailing padding while retaining button touch targets.
Align all widget receivers, actions and rendering services with upstream :daemon so they continue observing the same in-process connection state. Keep the separate :tasks services unchanged, and retain widget labels and shortcut task affinity. Validated Play Store debug compilation, merged manifest processing and JVM tests after rebasing onto upstream 2.3.8.
eliotcougar
force-pushed
the
codex/launcher-widget
branch
from
September 10, 2026 09:37
72cafa4 to
05075ef
Compare
Owner
|
暂时不接受这么多功能的 widget |
Contributor
Author
How much less functions do you want in a widget? How about this: Remove test and restart service buttons entirely. |
eliotcougar
marked this pull request as draft
September 11, 2026 14:35
Use one horizontal layout at every wider size, retain the compact V tile, and show an orange or grey service indicator. Remove obsolete test/restart controls, status formatting, font metrics and localized status strings.
Contributor
Author
|
The widget is now very simple. |
eliotcougar
marked this pull request as ready for review
September 11, 2026 15:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replace the fixed legacy launcher switch with a horizontally resizable AndroidX Glance widget, using the main screen's server-row styling. Following review feedback, keep it focused on the selected server and service start/stop.
Behavior
Implementation and cleanup
Validation
:app:compilePlaystoreDebugKotlin,:app:assemblePlaystoreRelease, andgit diff --check.