Skip to content

Conversation

@jeewonMoon
Copy link
Member

Issue

Details

  • API 연결이 되어있지 않아 임의로 데이터를 만들어 구현했습니다.
  • 드롭다운, 인풋, 조회 버튼, 테이블을 컴포넌트화 했습니다.
  • 테이블 열의 항목들이 페이지마다 달라서 사용할 때 열 데이터를 만들어 전달해야 합니다.
  • 상단의 탭 부분을 구현했습니다.
  • 아직 사이드 바와 연동되어 있지 않습니다.
    탭 닫기 와 전체 닫기 버튼은 작동하지만 다시 탭을 열 수는 없습니다.
  • Warning: Received "true" for a non-boolean attribute 오류를 해결했습니다.
  • 스타일 요소들을 수정했습니다.
  • Header.tsx -> Header으로 변경했습니다.

- Header.tsx -> Header으로 변경했습니다.
- 상단에 탭 부분을 구현했습니다.
- 아직 사이드 바와 연동되어 있지 않습니다.
탭 닫기 와 전체 닫기 버튼은 작동하지만 다시 탭을 열 수는 없습니다.
- 테마에 선언한 텍스트 스타일의 이름을 변경했습니다. (tap->tab)
- 드롭다운, 인풋, 조회 버튼을 컴포넌트화 했습니다.
- Warning: Received "true" for a non-boolean attribute 오류를 해결했습니다.
- 스타일 요소들을 수정했습니다.
- API 연결이 되어있지 않아 임의로 데이터를 만들어 구현했습니다.
- 열의 항목들이 페이지마다 달라서 Table을 사용할 때 열 데이터를 만들어 전달해야 합니다.
@jeewonMoon jeewonMoon requested a review from stableh July 28, 2024 20:54
@jeewonMoon jeewonMoon self-assigned this Jul 28, 2024
@jeewonMoon jeewonMoon linked an issue Jul 28, 2024 that may be closed by this pull request
3 tasks
Copy link
Member

@stableh stableh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

지금까지의 코드로 develop merge 한 다음 로컬에서 api 테스트 해보겠습니다! 고생하셨어요!!

Comment on lines +34 to +52
const handleMouseDown = (index: number) => (event: React.MouseEvent) => {
const startX = event.clientX;
const startWidth = columnWidths[index];

const handleMouseMove = (moveEvent: MouseEvent) => {
const newWidth = startWidth + (moveEvent.clientX - startX);
setColumnWidths(prevWidths =>
prevWidths.map((width, i) => (i === index ? newWidth : width)),
);
};

const handleMouseUp = () => {
document.removeEventListener('mousemove', handleMouseMove);
document.removeEventListener('mouseup', handleMouseUp);
};

document.addEventListener('mousemove', handleMouseMove);
document.addEventListener('mouseup', handleMouseUp);
};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 코드만 봐도 테이블 구현하는데 엄청 힘드셨을 것 같아요.. 고생하셨습니다!!

Comment on lines +21 to +43
const InputWrap = styled.input<{sizes: string}>`
${props => props.theme.texts.content};

${props =>
props.sizes === 's' &&
css`
width: 14rem;
`};
${props =>
props.sizes === 'm' &&
css`
width: 19.5rem;
`};
${props =>
props.sizes === 'xl' &&
css`
width: 48.5rem;
`};

height: 2.4rem;
border: 1px solid ${props => props.theme.colors.neutral5};
padding-left: 0.8rem;
`;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

styled component 이런식으로 활용하니 장점이 보이는 것 같습니다! 많이 배웁니다.

@stableh stableh merged commit e0b1ee5 into develop Jul 29, 2024
@jeewonMoon jeewonMoon deleted the feat/8-lecture-list branch July 29, 2024 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: 강의시간표 조회 페이지

3 participants