Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
51403df
과제 제출용 빈 커밋
hyeongwoo94 Oct 26, 2025
bad5ed3
과제이해하기
hyeongwoo94 Oct 26, 2025
df4edd1
cursor설치
hyeongwoo94 Oct 26, 2025
ec72c6d
역할분담셋팅+문서작성
hyeongwoo94 Oct 27, 2025
4143afe
역할분담후 첫 테스트코드작성실행
hyeongwoo94 Oct 27, 2025
3749bfd
계획자,노동자 학습
hyeongwoo94 Oct 27, 2025
4b2f1c5
테스트용 모달작업시키고 체크리스뽑아기
hyeongwoo94 Oct 28, 2025
782d57e
테스트 모달 리팩토링
hyeongwoo94 Oct 28, 2025
be9fa7b
lint에러수정
hyeongwoo94 Oct 28, 2025
6ebd62e
정규화된 줄바꿈 규칙수정
hyeongwoo94 Oct 28, 2025
a14d150
Revert "정규화된 줄바꿈 규칙수정"
hyeongwoo94 Oct 28, 2025
4f68adb
Reapply "정규화된 줄바꿈 규칙수정"
hyeongwoo94 Oct 28, 2025
131f3e6
Revert "Reapply "정규화된 줄바꿈 규칙수정""
hyeongwoo94 Oct 28, 2025
f058a0e
cursorrules리팩토링
hyeongwoo94 Oct 28, 2025
435902a
history파일삭제시 파일순서명자변경
hyeongwoo94 Oct 28, 2025
4e1ba92
Modal.spec 줄바꿈변경
hyeongwoo94 Oct 28, 2025
a02a2e0
리얼데이터에 테스트데이터 2개 추가 1020_10
hyeongwoo94 Oct 28, 2025
a30cb23
매일체크시 매일,매주,매월,매년 옵 UI 추가 - 1028_11-13
hyeongwoo94 Oct 28, 2025
2f9b746
수정시 반복일정 기본값 매일로 지정하기
hyeongwoo94 Oct 28, 2025
5e3ee73
반복일정 기능 31일 선택시, 윤년시 상황 캘린더 표시 적용
hyeongwoo94 Oct 28, 2025
bec3655
말일,윤년 반복일정을 제작하면서 나온 오류 리팩토링해서 체크리스트에 추가
hyeongwoo94 Oct 28, 2025
7f220e3
history폴 리팩토링
hyeongwoo94 Oct 28, 2025
98d0fa4
fix: realEvents.json 諛섎났 ?쇱젙 ?쒓굅, ?듯빀 ?뚯뒪???ㅻ쪟 ?섏젙
hyeongwoo94 Oct 28, 2025
730eeb0
전체테스코들 실행-수정
hyeongwoo94 Oct 28, 2025
64f6681
리팩토링
hyeongwoo94 Oct 28, 2025
f0f4942
에이전트전체리팩토링,리뷰,제안서crd제작
hyeongwoo94 Oct 29, 2025
260224c
전체테스트 코드확인, 세월이가 리뷰도 학습하도록 명세서 수정
hyeongwoo94 Oct 29, 2025
8ebdd70
줄바ㅇ로 인한 테스트코드 오류 수정
hyeongwoo94 Oct 29, 2025
e7a5903
언어오류 수정
hyeongwoo94 Oct 29, 2025
4883327
반복 일정 수정 에이전트가 제작
hyeongwoo94 Oct 29, 2025
2d4b827
반복종류에따른 아이콘변경/반복일정 겹칠시 캘린더에 표시 추가
hyeongwoo94 Oct 29, 2025
be9a013
반복종료 제
hyeongwoo94 Oct 29, 2025
9bcaae9
여태까지의 작업내용을 검토하여 시간이 오래거리던 이유를 찾고 그은 문서화하여 다음 작업때 참조하게 명세서 추가
hyeongwoo94 Oct 29, 2025
7348764
반복일정삭제
hyeongwoo94 Oct 29, 2025
9e7d06c
일정카드타이틀ui가독성있게 변경
hyeongwoo94 Oct 29, 2025
76147b3
최종리팩토링
hyeongwoo94 Oct 29, 2025
1aa8df9
중복코드 검색 후 최적화
hyeongwoo94 Oct 29, 2025
4915e58
마감일 필수 선택, 반복일정색상구별추가
hyeongwoo94 Oct 29, 2025
a9707b6
테스트코드 수정
hyeongwoo94 Oct 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
760 changes: 760 additions & 0 deletions .cursorrules

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Auto-detect text files and normalize line endings to LF
* text=auto eol=lf

# Explicitly declare text files with LF
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.json text eol=lf
*.md text eol=lf
*.html text eol=lf
*.css text eol=lf
*.scss text eol=lf
*.yml text eol=lf
*.yaml text eol=lf

# Denote binary files
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary

7 changes: 5 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ app.put('/api/events/:id', async (req, res) => {
const eventIndex = events.events.findIndex((event) => event.id === id);
if (eventIndex > -1) {
const newEvents = [...events.events];
newEvents[eventIndex] = { ...events.events[eventIndex], ...req.body };
// Preserve the original ID from URL params (don't let req.body override it)
// eslint-disable-next-line @typescript-eslint/no-unused-vars, no-unused-vars
const { id: _bodyId, ...bodyWithoutId } = req.body;
newEvents[eventIndex] = { ...events.events[eventIndex], ...bodyWithoutId, id };

fs.writeFileSync(
`${__dirname}/src/__mocks__/response/${dbName}`,
Expand All @@ -53,7 +56,7 @@ app.put('/api/events/:id', async (req, res) => {
})
);

res.json(events.events[eventIndex]);
res.json(newEvents[eventIndex]); // Return updated event, not old one
} else {
res.status(404).send('Event not found');
}
Expand Down
Loading