ITN Dev 07-22
feat: 게시물 탭 이름을 채팅으로 변경
@f3cc0dd7c04e944f2994d07df4daf3f3063b9fb8
frontend/src/components/ChannelPosts.tsx
--- frontend/src/components/ChannelPosts.tsx
+++ frontend/src/components/ChannelPosts.tsx
@@ -104,7 +104,7 @@
   )
 }
 
-/** 기관관리 상세의 게시물 탭. 선택한 채널의 최근 게시글을 3초 간격으로 폴링해서 보여준다. */
+/** 기관관리 상세의 채팅 탭. 선택한 채널의 최근 게시글을 3초 간격으로 폴링해서 보여준다. */
 export default function ChannelPosts({ org }: { org: Org }) {
   const bothMissing = !org.channelIdMj && !org.channelIdLaw
   const [channel, setChannel] = useState<ChannelKindKey>(org.channelIdMj ? 'mj' : 'law')
frontend/src/components/OrgOverview.test.tsx
--- frontend/src/components/OrgOverview.test.tsx
+++ frontend/src/components/OrgOverview.test.tsx
@@ -69,7 +69,7 @@
     await waitFor(() => expect(mocks.getPosts).toHaveBeenCalled())
   })
 
-  it('기본 탭인 게시물은 자리표시 대신 채널 선택 화면을 보여준다', async () => {
+  it('기본 탭인 채팅은 자리표시 대신 채널 선택 화면을 보여준다', async () => {
     render(<OrgOverview org={org()} />)
 
     expect(screen.getByRole('button', { name: '문정원' })).toBeTruthy()
frontend/src/components/OrgOverview.tsx
--- frontend/src/components/OrgOverview.tsx
+++ frontend/src/components/OrgOverview.tsx
@@ -25,7 +25,7 @@
   '보고서 작성',
 ]
 
-const TABS = ['게시물', '자료', '권리확인', '권리처리', 'RE', '타임라인', '업무메모']
+const TABS = ['채팅', '자료', '권리확인', '권리처리', 'RE', '타임라인', '업무메모']
 
 const DISABLED_ACTIONS = ['진행단계 변경', '담당 변호사 변경', '자료 업로드', '최초 게시글 보기', '보고서 관리']
 
@@ -192,7 +192,7 @@
           </nav>
         </div>
 
-        {activeTab === '게시물' ? (
+        {activeTab === '채팅' ? (
           <div className="mt-4 rounded-lg border border-gray-200">
             <ChannelPosts key={org.id} org={org} />
           </div>
Add a comment
List