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 — feat(mobile): guided reviews for pull requests by juliusmarminge · Pull Request #18267 · pingdotgg/t3code

feat(mobile): guided reviews for pull requests #18267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
juliusmarminge merged 19 commits into t3/plan-mobile-pull-request-flow from t3/mobile-guided-reviews
Oct 11, 2026

Uh oh!

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

Merged

feat(mobile): guided reviews for pull requests #18267

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
7fb927f
feat(mobile): guided reviews for pull requests
juliusmarminge Oct 11, 2026
9065e46
feat(mobile): put review guides in PR tabs
juliusmarminge Oct 11, 2026
b1cf98f
style(mobile): give review guides a reading hierarchy
juliusmarminge Oct 11, 2026
26592f5
fix(mobile): connect guide excerpts to focused review diffs
juliusmarminge Oct 11, 2026
247d685
fix(mobile): simplify guide diff chrome and focus styling
juliusmarminge Oct 11, 2026
e8e7ba9
fix(mobile): retain scroll state across pull request tabs
juliusmarminge Oct 11, 2026
6748177
feat(mobile): expose word wrap in pull request guides and diffs
juliusmarminge Oct 11, 2026
2864472
fix(mobile): prevent refresh gaps in guide excerpts
juliusmarminge Oct 11, 2026
4763501
fix(mobile): let guide pages scroll over code excerpts
juliusmarminge Oct 11, 2026
3fd9654
style(mobile): remove guide step progress bar
juliusmarminge Oct 11, 2026
bc9719b
style(mobile): put guide before activity in PR tabs
juliusmarminge Oct 11, 2026
1efb0e8
feat(mobile): animate pull request sections and file rows
juliusmarminge Oct 11, 2026
7e30c30
fix(mobile): avoid competing description layout animations
juliusmarminge Oct 11, 2026
618d850
fix(mobile): move description with expanding status rows
juliusmarminge Oct 11, 2026
004defa
style(mobile): format native diff metrics event
juliusmarminge Oct 11, 2026
fd080e9
fix(mobile): refresh guides and preserve incomplete discussions
juliusmarminge Oct 11, 2026
8c6e9ab
feat(mobile): move wide iPad workspace tabs into the sidebar
juliusmarminge Oct 11, 2026
ead2f0c
fix(mobile): synchronize sidebar and native tab selection
juliusmarminge Oct 11, 2026
17cfee6
fix(mobile): label the workspace tab Threads
juliusmarminge Oct 11, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

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

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

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

Diff view
Diff view
Prev Previous commit
Next Next commit
style(mobile): give review guides a reading hierarchy
  • Loading branch information

Uh oh!

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

@juliusmarminge
juliusmarminge committed Oct 11, 2026
commit b1cf98f8163d8a43aeddf6600a2dab9dbaf5d07a

There are no files selected for viewing

117 changes: 71 additions & 46 deletions 117 apps/mobile/src/features/pull-requests/PullRequestActivityFilters.tsx
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Pressable, View } from "react-native";
import { AppText as Text } from "../../components/AppText";
import { SymbolView } from "../../components/AppSymbol";
import { ListFilterMenu } from "../workspace/ListFilterMenu";
import { ControlPillMenu } from "../../components/ControlPillMenu";
import type { ActivityFilter } from "./pullRequestActivityFilter";

