From 58d428a16ca0589e8291285e938b97a337ad8aea Mon Sep 17 00:00:00 2001 From: d-kimsuon Date: Sat, 18 Oct 2025 01:50:14 +0900 Subject: [PATCH] chore: adjust form styles --- src/app/api/[[...route]]/route.ts | 10 ++++++++-- .../[projectId]/components/chatForm/ChatInput.tsx | 2 +- .../[projectId]/components/newChat/NewChat.tsx | 1 + .../[sessionId]/components/resumeChat/ContinueChat.tsx | 2 +- .../[sessionId]/components/resumeChat/ResumeChat.tsx | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/app/api/[[...route]]/route.ts b/src/app/api/[[...route]]/route.ts index 83393a3..8b79189 100644 --- a/src/app/api/[[...route]]/route.ts +++ b/src/app/api/[[...route]]/route.ts @@ -13,6 +13,7 @@ import { EventBus } from "../../../server/core/events/services/EventBus"; import { FileWatcherService } from "../../../server/core/events/services/fileWatcher"; import { FileSystemController } from "../../../server/core/file-system/presentation/FileSystemController"; import { GitController } from "../../../server/core/git/presentation/GitController"; +import { GitService } from "../../../server/core/git/services/GitService"; import { HonoConfigService } from "../../../server/core/hono/services/HonoConfigService"; import { ProjectRepository } from "../../../server/core/project/infrastructure/ProjectRepository"; import { ProjectController } from "../../../server/core/project/presentation/ProjectController"; @@ -34,6 +35,11 @@ const storageLayer = Layer.mergeAll( VirtualConversationDatabase.Live, ); +const repositoryLayer = Layer.mergeAll( + ProjectRepository.Live, + SessionRepository.Live, +); + await Effect.runPromise( program.pipe( // 依存の浅い順にコンテナに pipe する必要がある @@ -56,6 +62,7 @@ await Effect.runPromise( Effect.provide(ClaudeCodePermissionService.Live), Effect.provide(ClaudeCodeSessionProcessService.Live), Effect.provide(ClaudeCodeService.Live), + Effect.provide(GitService.Live), // Shared Services Effect.provide(FileWatcherService.Live), @@ -65,8 +72,7 @@ await Effect.runPromise( /** Infrastructure */ // Repository - Effect.provide(ProjectRepository.Live), - Effect.provide(SessionRepository.Live), + Effect.provide(repositoryLayer), // StorageService Effect.provide(storageLayer), diff --git a/src/app/projects/[projectId]/components/chatForm/ChatInput.tsx b/src/app/projects/[projectId]/components/chatForm/ChatInput.tsx index 9d1fbdf..ffc2dfb 100644 --- a/src/app/projects/[projectId]/components/chatForm/ChatInput.tsx +++ b/src/app/projects/[projectId]/components/chatForm/ChatInput.tsx @@ -199,7 +199,7 @@ export const ChatInput: FC = ({ }} onKeyDown={handleKeyDown} placeholder={placeholder} - className={`${minHeight} resize-none border-0 focus-visible:ring-0 focus-visible:ring-offset-0 bg-transparent px-5 py-4 text-base transition-all duration-200 placeholder:text-muted-foreground/60`} + className={`${minHeight} resize-none border-0 focus-visible:ring-0 focus-visible:ring-offset-0 bg-transparent px-5 py-4 text-lg transition-all duration-200 placeholder:text-muted-foreground/60`} disabled={isPending || disabled} maxLength={4000} aria-label="Message input with completion support" diff --git a/src/app/projects/[projectId]/components/newChat/NewChat.tsx b/src/app/projects/[projectId]/components/newChat/NewChat.tsx index 8be8e1e..2844f56 100644 --- a/src/app/projects/[projectId]/components/newChat/NewChat.tsx +++ b/src/app/projects/[projectId]/components/newChat/NewChat.tsx @@ -37,6 +37,7 @@ export const NewChat: FC<{ buttonText="Start Chat" minHeight="min-h-[200px]" containerClassName="p-6" + buttonSize="lg" /> ); }; diff --git a/src/app/projects/[projectId]/sessions/[sessionId]/components/resumeChat/ContinueChat.tsx b/src/app/projects/[projectId]/sessions/[sessionId]/components/resumeChat/ContinueChat.tsx index 65f0521..524f8fa 100644 --- a/src/app/projects/[projectId]/sessions/[sessionId]/components/resumeChat/ContinueChat.tsx +++ b/src/app/projects/[projectId]/sessions/[sessionId]/components/resumeChat/ContinueChat.tsx @@ -44,7 +44,7 @@ export const ContinueChat: FC<{ buttonText={"Send"} minHeight="min-h-[120px]" containerClassName="" - buttonSize="default" + buttonSize="lg" /> diff --git a/src/app/projects/[projectId]/sessions/[sessionId]/components/resumeChat/ResumeChat.tsx b/src/app/projects/[projectId]/sessions/[sessionId]/components/resumeChat/ResumeChat.tsx index c5baa22..b19212a 100644 --- a/src/app/projects/[projectId]/sessions/[sessionId]/components/resumeChat/ResumeChat.tsx +++ b/src/app/projects/[projectId]/sessions/[sessionId]/components/resumeChat/ResumeChat.tsx @@ -43,7 +43,7 @@ export const ResumeChat: FC<{ buttonText={"Resume"} minHeight="min-h-[120px]" containerClassName="" - buttonSize="default" + buttonSize="lg" />