Skip to content

ui: focus, favourites and the phone's address (0.3.14) - #40

Merged
huxc573 merged 1 commit into
mainfrom
ui-round-two
Oct 17, 2026
Merged

huxc573 merged 1 commit into
mainfrom
ui-round-two

Conversation

@huxc573

@huxc573 huxc573 commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Dark palette unified on the phone's values; real buttons; 46x26 switch; notices themed and auto-dismissing; focused pane lit; 展开 history beside the star on both ends; favourites grouped/renamable/reorderable with a right-click and long-press menu; context menu at the pointer; every shared folder listed after connecting; phone back stack by section; breadcrumbs keep the longest path with a lit current layer and long-press copy; connect card names the peer; display pill and 列数 row per the prototype.

Both ends
- One dark palette: the desktop stops using its own near-black and takes the phone's values.
- QuietButton is `.btn` again — border, fill, hover. 新建文件夹, the ⋮ menu and the phone's
  display-mode choices were plain text sitting where a button belongs.
- The switch is 46×26 and the segmented control matches it; Material's 52×32 sat next to a
  24px control like another design language.
- A notice follows the theme and leaves after four seconds instead of waiting to be clicked.
- Clicking a pane lights it; that is the pane 显示方式 acts on.
- The pane header's icons are tighter, and 展开 (a new button beside the star) lists the paths
  that pane has visited, on both ends.
- A successful handshake now puts **every** shared folder in the remote pane. Opening only the
  first made a machine sharing two folders look like a machine sharing one.

Favourites
- Grouped by 本端 / 远端 and protocol, with named groups, rename and re-group.
- A menu on both ends — right click on the desktop, long press on the phone.
- Order: drag on the desktop after pressing 排序, up/down on the phone. The plus became a sort
  icon and adding a path moved into the menu.
- The rail reads `settingsRevision`, so a favourite written anywhere appears at once.

Desktop
- The context menu opens at the pointer, not in the middle of the window.

Phone
- Back returns to the previous section; it used to jump to 传输 from anywhere.
- Breadcrumbs keep the longest path. Going up leaves the deeper layers on screen, the current
  one lit, every layer tappable, and a long press copies that layer's path — which is what Mix
  does and what the design asked for.
- The connect card names the peer, its folder count, and offers 断开.
- The display pill is the mark and the mode; 列数 only exists where a mode has columns.

Root and Shizuku are still not implemented, and the note says so: both need a backend that
speaks through su or the Shizuku API, and an unverified one would be a control that looks like
it works and cannot read a file.
@huxc573
huxc573 merged commit ee70ad3 into main Oct 17, 2026
3 checks passed
@huxc573
huxc573 deleted the ui-round-two branch October 17, 2026 10:07
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.

1 participant