Skip to content
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

[FE] 스케줄 바를 드래그하여 수정할 수 있는 기능 구현 #857

Merged
merged 54 commits into from
Dec 11, 2023

Commits on Nov 6, 2023

  1. Configuration menu
    Copy the full SHA
    c26c9d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    526e9b6 View commit details
    Browse the repository at this point in the history
  3. feat: 캘린더 컴포넌트에서 컨트롤할 수 있도록 스케줄 바 드래그 현황을 관리하는 커스텀 훅 추가

    - 스케줄 바 드래그 현황에 대한 데이터를 가짜 드래그 스크린에 prop으로 넘길 수 있도록 값 관리
    - 스케줄 바의 드래그를 시작하는 경우 / 드래그를 중지하는 경우에 따라 값을 업데이트할 수 있도록 관리
    wzrabbit committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    bf67149 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    463fcce View commit details
    Browse the repository at this point in the history
  5. feat: 좌표를 의미하는 Point 타입 추가

    - x, y값을 지님
    wzrabbit committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    70c440a View commit details
    Browse the repository at this point in the history
  6. feat: 움직이는 스케줄 바 컴포넌트 구현

    - 이후 마우스 좌표를 받아 마우스를 따라가는 위치에 렌더링되도록 사용 예정
    wzrabbit committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    c8c26c1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    21889ee View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7a92a9c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7005975 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b098b85 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Configuration menu
    Copy the full SHA
    461812b View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. feat: 비활성 상태일 경우에도 unmount 되지 않도록 변경

    - display: none을 이용하여 커스텀 훅의 state와 listener를 유지
    wzrabbit committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    ff09a1f View commit details
    Browse the repository at this point in the history
  2. feat: 캘린더 크기와 상대좌표를 이용해 캘린더 칸 이동 수치를 구하는 유틸 함수 작성

    - '칸 이동 수치'란 시작 좌표를 기준으로 행, 열을 얼마나 이동했는지를 의미하는 수치이다. 이는 캘린더 바의 모양을 어떻게 정할지를 계산하는 데 사용된다.
    wzrabbit committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    3f862db View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dcb471e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a8e6e5a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5727b05 View commit details
    Browse the repository at this point in the history
  6. feat: ScheduleBar에서 초기 좌표를 전달하는 방식으로 재변경

    - onMouseDown 이벤트로 인해 스케줄 바에 해당하는 일정 모달이 띄워지지 않는 문제가 있음
    wzrabbit committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    4b52e5b View commit details
    Browse the repository at this point in the history
  7. feat: ScheduleBar에 mode 타입 추가

    - 스케줄 바가 이제 여러 목적(일반, 장식용, 인디케이터)으로 쓰이므로, mode를 통해 목적을 정한다.
    wzrabbit committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    488fbeb View commit details
    Browse the repository at this point in the history
  8. feat: ScheduleBar 컴포넌트에 mode 프로퍼티를 추가, no-interaction 모드에 대한 기능을 구현

    - no-interaction: 스케줄 바에 hover을 해도 반응이 없으며, 포인터가 바뀌지 않는 등 상호작용이 불가능해진다. 시각적인 용도로 사용해야 할 때 사용한다.
    wzrabbit committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    2ed57cf View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b532eaa View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    dc58954 View commit details
    Browse the repository at this point in the history
  11. feat: ScheduleBar에서 indicator 모드에 대한 기능을 구현

    - indicator 모드: 상호작용이 불가능하며, 스케줄 바의 윤곽만 나타난다. 스케줄 바가 놓일 위치를 시각적으로 표시하는 데에 사용한다.
    wzrabbit committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    f04465a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    17eef10 View commit details
    Browse the repository at this point in the history
  13. feat: ScheduleIndicator 컴포넌트 구현

    - 스케줄 바를 인디케이터 형태로 보여주는 컴포넌트
    wzrabbit committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    d5a39c2 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    26b74c9 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Configuration menu
    Copy the full SHA
    b8d7223 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8fd537e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    411cd4b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bcdbacf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c4d5c9c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bcc4831 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a7a08da View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. refactor: FakeScheduleBarScreen 컴포넌트에서 자주 바뀌는 스타일을 attrs로 받도록 변경

    - 불필요함에도 불구하고 클래스가 매번 새롭게 생성되는 현상을 방지하고, 인라인 스타일만 수정되도록 하여 퍼포먼스 향상을 기대할 수 있음
    wzrabbit committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    c019bc1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ec43c0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f9df389 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    43fb55d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6d31c42 View commit details
    Browse the repository at this point in the history
  6. fix: 스케줄 바가 범위 밖으로 이동하여 수정이 되었을 때 오류가 생기는 경우를 해결

    - 스케줄 바에서 정보를 가져오는 데 이동된 스케줄 바가 더 이상 렌더링되지 않으므로 생기는 문제. 스케줄 바가 비어 있더라도 일정 시작과 끝 정보는 보존되도록 유틸 함수를 수정
    wzrabbit committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    83b7a6e View commit details
    Browse the repository at this point in the history
  7. refactor: 꼭 필요한 경우에만 함수가 다시 생성되도록 useCallback 사용, 불필요한 useMemo 제거

    - 꼭 필요한 경우에만 생성되도록 한쪽에 쏠린 dependency array를 배분
    wzrabbit committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    15c1b7a View commit details
    Browse the repository at this point in the history
  8. fix: 캘린더 바를 드래그할 때 아주 잠깐 잘못된 좌표로 이동하며 버벅거리는 문제 해결

    - 이전 캘린더 바의 이동에서 남아있는 상대좌표의 값이 이후의 캘린더 바의 이동에 영향을 끼친 것. 이동 완료 후 상대좌표의 값을 0으로 초기화시키는 것으로 해결
    wzrabbit committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    fdf5c1d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    421fdad View commit details
    Browse the repository at this point in the history
  10. refactor: 스케줄 바 타입에 calendarSize 프로퍼티 추가

    - 직접 해당 타입을 스케줄 바에서 사용하게 되는 일이 많아짐에 따라 추가하게 됨
    wzrabbit committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    d099bd4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c431986 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. Configuration menu
    Copy the full SHA
    e15702f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58409c6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0be7107 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4981756 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ea37ebe View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    82d2416 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    09cf84b View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    e54a224 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Configuration menu
    Copy the full SHA
    31dadee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e5e258 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    28cb380 View commit details
    Browse the repository at this point in the history