perf(chat): 대화창 렌더 창·폴링 dedup·회사 엔드포인트 light + 기본 테마 그래파이트 - #295
Merged
Conversation
…인트 light(0.21s→7ms) — 키 입력 130ms→9ms(Lean-AX 652건 실측) - 크루 대화창: 최근 60건만 DOM에(이전 100건씩 확장), 3초 폴은 파일 mtime이 같으면 본문 생략 - /api/companies/[ws]?light=1: 사이드바 30초 폴·대화창 진입·쪽지함·루틴·크루 편집은 listDocs/집계 생략 - 기본 테마 그래파이트(시스템/라이트/다크), 설정에 기본 테마(그래파이트/아르고) 토글 — 아르고 유지
Merged
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
목적
유건 지시 2026-08-23: "채팅창 버벅거리거나 앱 로딩 느린 부분 가볍게" + "기본 테마를 그래파이트로(라이트/다크/시스템), 아르고는 선택 가능하게".
실측(Lean-AX 사본, 페퍼 652건,
next start게스트 모드 :3392)unchanged)/api/companies/[ws](사이드바 30초 폴·대화창 진입)?light=17ms변경
src/thread.mjs threadMtime, chat GET?mtime=)./api/companies/[ws]?light=1: 회사·크루만. 레이아웃·대화창·쪽지함·루틴·크루 편집이 사용. 데크는 전체 그대로.graphite(시스템 자동), 부트 스크립트·ThemeProvider 기본값. 설정 테마 카드에 기본 테마(그래파이트/아르고) 토글 + 모드(시스템/라이트/다크) 세그먼트. 저장된 테마가 있으면 그대로 유지(기존 사용자 중 미설정자만 그래파이트로 바뀜).검증
npm test936/931 pass/0 fail,next build통과, eslint 0.미검증