fix: repair conflict-marker artifacts from rebase auto-resolutions
rerere replayed stale resolutions during the rebase and committed nested conflict markers in several files. Restore the branch-intended v2 shapes and re-graft main's compatible additions (pending-card opacity comments, theme-editor keybinding test, mobile scroll re-arm effects from #5566). Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
cc44d43b4b
commit
e992d844b6
9 files changed
+3
-404
No files matched your search
@@ -79,7 +79,6 @@ export const ComposerPrimaryActions = memo(function ComposerPrimaryActions({
|
||||
const stageBackdropVariant = useSidebarStageBackdropVariant(
|
||||
environmentIdentificationMode === "artwork",
|
||||
);
|
||||
>>>>>>> ab978b6ee3 (fix: reconcile rebase with latest main)
|
||||
|
||||
const renderStopGenerationButton = (insidePendingAction: boolean) => (
|
||||
<button
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
import { EnvironmentId } from "@t3tools/contracts";
|
||||
import { describe, expect, it } from "vite-plus/test";
|
||||
|
||||
<<<<<<< HEAD:apps/web/src/components/chat/ChatHeader.test.ts
|
||||
import { resolveRenameCommit, shouldShowOpenInPicker } from "./ChatHeader";
|
||||
=======
|
||||
import { shouldShowOpenInPicker } from "./OpenInPicker.logic";
|
||||
>>>>>>> 786f5c5767 (Split open-in editor controls into panel and toolbar variants):apps/web/src/components/chat/OpenInPicker.test.ts
|
||||
|
||||
describe("shouldShowOpenInPicker", () => {
|
||||
const primaryEnvironmentId = EnvironmentId.make("environment-primary");
|
||||
|
||||
@@ -40,22 +40,7 @@ const VCS_REFS_STORE_NAME = "vcs-refs";
|
||||
const CATALOG_KEY = "document";
|
||||
const StoredShellSnapshot = StoredOrchestrationShellSnapshot;
|
||||
const StoredShellSnapshotJson = Schema.fromJsonString(StoredShellSnapshot);
|
||||
<<<<<<< HEAD
|
||||
// v2 stores the snapshot sequence alongside the thread so a warm cache can
|
||||
// resume via `afterSequence` instead of re-downloading the full thread body.
|
||||
// v3 adds windowed (paginated) snapshots carrying `page` metadata. The bump
|
||||
// exists for rollback safety: a pre-pagination client would decode a windowed
|
||||
// v2 record, silently drop the unknown `page` field, and treat the partial
|
||||
// thread as complete forever. Older entries fail to decode → cold cache.
|
||||
const StoredThreadSnapshot = Schema.Struct({
|
||||
schemaVersion: Schema.Literal(3),
|
||||
environmentId: EnvironmentId,
|
||||
threadId: ThreadId,
|
||||
snapshot: OrchestrationThreadDetailSnapshot,
|
||||
});
|
||||
=======
|
||||
const StoredThreadSnapshot = StoredOrchestrationThreadSnapshot;
|
||||
>>>>>>> 79c36e6204 (Complete orchestration V2 frontend cutover)
|
||||
const StoredThreadSnapshotJson = Schema.fromJsonString(StoredThreadSnapshot);
|
||||
const StoredServerConfig = Schema.Struct({
|
||||
schemaVersion: Schema.Literal(1),
|
||||
@@ -561,11 +546,7 @@ export const connectionStorageLayer = Layer.effectContext(
|
||||
saveThread: (environmentId, snapshot) =>
|
||||
Effect.gen(function* () {
|
||||
const encoded = yield* encodeStoredThreadSnapshot({
|
||||
<<<<<<< HEAD
|
||||
schemaVersion: 3,
|
||||
=======
|
||||
schemaVersion: ORCHESTRATION_CACHE_SCHEMA_VERSION,
|
||||
>>>>>>> 79c36e6204 (Complete orchestration V2 frontend cutover)
|
||||
environmentId,
|
||||
threadId: snapshot.projection.thread.id,
|
||||
snapshot,
|
||||
|
||||
@@ -556,7 +556,6 @@ describe("chat/editor shortcuts", () => {
|
||||
);
|
||||
});
|
||||
|
||||
<<<<<<< HEAD
|
||||
it("matches themeEditor.toggle on macOS and Windows", () => {
|
||||
assert.strictEqual(
|
||||
resolveShortcutCommand(
|
||||
@@ -573,7 +572,9 @@ describe("chat/editor shortcuts", () => {
|
||||
{ platform: "Win32" },
|
||||
),
|
||||
"themeEditor.toggle",
|
||||
=======
|
||||
);
|
||||
});
|
||||
|
||||
it("matches filePicker.toggle shortcut outside terminal focus", () => {
|
||||
assert.strictEqual(
|
||||
resolveShortcutCommand(event({ key: "p", metaKey: true }), DEFAULT_BINDINGS, {
|
||||
@@ -605,7 +606,6 @@ describe("chat/editor shortcuts", () => {
|
||||
context: { terminalFocus: true },
|
||||
}),
|
||||
"projectSearch.toggle",
|
||||
>>>>>>> 0c15987295 (fix: reconcile rebase with latest main)
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user