-
Notifications
You must be signed in to change notification settings - Fork 3
스레드 사용시 대댓글 UI 컴포넌트 구현 #131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
cf49a6e
#71 feat(fe): 채팅 내 공용 헤더 구현
KimKyuHoi d1b6542
#71 feat(fe): 채팅내 stockSlug 연결 및 헤더 구현
KimKyuHoi cc4002b
#71 feat(fe): thread panel 구현
KimKyuHoi 8e6ead9
#71 feat(fe): avatarlist 호버링 시 스레드 글 보이기 구현
KimKyuHoi 259b636
#71 feat(fe): 스레드 열기 구현
KimKyuHoi 8007e60
#71 feat(fe): chatting 컴포넌트식 호버할 시 보이도록 구현
KimKyuHoi 48b6369
Merge branch 'dev' into fe-feat/thread
KimKyuHoi 111cb5b
#71 fix(fe): 코드리뷰 수정
KimKyuHoi f087077
Merge branch 'fe-feat/thread' of https://github.com/sgdevcamp2025/c_s…
KimKyuHoi 1185471
#71 fix(fe): 애니메이션 수정
KimKyuHoi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| export { default as ChatContainer } from './ui/chat-container'; | ||
| export { default as ThreadContainer } from './ui/thread-panel'; |
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
7 changes: 4 additions & 3 deletions
7
src/frontend/apps/web/src/features/chat/ui/chat-container.tsx
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
32 changes: 25 additions & 7 deletions
32
src/frontend/apps/web/src/features/chat/ui/chat-content.tsx
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
24 changes: 18 additions & 6 deletions
24
src/frontend/apps/web/src/features/chat/ui/chat-header.tsx
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
29 changes: 24 additions & 5 deletions
29
src/frontend/apps/web/src/features/chat/ui/chat-section.tsx
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| const Header = ({ children }: { children: React.ReactNode }) => { | ||
| return ( | ||
| <header className="h-[54px] w-full flex items-center justify-between px-4 bg-white border-b border-gray-200"> | ||
| {children} | ||
| </header> | ||
| ); | ||
| }; | ||
|
|
||
| export default Header; |
16 changes: 16 additions & 0 deletions
16
src/frontend/apps/web/src/features/chat/ui/thread-header.tsx
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| import Header from './header'; | ||
|
|
||
| import { X } from 'lucide-react'; | ||
|
|
||
| const ThreadHeader = ({ onClose }: { onClose: (value: boolean) => void }) => { | ||
| return ( | ||
| <Header> | ||
| <span className="font-semibold text-gray-800">스레드</span> | ||
| <button onClick={() => onClose(false)}> | ||
| <X size={20} /> | ||
| </button> | ||
| </Header> | ||
| ); | ||
| }; | ||
|
|
||
| export default ThreadHeader; |
12 changes: 12 additions & 0 deletions
12
src/frontend/apps/web/src/features/chat/ui/thread-panel.tsx
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| import ThreadHeader from './thread-header'; | ||
| import ThreadSection from './thread-section'; | ||
|
|
||
| const ThreadPanel = ({ onClose }: { onClose: (value: boolean) => void }) => { | ||
| return ( | ||
| <div className="z-50 maw-w-[906px] w-full h-full flex flex-col min-w-0 min-h-0"> | ||
| <ThreadHeader onClose={onClose} /> <ThreadSection /> | ||
| </div> | ||
| ); | ||
| }; | ||
|
|
||
| export default ThreadPanel; |
14 changes: 14 additions & 0 deletions
14
src/frontend/apps/web/src/features/chat/ui/thread-section.tsx
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| import ChatTextArea from './chat-textarea'; | ||
|
|
||
| const ThreadSection = () => { | ||
| return ( | ||
| <div className="flex flex-col w-full h-full"> | ||
| <div className="flex flex-1 flex-col w-full h-full overflow-y-auto"></div> | ||
| <div className="p-4"> | ||
| <ChatTextArea /> | ||
| </div> | ||
| </div> | ||
| ); | ||
| }; | ||
|
|
||
| export default ThreadSection; |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.