export function PullRequestActivityFilters({
Expand All @@ -13,54 +13,79 @@ export function PullRequestActivityFilters({
readonly onChange: (value: ActivityFilter) => void;
readonly hiddenCount: number;
}) {
const kinds = [
{ id: "all", title: "All activity" },
{ id: "comments", title: "Comments" },
{ id: "commits", title: "Commits" },
] as const;
return (
<View className="mb-3 flex-row items-center justify-between gap-2">
<ListFilterMenu
label={hiddenCount ? `${hiddenCount} hidden` : "Filter"}
accessibilityLabel="Filter activity"
icon
actions={[
{
id: "kind",
title: "Activity",
subactions: [
{ id: "all", title: "All activity", state: value.kind === "all" ? "on" : "off" },
{
id: "comments",
title: "Comments only",
state: value.kind === "comments" ? "on" : "off",
},
{
id: "commits",
title: "Commits only",
state: value.kind === "commits" ? "on" : "off",
},
],
},
{ id: "bots", title: "Bot comments", state: value.bots ? "on" : "off" },
{ id: "resolved", title: "Resolved or dismissed", state: value.resolved ? "on" : "off" },
]}
onSelect={(id) => {
if (id === "all" || id === "comments" || id === "commits")
onChange({ ...value, kind: id });
else if (id === "bots" || id === "resolved") onChange({ ...value, [id]: !value[id] });
<View className="mb-4 flex-row items-center justify-between gap-3">
<ControlPillMenu
title="Activity"
actions={kinds.map((kind) => ({ ...kind, state: value.kind === kind.id ? "on" : "off" }))}
onPressAction={({ nativeEvent }) => {
const kind = kinds.find((item) => item.id === nativeEvent.event);
if (kind) onChange({ ...value, kind: kind.id });
}}
/>
<Pressable
accessibilityRole="button"
accessibilityLabel={value.newestFirst ? "Newest first" : "Oldest first"}
onPress={() => onChange({ ...value, newestFirst: !value.newestFirst })}
className="min-h-11 flex-row items-center gap-1.5 active:opacity-70"
>
<SymbolView
name={value.newestFirst ? "arrow.down" : "arrow.up"}
size={12}
tintColorClassName="accent-icon-muted"
/>
<Text className="text-xs text-foreground-muted">
{value.newestFirst ? "Newest first" : "Oldest first"}
</Text>
</Pressable>
<Pressable
accessibilityRole="button"
accessibilityLabel={`Activity type, ${kinds.find((kind) => kind.id === value.kind)?.title}`}
className="min-h-11 flex-row items-center gap-2 active:opacity-60"
>
<Text className="text-sm font-t3-semibold">
{kinds.find((kind) => kind.id === value.kind)?.title}
</Text>
<SymbolView name="chevron.down" size={11} tintColorClassName="accent-icon-muted" />
</Pressable>
</ControlPillMenu>
<View className="flex-row items-center gap-3">
<ControlPillMenu
title="Show in activity"
actions={[
{ id: "bots", title: "Bot comments", state: value.bots ? "on" : "off" },
{
id: "resolved",
title: "Resolved or dismissed",
state: value.resolved ? "on" : "off",
},
]}
onPressAction={({ nativeEvent: { event } }) => {
if (event === "bots" || event === "resolved")
onChange({ ...value, [event]: !value[event] });
}}
>
<Pressable
accessibilityRole="button"
accessibilityLabel={`Filter activity, ${hiddenCount} hidden`}
className="min-h-11 flex-row items-center gap-1.5 active:opacity-60"
>
{hiddenCount > 0 ? (
<Text className="text-xs text-foreground-muted">{hiddenCount} hidden</Text>
) : null}
<SymbolView
name="line.3.horizontal.decrease"
size={18}
tintColorClassName="accent-icon-muted"
/>
</Pressable>
</ControlPillMenu>
<Pressable
accessibilityRole="button"
accessibilityLabel={value.newestFirst ? "Newest first" : "Oldest first"}
onPress={() => onChange({ ...value, newestFirst: !value.newestFirst })}
className="h-11 flex-row items-center gap-1 active:opacity-60"
>
<SymbolView
name={value.newestFirst ? "arrow.down" : "arrow.up"}
size={18}
tintColorClassName="accent-icon-muted"
/>
<Text className="text-xs text-foreground-muted">
{value.newestFirst ? "Newest" : "Oldest"}
</Text>
</Pressable>
</View>
</View>
);
}
94 changes: 94 additions & 0 deletions 94 apps/mobile/src/features/pull-requests/guide/GuideOutline.tsx
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
import type { PullRequestReviewGuide } from "@t3tools/contracts";
import { stopFilePaths } from "@t3tools/client-runtime/review-guide-tour";
import { Pressable, View } from "react-native";
import { AppText as Text } from "../../../components/AppText";
import { SymbolView } from "../../../components/AppSymbol";
import { ControlPillMenu } from "../../../components/ControlPillMenu";

/** The stops are a reading sequence, with file context kept beside each idea. */
export function GuideOutline({
guide,
onOpen,
onRewrite,
}: {
readonly guide: PullRequestReviewGuide;
readonly onOpen: (position: number) => void;
readonly onRewrite?: () => void;
}) {
const files = new Set(guide.stops.flatMap(stopFilePaths));
return (
<View>
<View className="mb-5 flex-row items-center justify-between">
<View className="flex-row items-baseline gap-2">
<Text className="text-base font-t3-semibold">{guide.stops.length} stops</Text>
<Text className="text-sm text-foreground-muted">
through {files.size} {files.size === 1 ? "file" : "files"}
</Text>
</View>
{onRewrite ? (
<ControlPillMenu
title="Guide options"
actions={[{ id: "rewrite", title: "Rewrite guide", image: "arrow.clockwise" }]}
onPressAction={() => onRewrite()}
>
<Pressable
accessibilityRole="button"
accessibilityLabel="Guide options"
className="h-11 w-11 items-center justify-center rounded-full active:bg-grouped-card"
>
<SymbolView name="ellipsis" size={20} tintColorClassName="accent-icon-muted" />
</Pressable>
</ControlPillMenu>
) : null}
</View>
{guide.stops.map((stop, position) => {
const paths = stopFilePaths(stop);
const firstPath = paths[0];
const filename = firstPath?.split("/").at(-1);
return (
<Pressable
key={`${guide.headSha}:${JSON.stringify(stop)}`}
accessibilityRole="button"
accessibilityLabel={`Stop ${position + 1}: ${stop.title}`}
onPress={() => onOpen(position)}
className="flex-row gap-4 active:opacity-60"
>
<View className="w-8 items-center">
<View className="h-8 w-8 items-center justify-center rounded-full border border-border bg-grouped-card">
<Text className="text-sm font-t3-medium tabular-nums">{position + 1}</Text>
</View>
{position < guide.stops.length - 1 ? (
<View className="min-h-5 w-px flex-1 bg-border-subtle" />
) : null}
</View>
<View className="min-w-0 flex-1 gap-2 pb-7 pt-0.5">
<Text className="text-base leading-6 font-t3-medium">{stop.title}</Text>
<View className="flex-row items-center gap-1.5">
{stop.attention ? (
<SymbolView name="eye" size={14} tintColorClassName="accent-warning-foreground" />
) : null}
<Text className="shrink text-xs text-foreground-muted" numberOfLines={1}>
{filename ?? "Context"}
{paths.length > 1 ? ` +${paths.length - 1}` : ""}
</Text>
</View>
</View>
<View className="pt-2">
<SymbolView name="chevron.right" size={12} tintColorClassName="accent-icon-muted" />
</View>
</Pressable>
);
})}
{guide.stops.length ? (
<Pressable
accessibilityRole="button"
onPress={() => onOpen(0)}
className="min-h-11 flex-row items-center justify-end gap-2 active:opacity-60"
>
<Text className="text-sm font-t3-medium">Start tour</Text>
<SymbolView name="arrow.right" size={17} tintColorClassName="accent-foreground" />
</Pressable>
) : null}
</View>
);
}
Loading
Oops, something went wrong.

Uh oh!

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

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 01402792 — 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.