Skip to content

Commit 0d048e6

Browse files
committed
Add missing but-server command for creating new branch
1 parent 927c3f4 commit 0d048e6

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

apps/desktop/src/components/CommitDetails.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
: 'var(--font-mono)'}
9393
bind:clientWidth={messageWidth}
9494
data-testid={TestId.CommitDrawerDescription}
95+
data-remove-from-panning
9596
>
9697
{#if expanded}
9798
{description}
@@ -147,6 +148,7 @@
147148
line-height: var(--text-lineheight-body);
148149
font-family: var(--commit-message-font);
149150
white-space: pre-line;
151+
user-select: text;
150152
}
151153
152154
.readmore {

apps/desktop/src/components/codegen/CodegenMessages.svelte

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,10 +408,6 @@
408408
</PreviewHeader>
409409

410410
<div class="chat-container">
411-
{#if todos.length > 0}
412-
<CodegenTodoAccordion {todos} />
413-
{/if}
414-
415411
{#if claudeAvailable.status !== 'available' && formattedMessages.length === 0}
416412
<ConfigurableScrollableContainer childrenWrapDisplay="contents">
417413
<div class="no-agent-placeholder">
@@ -495,6 +491,9 @@
495491
{/if}
496492
</VirtualList>
497493
{/if}
494+
{#if todos.length > 0}
495+
<CodegenTodoAccordion {todos} />
496+
{/if}
498497
</div>
499498
{#if claudeAvailable.status !== 'available'}
500499
{#if formattedMessages.length > 0}

apps/desktop/src/components/codegen/CodegenTodoAccordion.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
.todos-container {
6060
display: flex;
6161
flex-direction: column;
62-
border-bottom: 1px solid var(--clr-border-2);
62+
border-top: 1px solid var(--clr-border-2);
6363
}
6464
6565
.todo-header {

crates/but-server/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ async fn handle_command(
351351
"message_hook" => legacy::repo::message_hook_cmd(request.params),
352352
// Stack management commands
353353
"create_branch" => legacy::stack::create_branch_cmd(request.params),
354+
"create_reference" => legacy::stack::create_reference_cmd(request.params),
354355
"remove_branch" => legacy::stack::remove_branch_cmd(request.params),
355356
"update_branch_name" => legacy::stack::update_branch_name_cmd(request.params),
356357
"update_branch_description" => legacy::stack::update_branch_description_cmd(request.params),

0 commit comments

Comments
 (0)