Skip to content

Upgrade OX Arcade navigation, Mobile Project Hub, search, and instant New thread - #426

Open
n0rpan wants to merge 5 commits into
mainfrom
feat/arcade-find-and-jump
Open

n0rpan wants to merge 5 commits into
mainfrom
feat/arcade-find-and-jump

Conversation

@n0rpan

@n0rpan n0rpan commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Improves discoverability, navigation speed, and default-agent New Thread flow across OX Desktop and OX Mobile while keeping the 80s OX Arcade visual grammar ("the cabinet is pixel, the screen is clean").

OX Desktop (desktop/ox-desktop)

  • Grouped Command Cabinet (⌘K): Adds clickable dim backdrop dismiss, OX Arcade section headers (NEEDS YOU, THREADS, PROJECTS, SETTINGS, COMMANDS), best-match section ordering on non-empty queries, per-section capping on empty queries, direct jumps to Settings pages (Accounts, Hosts, Remote access, Providers & models, API keys, Starred models, Appearance & input, Notifications, Sessions, New threads, Memory, Advanced configuration), view toggles (Toggle sidebar, Toggle Changes & plan, Find in transcript, Choose model / harness), thread actions (Rename thread auto-revealing sidebar, Archive thread), and is:waiting / is:running support.
  • Sidebar search, filter chips & clickable LIVE SESSIONS: Upgrades sidebar search to multi-word matching, surfaces inline OX Arcade status filter chips (All, Live, Needs you, Pinned) with stable pre-filter counts and a clear × button, adds a padded empty state with Reset filters, makes LIVE SESSIONS rows directly clickable to open the exact thread, and fixes end_all_idle() to use &self.link on remote hosts instead of HostLink::Local.
  • Default-agent instant New thread: standard_thread_route starts a fresh draft on the standard worker-capable route (host default → in-use/last standard route → first offered route) so users can type immediately and switch harness in 1 click inside the draft.
  • Transcript Find (⌘F): Adds Esc to close (restoring prior focus only on the active thread), framed OX Arcade Find bar, and match highlights across both Row::Message and Row::Tools.

OX Mobile (desktop/ox-mobile)

  • Thread-first Project Hub (Screen::Project): Tapping any defined project (1-folder or multi-folder) now opens a Project Hub showing NEEDS YOU, LIVE, and RECENT threads right away (keeping live catalog subscription active on Screen::Project and tracking OpenOrigin::{Home, Activity, Project} cleanly), a primary_keycap + New thread CTA that opens directly into the composer on the standard/default route alongside a 1-tap route chip, a consistent Settings toggle (Back closes Settings before leaving Hub).
  • Fixed Screen::Routes Back stack & conversation_back: Remembers the origin screen when pushing Screen::Routes from Model, Sessions, Project, or Conversation instead of unconditionally returning to Home.
  • Activity & Transcript Find: Matches defined project display names and harness/route labels in Activity search; upgrades transcript_find to search CommandExecution, FileChange, ToolCall/McpToolCall, and WebSearch (returning every matching item inside Row::Tools), highlights jumped matches in Conversation, and adds a dismissible ↑ Older / ↓ Newer match stepper bar.

Verification

  • Reconciled with main at bf4735c4dbf98c966727d2436c5d83bae51aa68b, including the conversation model, effort and speed controls. Desktop window verification and local checks.
  • Checked against main at 545fc974 (and confirmed clean zero-conflict merge alongside the companion Settings and Conversation Craft PRs on 373f8c9a).
  • cargo fmt --manifest-path desktop/Cargo.toml --all -- --check — pass
  • cargo clippy --manifest-path desktop/Cargo.toml -p ox-desktop -p ox-mobile --locked --all-targets --no-deps -- -D warnings — pass
  • cargo test --manifest-path desktop/Cargo.toml -p ox-desktop -p ox-mobile --locked — pass
  • Cross-compiled ox-mobile on Linux build host (n0rpan) with cargo check --target aarch64-apple-ios, aarch64-linux-android (dev), and aarch64-linux-android --release — pass with zero new warnings.

Not verified locally

  • Interactive iOS simulator / Android emulator / physical device tap walkthroughs and packaged desktop binaries. The local sidebar check used the Linux development binary.

@n0rpan

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

/queue d8777fa

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T23:55:04.091174Z 5a6653d Draft marked ready
🔒 Security Review ✅ Completed 2026-12-03T23:54:35.524533Z 5a6653d Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@n0rpan

n0rpan commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator Author

Not in line to merge yet: waiting for required checks on 5a6653d. CI completion updates this comment.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d8777fa2a3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread desktop/ox-mobile/src/mobile.rs Resolved

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

