Skip to content

feat: #110/대시보드 수정 페이지 일부 기능 구현#111

Merged
ARON-Y merged 10 commits intomainfrom
feat/#104/dashboard-edit-page
Mar 31, 2025
Merged

feat: #110/대시보드 수정 페이지 일부 기능 구현#111
ARON-Y merged 10 commits intomainfrom
feat/#104/dashboard-edit-page

Conversation

@hyeonjiroh
Copy link
Owner

#️⃣ Issue Number

#110


📝 요약

대시보드 수정

  • 대시보드 이름이나 색 수정 후 ‘변경’ 버튼 클릭 시 대시보드 수정
  • ‘돌아가기’ 버튼 클릭 시 해당 대쉬보드 상세 페이지(/dashboard/{dashboardid})로 이동

초대 내역 목록

  • 페이지네이션으로 구현
  • ‘초대하기’ 버튼 클릭 시 초대하기 모달창 표시
  • ‘취소’ 버튼 클릭 시 해당 초대 취소

대시보드 삭제

  • ‘대시보드 삭제하기’ 버튼 클릭 시 해당 대시보드 삭제

🛠️ PR 유형

  • 새로운 기능 추가
  • 버그 수정
  • CSS 등 사용자 UI 디자인 변경
  • 코드에 영향을 주지 않는 변경사항(오타 수정, 변수명 변경 등)
  • 코드 리팩토링
  • 주석 추가 및 수정
  • 문서 수정
  • 테스트 추가, 테스트 리팩토링
  • 빌드 부분 혹은 패키지 매니저 수정
  • 파일 혹은 폴더명 수정
  • 파일 혹은 폴더 삭제

@vercel
Copy link

vercel bot commented Mar 31, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
taskify ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 31, 2025 7:29am

@hyeonjiroh hyeonjiroh requested a review from ARON-Y March 31, 2025 07:35
id,
});

window.location.replace(`/dashboard/${id}`);
Copy link
Collaborator

Choose a reason for hiding this comment

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

window.location.replace() 대신 router.push() 사용하는 방법도 있대요!
window.location.replace()는 페이지를 새로고침하고 히스토리를 덮어쓰지만, router.push()는 SPA(Single Page Application) 내에서 URL을 변경하면서 페이지 전환을 관리하고 히스토리에 기록할 수 있는 차이점이 있다고 합니당

totalPages: number;
onPageChange: (page: number) => void;
onPrevClick: () => void;
onNextClick: () => void;
Copy link
Collaborator

Choose a reason for hiding this comment

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

페이지 끝으로 가면 버튼 비활성화 하는 disabled나 rest props를 활용해도 좋을것같아요!

@ARON-Y ARON-Y merged commit 0ba049d into main Mar 31, 2025
2 checks passed
@hyeonjiroh hyeonjiroh deleted the feat/#104/dashboard-edit-page branch March 31, 2025 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants