Repository navigation
MoriRemote: sidebar quick filter, left-pinned keyboard dismiss, copy-mode cancel on switch - #106
Merged
Merged
Conversation
…mode cancel on switch - Workspace sidebar gets a bottom quick-filter field (cmd+p style) that narrows projects/sessions/branches/windows by name, title, or path. - Keyboard-dismiss button moves out of the scrollable key row and pins at the bar's far left, so it's always one tap away. - Sidebar window/pane/session switches append 'copy-mode -q' for the target pane: a scrolled pane stays in copy-mode across switches, where digit keys hit tmux's default '(repeat)' command-prompt binding and swallow input. Verified against tmux 3.6a; -q is a no-op outside copy-mode (and requires tmux 3.2+; older tmux errors harmlessly).
- KeyBarButton gains horizontalContentPadding (intrinsicContentSize override) to replace deprecated contentEdgeInsets; geometry is identical for symmetric insets on centered content. - Icon keys set the same image for .highlighted instead of the deprecated adjustsImageWhenHighlighted=false; touchDown styling already owns the pressed look. - Discard resignFirstResponder()'s result explicitly. - Drop redundant awaits in the shell inbound task: the Task inherits the coordinator's MainActor isolation, so isCurrentConnection and feedBytes are plain same-actor calls (MainActor.run was a no-op hop).
Same pattern as the previous commit: Tasks created in @mainactor methods inherit the coordinator's isolation, so these are plain same-actor calls. Verified with a forced recompile (the earlier zero-warning check was a fully cached no-op build and missed these).
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.
What
Three MoriRemote (iOS) UX fixes:
Session quick filter — the workspace sidebar gains a bottom-anchored filter field (cmd+p style). Typing narrows projects, sessions, branches, and windows by name, title, or path; a session-name hit keeps the whole group, otherwise only matching windows are shown. The bar sits at the bottom edge (thumb-reachable) and rides above the keyboard via the safe-area inset. Includes a clear button and a "No matches" state.
Keyboard dismiss pinned left — the dismiss button used to be the last item in the scrollable key row, so putting the keyboard away meant swiping to the far end first. It now lives outside the scroll view, pinned at the bar's far left with a divider, reachable at any scroll position.
No more
(repeat) Nstuck panes — a pane scrolled into tmux copy-mode stays there across window switches; digit keys then hit tmux's default(repeat)command-prompt binding (bind -Tcopy-mode-vi 8 { command-prompt -P -Np'(repeat)' … }) and input is swallowed. Sidebar window/pane/session switches now appendcopy-mode -q -t <target>so the pane is typeable on arrival.Why
copy-mode -qFirst attempt was
if -F '#{pane_in_mode}' "send-keys -X cancel -t …", but testing against tmux 3.6a showedsend-keys -X cancel -t xsilently does nothing (-tafter the key name parses as a key, not a target).copy-mode -qis simpler, verified working in a\;sequence, and is a no-op when the pane isn't in a mode. Requires tmux 3.2+; on older tmux it errors harmlessly after the switch has already happened.Verification
mise run ios:build(iOS Simulator, Debug) passes.tmux -Lserver on tmux 3.6a: exact shell string enters/exits copy-mode as expected, no-op when not in mode.Docs