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 — chore(release): sync upstream main for RTVision 0.0.58 by kalvenschraut · Pull Request #60 · RTVision/t3code

chore(release): sync upstream main for RTVision 0.0.58 #60

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
kalvenschraut merged 24 commits into rtvision from sync/upstream-rtvision-0.0.58
Sep 22, 2026

Uh oh!

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

Merged

chore(release): sync upstream main for RTVision 0.0.58 #60

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
371b52d
feat(web): answer pull request actions on the row at once (#12843)
maria-rcks Sep 21, 2026
33cb911
fix(mobile): stop iOS autocorrect from rewriting search queries (#12949)
juliusmarminge Sep 21, 2026
2c2fa8c
fix(web): pull request embed chip shows the state icon (#12951)
flamboh Sep 21, 2026
2d377bf
fix(web): dismiss selection actions when pressing buttons (#12950)
Yash-Singh1 Sep 21, 2026
d2a90b9
fix(web): name message copy actions accurately (#12865)
saphid Sep 21, 2026
80d9c18
fix(contracts): old message-sent events without turnId no longer stop…
Mnigos Sep 21, 2026
e1cbb70
fix(web): the custom snooze calendar starts the week where the locale…
Mnigos Sep 21, 2026
76cc9b0
chore(mobile): bump app version to 1.3.0
t3-code-bot[bot] Sep 21, 2026
1262d2f
feat(server): let t3.json limit or disable submodule init in new work…
juliusmarminge Sep 22, 2026
742173a
feat(settings): resolve t3.json inside the project settings resolver …
juliusmarminge Sep 22, 2026
0141bc2
feat(settings): choose how new worktrees initialize submodules (#12955)
juliusmarminge Sep 22, 2026
9a609a4
fix(web): show thread undo notice in the sidebar (#12972)
juliusmarminge Sep 22, 2026
5423ba0
feat(web): merge the comment and review buttons into one composer (#1…
Bil0000 Sep 22, 2026
e65bc1c
fix(web): allow text selection when renaming threads (#12935)
carterwsmith Sep 22, 2026
5a61f50
chore(lint): report className restyling of components/ui exports (#12…
juliusmarminge Sep 22, 2026
c26119a
refactor(web): drop className overrides that repeat the base styles (…
juliusmarminge Sep 22, 2026
438bf46
fix(web): close menus when clicking into the browser tab (#11148)
Gigioxx Sep 22, 2026
b5a0f81
refactor(web): give Spinner and RefreshIcon a size prop (#12985)
juliusmarminge Sep 22, 2026
aff9318
fix(web): retry failed attachment uploads after reconnect (#10338)
StiensWout Sep 22, 2026
da6a85b
fix(web): respect panel motion in composer transitions (#11064)
gsimone Sep 22, 2026
7c2702d
fix(web): read panel animation settings in the composer (#13098)
juliusmarminge Sep 22, 2026
f25a8e4
feat(models): add opus 5.5 without changing existing aliases (#13094)
t3-code-bot[bot] Sep 22, 2026
4d4d4a7
chore(sync): import upstream main before RTVision conflict overlays
kalvenschraut Sep 22, 2026
109fc69
fix(sync): retain RTVision integrations for release 0.0.58
kalvenschraut Sep 22, 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
feat(web): merge the comment and review buttons into one composer (pi…
…ngdotgg#12945)

Co-authored-by: maria-rcks <[email protected]>
  • Loading branch information

Uh oh!

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

@Bil0000 @maria-rcks
Bil0000 and maria-rcks authored Sep 22, 2026
commit 5423ba0fd08447240282c08362ee8e382bf16903

There are no files selected for viewing

90 changes: 6 additions & 84 deletions 90 apps/web/src/components/pullRequest/PullRequestCodeTab.tsx
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ import {
Columns2Icon,
FolderTreeIcon,
InfoIcon,
MessageSquareIcon,
MessageSquareOffIcon,
PilcrowIcon,
Rows3Icon,
TextWrapIcon,
TriangleAlertIcon,
XIcon,
} from "lucide-react";
import { useAtomRefresh } from "@effect/atom-react";
import * as Schema from "effect/Schema";
Expand Down Expand Up @@ -78,7 +76,6 @@ import { toastManager } from "../ui/toast";
import { Toggle, ToggleGroup } from "../ui/toggle-group";
import { Tooltip, TooltipPopup, TooltipTrigger } from "../ui/tooltip";
import { PendingReviewCommentCard, ReviewThreadCard } from "./PullRequestReviewAnnotation";
import { PullRequestReviewBar } from "./PullRequestReviewBar";
import {
isFileDiffCollapsed,
isLineInFileDiff,
Expand Down Expand Up @@ -247,9 +244,6 @@ function PullRequestCodeTab({
const [draft, setDraft] = useState<DraftAnchor | null>(null);
const [threadPending, setThreadPending] = useState(false);
const [orphansOpen, setOrphansOpen] = useState(false);
// Closed by default so the review form does not permanently eat vertical space below the
// diff; opened on demand as a floating overlay instead.
const [reviewOpen, setReviewOpen] = useState(false);
// Which pull request the slices belong to travels with them, so a render taken before the
// reset below cannot read the previous one's slices — or send its cursor to the host.
const [sliceState, setSliceState] = useState<{
Expand Down Expand Up @@ -378,7 +372,6 @@ function PullRequestCodeTab({
inlineComment: hostReview.inlineComment && viewer.comment,
reply: hostReview.reply && viewer.comment,
resolve: hostReview.resolve && viewer.resolve,
verdicts: hostReview.verdicts.filter((verdict) => viewer.verdicts.includes(verdict)),
};
}, [detail.capabilities.review, detail.viewerPermissions]);
// A comment is posted against the pull request's head diff, so a line number taken from one
Expand Down Expand Up @@ -1054,70 +1047,6 @@ function PullRequestCodeTab({
],
);

/**
* The review overlay belongs to the pull request, not to the patch: a change whose diff
* cannot be structured — or read at all — is still one a reviewer can approve or reject, so
* it survives every branch below. It floats over the scroll area rather than sitting in the
* layout flow, so the diff keeps the full height instead of permanently losing a strip to a
* footer most reviews never touch. Hidden entirely where the host offers no verdicts, same as
* the bar it wraps did.
*/
const reviewOverlay =
review.verdicts.length === 0 ? null : (
<div className="pointer-events-none absolute inset-x-0 bottom-0 z-10">
{reviewOpen ? (
<div
className={cn(
"surface-glass pointer-events-auto absolute inset-x-3 rounded-xl border border-border/60 shadow-lg",
detail.capabilities.comment && detail.viewerPermissions.comment
? "bottom-16"
: "bottom-3",
)}
>
<Button
type="button"
size="icon-sm"
variant="ghost"
aria-label="Close review"
className="absolute right-2 top-2"
onClick={() => setReviewOpen(false)}
>
<XIcon className="size-3.5" />
</Button>
<PullRequestReviewBar
environmentId={environmentId}
reference={reference}
verdicts={review.verdicts}
requestChangesSummaryRequired={detail.provider === "forgejo"}
onSubmitted={() => {
onRefresh();
setReviewOpen(false);
}}
/>
</div>
) : (
<Button
className={cn(
"pointer-events-auto absolute bottom-3 rounded-full shadow-lg",
detail.capabilities.comment && detail.viewerPermissions.comment
? "right-16"
: "right-4",
)}
onClick={() => setReviewOpen(true)}
size="compact"
variant="glass"
>
<MessageSquareIcon className="size-3.5" />
Review
{pendingComments.length > 0 ? (
<span className="flex size-4 items-center justify-center rounded-full bg-accent text-[10px] tabular-nums text-accent-foreground">
{pendingComments.length}
</span>
) : null}
</Button>
)}
</div>
);
// A rebase or a force-push can take the scoped commit out of the change. Its diff may still
// be reachable on the host, but it is no longer part of what is being reviewed, so the scope
// goes back to the whole change rather than sitting under a name nothing matches.
Expand Down Expand Up @@ -1392,29 +1321,23 @@ function PullRequestCodeTab({
);
// The toolbar rides above every branch below, not just the one with a patch in it: a commit
// whose diff is empty or unreadable still needs the scope dropdown that got the reader there.
const withReviewBar = (body: ReactNode) => (
const withToolbar = (body: ReactNode) => (
<div className="flex h-full min-h-0 flex-col">
{toolbar}
{/* The overlay is anchored to this wrapper, not the scroller: absolute positioning
inside an overflowing element tracks the content's bottom edge, which would carry
the trigger away with the first scroll. */}
<div className="relative min-h-0 flex-1">
<div className="h-full overflow-auto">{body}</div>
{reviewOverlay}
</div>
<div className="min-h-0 flex-1 overflow-auto">{body}</div>
</div>
);

// Under the toolbar rather than in place of it, so choosing a commit does not take the
// dropdown that was just used off the screen while its diff loads.
if (diffQuery.isPending && loadedSlices.length === 0) {
return withReviewBar(<DiffPanelLoadingState label="Loading pull request diff..." />);
return withToolbar(<DiffPanelLoadingState label="Loading pull request diff..." />);
}

// A slice that fails once there are files on screen is reported at the end of them instead:
// the diff already read is worth more than the error that stopped it growing.
if (diffQuery.error && loadedSlices.length === 0) {
return withReviewBar(
return withToolbar(
<p className="px-4 py-5 text-sm text-muted-foreground">{diffQuery.error}</p>,
);
}
Expand All @@ -1428,7 +1351,7 @@ function PullRequestCodeTab({
? parsedSlices.flatMap((parsed) => (parsed?.kind === "raw" ? [parsed] : []))
: [];
if (files.length === 0 && rawSlices.length > 0) {
return withReviewBar(
return withToolbar(
<div className="space-y-4 px-4 py-5">
{rawSlices.map((slice) => (
<div key={`${slice.reason}:${slice.text.slice(0, 64)}`} className="space-y-2">
Expand All @@ -1441,7 +1364,7 @@ function PullRequestCodeTab({
}

if (items.length === 0 && nextCursor === null) {
return withReviewBar(
return withToolbar(
<p className="px-4 py-5 text-sm text-muted-foreground">
{commit === null
? "This pull request has no file changes."
Expand Down Expand Up @@ -1595,7 +1518,6 @@ function PullRequestCodeTab({
renderAnnotation={renderAnnotation}
unsafeCSSExtra={REPLACE_FILE_COUNTS_CSS}
/>
{reviewOverlay}
</div>
{fileTreeOpen ? (
<aside className="flex w-[min(20rem,40%)] min-w-48 shrink-0 border-l border-border/60">
Expand Down
171 changes: 0 additions & 171 deletions 171 apps/web/src/components/pullRequest/PullRequestCommentComposer.tsx
Show comments
View file
Open in desktop

This file was deleted.

Oops, something went wrong.

Uh oh!

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

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.