This repository was archived by the owner on Mar 18, 2026. It is now read-only.
[기능] MainPage 클라이언트/서버 분리 및 GitHub Actions CI 워크플로우 추가#8
Merged
Conversation
- Extracted all client-side logic and state management from MainPage into a new MainPageClient component with 'use client' directive. - Updated MainPage to be a server component that uses Suspense to asynchronously load MainPageClient with a loading fallback. - This separation resolves build errors related to client-only hooks and improves code organization. - Added a simple Loading component as Suspense fallback. - Introduced a GitHub Actions workflow for CI to build and test the Next.js project across multiple Node.js versions.
Add a default working-directory to the run steps in the GitHub Actions npm_build workflow to ensure commands execute from the repository root, improving consistency across different node versions.
- Change GitHub Actions workflow working directory to absolute path - Remove redundant comments from main page component for clarity
- Set GitHub Actions working directory to project root for consistency - Add cache-dependency-path to npm build cache step to improve caching - Specify explicit tsconfig.json path in ESLint config for correct resolution - Include "src" directory in tsconfig.json to ensure proper type checking and compilation
Removed the incorrect `cache-dependency-path` setting from the npm_build GitHub Actions workflow to fix caching issues during the dependency installation step. This ensures proper caching behavior with the specified `package-lock.json` files.
Introduce initial React components for the chat feature, including ChatPage and ChatSidebarItem. These components currently render simple placeholders with a heading and a comment indicating where chat content will be added in the future. This lays the groundwork for further chat UI development.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
설명
주요 변경 사항
src/app/main/page.tsx:MainPageClient로 분리.src/app/main/components/MainPageClient.tsx:.github/workflows/npm_build.yaml:src/app/canvas/page.tsx:test_storage.js,test_workflow_sync.md) 삭제.