Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: code-squad/javascript-todo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: code-squad/javascript-todo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: mukeunzi
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 11 files changed
  • 3 contributors

Commits on Oct 10, 2018

  1. lec3 - Step2.다양한 출력 지원 (#48)

    * Lecture3 - step1. 기본기능 구현 (#40)
    
    * 스켈레톤 코드 작성
    
    * 수많은 에러가 담긴 todo객체의 add함수 추가(id의 값을 제대로 가지지 못함, todo객체의 getStatusNum수정 필요
    
    * 랜덤한 id값을 못가져오는 것을 수정. checkOverlap함수를 통해서 id의 값이 같지않도록 구현
    
    * todo.add함수기능 완벽하게 구현
    
    * todo.update함수 완성
    
    * id를 입력받아 할일을 제거해주는 todo.remove함수 완성, 오류가많은 todo.printTask함수 완성
    
    * todo.printTask함수 완성, tag를 확인하는 함수 제거(printTask를 통해 각 할일들의 태그가 무엇인지 확인이 가능하므로)
    
    * todo.printTagRelate 함수 완성, todo.add함수에서 버그를 발견함
    
    * 새로운 객체 안 배열에 저장하도록 만들어 문제 해결
    
    * remove함수를 호출했을때, saveData.task배열에서 지워지는것 뿐 아니라 saveData.idArrays배열에서도 id를 지워지게 수정
    
    * 테스트코드를 주석처리함 들여쓰기를 다시 맞춤
    
    * saveData객체를 없애고 그 내용을 todo객체 안으로 집어 넣음, todo.idArrays의 값은 todo.add를 호출할때마다 추가되도록 수정.
    
    * if(saveData.idArrays.indexOf(ranNum) !== -1)-> if(this.idArrays.includes(ranNum))으로 변경
    
    * 기나긴 삼항연산자 statusNum[obj.status]++로 해결
    
    * todo.update함수에서 바뀐 상태의 상태를 반영하지 않는 버그를 찾아내서 수정
    
    * 함수마다 간단한 주석을 달아줌
    
    * 주석추가
    
    * 피드백을 위한 주석 추가
    
    * 같은 숫자를 반복하는 것을 todo.task로부터 찾아와 sync가 완벽하게 맞도록 수정
    
    * 쓸데없는 todo.idArrays에 쓰이는 배열과 메서드 제거
    
    * 변수명 변경
    
    * add나revmoe, update함수를 입력할때마다 각각 인자를 다르게 받아 다르게 출력하는 함수를 만듬
    
    * 해야할 일들 주석으로 정리
    
    * 만들어야 할 함수들 미리 작성
    
    * time obj를 saveTimeObj로 이름을 변경하고 saveTimeObj에 doing일때의 시간과 done일때의 시간을 인자로 입력받아 경과된 시간을 반환해주는 getTakeTime 함수 구현
    
    * 업데이트할 객체를 인자로 받아 id값과업데이트 될때의 시간 값을 saveTImeObj의 객체에 저장해주는 함수 구현
    
    * todo.add함수에서 새 객체를 만들때 걸린시간 이라는 항목을 추가함
    
    *  timeobj객체를 todo안으로 집어넣어 활용하기로 결정, 수정
    
    * doingTimeArray와 takenTimeArray가 굳이 필요할것 같이 않아서 제거, 대신 task배열내의 객체에 timeData추가. 이를 이용해 updateDoingTime메서드 완성
    
    * updateTakeTime메서드 구현. id가 같은 task.timeData값에 걸린 시간을 계산해서 저장해줌
    
    * showTag메서드와 그 메서드를 위한 printByTag메서드 구현. printByTag는 tag과 status를 인자로 받아 같은인자와 tag를 출력, showTag메서드는 그 값을 세번 불러서 서로다른 3가지의 status값을 모두 출력.
    
    * show메서드 구현 만약 status가 done상태일때만 시간을 출력해주도록 함
    
    * printByTag메서드의 버그 수정(상태가done인 항목을 입력해도 걸린 시간이 나오지 않았음), show메서드의 버그 수정(상태가done이면 doing항목을 출력하라고 입력했을때 done항목도 같이 출력되었었음)
    
    * 테스트 케이스 추가
    
    * showAll메서드 구현, bind메서드를 이용함
    
    * 같은태그를가짐과동시에 같은상태인것의 개수를 세는 함수 getSameTagAndStatusNum함수를 만듦
    
    * show함수를 좀더 보기좋게 수정
    
    * showTags를 위한 getSameTagArrays와 printSameTag함수를 만듬. 태그의 모든값이 담긴 배열을 만들고, 배열의 값을 통해 같은 값을 출력하는 함수를 만듬
    
    * 태그가 같은 할 일의 개수를 계산해주는 함수 getSameTagNum을 만듬
    
    * 함수의 쓰임새에 따라 정렬하여 보기편하게 수정
    
    * 테스트 케이스들을 모두 주석처리하고 id의 경우의 수를 100가지로 늘림
    
    * 사소한 버그 수정
    HTMLhead authored and crongro committed Oct 10, 2018
    Configuration menu
    Copy the full SHA
    b745355 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2018

  1. delete. code

    crongro committed Oct 18, 2018
    Configuration menu
    Copy the full SHA
    82e620d View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2019

  1. todo program design & code (#71)

    * todo program design & code
    
    * add program design and implement code
    
    * change arrow function
    
    * 코드리뷰사항수정
    mukeunzi authored and crongro committed Apr 15, 2019
    Configuration menu
    Copy the full SHA
    95b9897 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2019

  1. Mukeunzi & Jin step4-1 Refactoring (#83)

    * todo program design & code
    
    * add program design and implement code
    
    * change arrow function
    
    * 코드리뷰사항수정
    
    * todos 파일로 분리
    
    * todo class 생성
    todo의 생성자함수로 makeNewTodo 대체
    
    * printAll 함수를 todo class의 메서드로 만듦
    
    * 나머지 함수를 클래스의 메소드로 변경
    show(), printStatus()
    
    * console.log 호출 구조 변경
    
    printAll과 printStatus에 return을 넣어 log를 한번만 호출하게 구조변경
    
    * printTags 추가 기능 구현
    mukeunzi authored and crongro committed Apr 16, 2019
    Configuration menu
    Copy the full SHA
    71797eb View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2019

  1. mukeunzi & Jin step4-1 수정사항 반영 (#85)

    * todo program design & code
    
    * add program design and implement code
    
    * change arrow function
    
    * 코드리뷰사항수정
    
    * todos 파일로 분리
    
    * todo class 생성
    todo의 생성자함수로 makeNewTodo 대체
    
    * printAll 함수를 todo class의 메서드로 만듦
    
    * 나머지 함수를 클래스의 메소드로 변경
    show(), printStatus()
    
    * console.log 호출 구조 변경
    
    printAll과 printStatus에 return을 넣어 log를 한번만 호출하게 구조변경
    
    * printTags 추가 기능 구현
    
    * 생성자함수에서 로직 제거
    customTodo에서 todoCount로 변수명 변경
    mukeunzi authored and crongro committed Apr 17, 2019
    Configuration menu
    Copy the full SHA
    24991aa View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2019

  1. 왕민 & 묵은지 step5-2 (#108)

    * app.js 파일 생성
    
    - 스켈레톤 코드 작성
    
    * todo.js 파일 생성
    
    - 스켈레톤 코드 작성
    
    * data.js 파일 생성
    
    - data 입력
    
    * exports data
    
    - data배열 exports
    
    * inputCommand 함수 생성
    
    - inputCommand 함수 생성
    - input data 유효성 검사
    
    * excuteTodo 함수 생성
    
    - excuteTodo 함수 생성
    - action 파라미터 유효성 검사
    
    * todo class 수도코드 작성
    
    - 수도코드 작성
    - exports
    
    * show 메소드 생성
    
    - getStatusList 메소드 추가
    - printAll 메소드 추가
    - show 메소드 추가
    
    * printList 메소드 생성
    
    - printList 메소드 생성
    
    * getId 메소드 추가
    
    - getId메소드 추가
    
    * add 메소드 추가
    
    - add 메소드 추가
    - prompt 재출력 코드 추가
    
    * 각 메소드 파라미터 수정
    
    - readline 파라미터 제거
    
    * delete 메소드 추가
    
    - delete 메소드 추가
    
    * todo 클래스 생성자 추가
    
    - 생성자 추가
    - 프롬프트 출력 오류 수정
    
    * app.js 구조변경
    
    - 인터페이스 구조 변경
    
    * update 메소드 추가
    
    - update 메소드 추가
    
    * 에러메세지 출력 버그 수정
    
    - printError 메소드 생성
    - 버그 수정
    
    * 에러메세지 모듈생성
    
    - 에러메세지 모듈 생성
    
    * 에러메세지 출력 버그 수정
    
    - 에러메세지 출력 버그 수정
    
    * printList 리팩토링
    
    - statusList 출력 방식 변경
    
    * add 메소드 리팩토링
    
    - 태그 에러케이스 제거
    
    * 에러 케이스 삭제
    
    - 태그 에러 케이스 삭제
    
    * 에러 출력 방식 변경
    
    - try catch throw 활용
    - add 메소드 수정
    
    * 에러출력 방식 변경
    
    - try catch throw 활용
    - errorMessage require
    
    * checkValidId 메소드 수정
    
    - 코드 중복제거
    mukeunzi authored and crongro committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    f49ed90 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2019

  1. Step5-3 객체지향프로그래밍 왕민 & 묵은지 (#123)

    * 생성자 함수 이름 변경
    
    - 생성자 함수 이름 변경
    
    * 에러발생 조건 추가
    
    - 에러발생 조건 추가
    
    * todoList 생성자 추가
    
    - todoList 접근방식 변경
    
    * settimeOut delaysecond 방식 변경
    
    - 매직넘버 -> 상수로 변경
    
    * feat : create Log.js
    
    - log class 생성
    - Log.js 수도코드 작성
    
    * feat : add addLog method
    
    - addLog 메소드 추가
    
    * refactor : update throw error form
    
    - require errorMessage in app.js
    
    * feat : add errorMessage
    
    - add UNDO_ERROR message
    - add REDO_ERROR message
    
    * feat : add undo method
    
    - undo method 추가
    - alterData method 추가
    
    * feat : add calling addLog method
    
    - addLog 메소드 호출
    
    * feat : add methods
    
    - undo 메소드 추가
    - redo 메소드 추가
    - 정규표현식 조건 추가
    
    * feat : add redo method
    
    - redo 메소드 추가
    - inputarray 조건 변경
    - 객체 참조 변수 -> object.assign()
    
    * feat : add error conditions
    
    - 에러발생 조건 추가
    
    * feat : add error conditions
    
    - 에러발생 조건 추가
    
    * feat : create .gitignore
    
    - gitignore 파일 생성
    
    * feat : update errror case
    
    - update 메소드 에러 케이스 추가
    
    * feat : add errorMessage
    
    - undo/redo 에러 메세지 추가
    
    * feat : modified alterData method
    
    - todoList data 조건 추가
    
    * fix : fix alterdata method
    
    - 데이터 오류 수정
    
    * refactor : modify errormessage
    
    - 에러메세지 수정
    
    * refactor : modify todo.js to prototype
    
    - class -> prototype 변경
    
    * refactor : modify unnecessary code
    
    - reduce code
    
    * refactor : change magicNumber
    
    - change magicNumber to variable
    - reduce unnecessary codes
    
    * refactor : refactoring program structure
    
    - add validCheck.js
    - refacoring program structure
    
    * fix : bug fix
    
    - undo/redo 메소드 리턴 버그 수정
    - 생성자함수 디폴트 파라미터 설정
    
    * fix : bug fix
    
    - 삭제될 데이터 버그 수정
    
    * fix : bug fix
    
    - excuteTodo 메소드 버그 수정
    mukeunzi authored and crongro committed May 1, 2019
    Configuration menu
    Copy the full SHA
    1fb5f05 View commit details
    Browse the repository at this point in the history
Loading