GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(mobile): add long-press unarchive menu to archived thread rows by sideeffffect · Pull Request #5640 · pingdotgg/t3code

Conversation

@sideeffffect

@sideeffffect sideeffffect commented Aug 7, 2026 •
edited by cursor Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Problem

On Android, archived threads can't be reliably unarchived. The archived-threads screen's rows are the only thread list in the app without a long-press action menu — every other row (home, sidebar) got a ControlPillMenu in the Android support work (#3579), but the archived rows were missed.

That leaves the swipe action as the sole unarchive affordance: swipe a row open, then tap the narrow "Unarchive" button. On Android this is fiddly, and worse — a full swipe on the row triggers Delete, so a slightly-too-far swipe permanently deletes the thread instead of unarchiving it.

The underlying command/decider/projector/reducer path for unarchive is correct and symmetric with archive; this is purely a missing Android-friendly UI affordance.

Fix

Wrap the archived thread row in a ControlPillMenu long-press menu exposing Unarchive and Delete, mirroring the home/sidebar rows:

  • Android — anchors a native dropdown to the row (via the injected onLongPress), giving a dependable, non-swipe way to unarchive.
  • iOS — renders the standard context menu, consistent with the other thread lists.

Swipe actions are left untouched. Also passes resetKey to the row's ThreadSwipeable so recycled LegendList rows reset their swipe state, matching the home/sidebar lists.

Testing

  • tsc --noEmit (mobile) — clean
  • vp check (format + lint) — clean
  • vp test for features/archive + features/home — 38 passed

🤖 Generated with Claude Code


Note

Low Risk
UI-only affordance on the archive screen; reuses existing ControlPillMenu and existing unarchive/delete callbacks with no backend or auth changes.

Overview
Archived threads were the only list rows without long-press actions, so on Android unarchive depended on a narrow swipe button and a full swipe could delete instead.

Archived thread rows are wrapped in ControlPillMenu with shouldOpenOnLongPress, exposing Unarchive and Delete the same way as home/sidebar thread rows (native dropdown on Android, context menu on iOS). Swipe-to-unarchive/delete is unchanged.

ThreadSwipeable also gets a resetKey of environmentId:threadId so recycled LegendList rows don’t keep a stale open swipe state, consistent with other thread lists.

Reviewed by Cursor Bugbot for commit 571cc90. Bugbot is set up for automated code reviews on this repo. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sideeffffect @claude
fix(mobile): add long-press unarchive menu to archived thread rows
571cc90
On Android the only way to unarchive a thread was to swipe a row open and
tap the narrow "Unarchive" action button — a fiddly interaction, and the
archived-threads screen (unlike every other thread list) had no long-press
menu fallback. A full swipe on the row triggers Delete, so a mistimed swipe
permanently removes the thread instead of unarchiving it.

Mirror the home/sidebar rows: wrap the archived row in a ControlPillMenu
long-press menu exposing Unarchive and Delete. On Android this anchors a
native dropdown to the row; on iOS it renders a context menu. Swipe actions
are unchanged. Also pass `resetKey` so recycled LegendList rows reset their
swipe state, matching the other thread lists.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 880c4b79-a573-4f47-94f3-1cbfbd95b73b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Aug 7, 2026
@t3-code-bot

t3-code-bot Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

closing in favor of #5658, the later implementation of the same archived-row unarchive action.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@t3-code-bot t3-code-bot Bot closed this Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@sideeffffect
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.