Desktop sidebar overlap with #410: this branch counts Needs you matches while #410 also keeps an idle lead visible as an anchor. A useful combined check is a collapsed idle lead with one waiting worker: the chip should say 1, and selecting it should reveal the worker under the lead. Clearing the ask should clear the count without a catalog refresh.

@n0rpan

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

/queue 64481ab

@n0rpan

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

@codex security review

Asked for by the maintainer’s queue request, for commit 64481ab.

@n0rpan
n0rpan marked this pull request as draft December 3, 2026 21:40
@n0rpan
n0rpan marked this pull request as ready for review December 3, 2026 21:40

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 64481ab084

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread desktop/ox-mobile/src/mobile.rs Resolved
Comment on lines +10018 to +10020
self.list.scroll_to(gpui::ListOffset {
item_ix: index,
offset_in_item: px(0.),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Scroll to the matching tool within a grouped transcript row

When multiple matching tools belong to one Row::Tools, row_index() returns the same index for every tool, so Older/Newer repeatedly scrolls to the beginning of the group. Mobile renders all tools in that row as a vertical column, and the new highlight surrounds the entire group rather than the selected tool. For groups taller than the viewport, a later matching tool therefore stays offscreen and stepping between results produces no visible change except the counter. Target the selected tool's position and highlight within the group, or expose tools as individually addressable list rows.

Useful? React with 👍 / 👎.

@n0rpan
n0rpan removed this pull request from the merge queue due to a manual request Dec 3, 2026
@n0rpan
n0rpan deployed to auto-queue December 3, 2026 23:45 — with GitHub Actions Active
@n0rpan
n0rpan deployed to auto-queue December 3, 2026 23:45 — with GitHub Actions Active
@n0rpan

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

I reproduced the stale Desktop count from the overlap request in a Linux OX Desktop window. With an idle lead collapsed and one worker asking for approval, the chip said Needs you 1 and revealed the worker when clicked. Allow once sent the decision for that worker. When the fixture returned an empty ask list on the open session stream, the approval sheet cleared but the cached chip still said 1.

Commit 0624fd7 updates the catalog revision when the threads with pending requests change. I repeated the same clicks on the fixed #426 binary and on a separate build of the reconciled candidate 599fe8a2 with just this revision change applied. Both cleared to Needs you 0 and removed the worker from the filtered results on the ask delta alone. In the combined build the filtered results also showed the idle lead above the worker. The host fixture sent no session-row delta or catalog refresh after the decision. The #410 branch is unchanged.

Local checks passed against main at bf4735c, including root and Desktop workspace formatting, Clippy, 830 root tests, 945 core/Desktop/mobile tests, install-script checks and 108 CI-script tests. The root launcher suite ran with the optional system Antigravity executable outside PATH to exercise its stock-client-only fixture. On the previous head the advisory stock-client latest job reported an unexpected positional argument, ox. Job log

@n0rpan

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

/queue 0624fd7

@n0rpan

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

@codex security review

Asked for by the maintainer’s queue request, for commit 0624fd7.

@n0rpan
n0rpan marked this pull request as draft December 3, 2026 23:45
@n0rpan
n0rpan marked this pull request as ready for review December 3, 2026 23:45
@n0rpan
n0rpan deployed to auto-queue December 3, 2026 23:45 — with GitHub Actions Active

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0624fd71e3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread desktop/ox-desktop/src/preferences.rs Resolved
@n0rpan
n0rpan deployed to auto-queue December 3, 2026 23:52 — with GitHub Actions Active
@n0rpan

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

/queue 5a6653d

@n0rpan

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

@codex security review

Asked for by the maintainer’s queue request, for commit 5a6653d.

@n0rpan
n0rpan marked this pull request as draft December 3, 2026 23:52
@n0rpan
n0rpan marked this pull request as ready for review December 3, 2026 23:52
@n0rpan
n0rpan deployed to auto-queue December 3, 2026 23:52 — with GitHub Actions Active

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5a6653dbfb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +1098 to +1099
if thread_matched
&& self.panes.iter().any(|p| {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep search pagination available when the visible page is empty

If the first search page contains only threads hidden by sidebar metadata, those rows are discarded before thread_matched is computed. This condition then suppresses “More matching threads” even when palette_has_more() reports another page containing potentially visible results. Target::More is the palette's only path to palette_more(), so users cannot reach those older matches. Base pagination availability on the search cursor rather than requiring an already-visible thread match.

Useful? React with 👍 / 👎.

This branch was successfully deployed

1 active deployment
auto-queue — 5a6653db Deployed Dec 3, 2026 by n0rpan via Queue when green and reviewed #8580
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