-
Notifications
You must be signed in to change notification settings - Fork 89
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
[2단계 - 자주 가는 음식점] - 초코(강다빈) 미션 제출합니다. #176
Merged
Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
fe8d13f
docs: 기능 요구 사항 정리
llqqssttyy 7316bf0
chore: 프로젝트 초기 설정
llqqssttyy 8b5338a
feat: 카테고리, 이름, 거리(도보 이동 시간), 설명, 참고 링크를 저장한다.
llqqssttyy 3a6fa2a
feat: 음식점 목록에 새로운 음식점을 추가
llqqssttyy bfad01e
feat: 음식점 목록을 확인
llqqssttyy e2e2c74
chore: typescript 모듈 테스트를 위한 jest 설정
llqqssttyy c774a31
test: RestaurantManager 기능 테스트
llqqssttyy d850a9a
chore: template 이미지 리소스 view로 복사
llqqssttyy 01385ce
feat: 모달 열고 닫는 기능
llqqssttyy 3196696
feat: 식당 등록 폼 커스텀 이벤트
llqqssttyy a9dd0f8
feat: Form 제출 시 localStorage에 저장
llqqssttyy e506495
chore: 정적 파일 import
llqqssttyy e725ba4
feat: Select 컴포넌트 제작
llqqssttyy 119204a
feat: GNB를 웹 컴포넌트로 전환
llqqssttyy b8a5211
chore: Select 컴포넌트 위치 변경
llqqssttyy 2fb67ab
feat: RestaurantForm를 웹 컴포넌트로 전환
llqqssttyy dd9e533
feat: Modal을 웹 컴포넌트 AppModal로 전환
llqqssttyy a0c8731
chore: AppModal의 이름을 Modal로 변경
llqqssttyy 3d1b09d
chore: 레스토랑 필터 select 박스 배치
llqqssttyy e6d5e13
feat: localStorage와 도메인 연동
llqqssttyy 209e3d6
feat: localStorage와 도메인 연동
llqqssttyy 4d30ee4
feat: 음식점 렌더링 컴포넌트
llqqssttyy 5061412
feat: 레스토랑 목록을 렌더링하는 컴포넌트
llqqssttyy 9dd126b
feat: 식당 데이터를 웹 뷰에 렌더링
llqqssttyy dd1c2e4
test: RestaurantManger filteredAndSortedByOptions 테스트 케이스 추가
llqqssttyy ec59210
chore: eslint 적용에 따른 코드 수정
llqqssttyy bb00ff5
refactor: WebController 함수 분리
llqqssttyy 1203cdf
docs: 기능 요구사항 문서 업데이트
llqqssttyy b5f3da4
fix: 폼이 제출되었을 때 input이 초기화되지 않는 버그 수정
llqqssttyy a1405e3
feat: 링크 유효성 검사
llqqssttyy d87f672
chore: console.log 제거
llqqssttyy db3b61e
docs: 실행 결과 gif
llqqssttyy 5b2dd6e
refacotr: 오타 수정
00kang 679fb2f
chore: webpack 재설치 업데이트
00kang 5dc4cd0
refactor: filtering과 sorting 관련 수정
00kang e893a0c
refactor: CSS 파일 수정
00kang de2b044
refactor: 불필요한 async 삭제, 오타 수정
00kang c882101
refactor: innerHTML 대신 textContent 사용
00kang 922b5b7
refactor: attributeChangedCallback 수정
00kang 0d7a2eb
docs: step2 미션에 맞게 REQUIREMENTS.md 업데이트
00kang 5691ed8
feat: 탭바, 즐겨찾기 아이콘 추가
00kang 381c42e
feat: 음식점 목록에서 즐겨찾기 등록
00kang f7339f7
feat: 전체 음식점과 즐겨찾는 음식점 탭 구현
00kang 3e34b4a
feat: 레스토랑 아이템 클릭시 디테일 모달 띄우
00kang d69d556
feat: 디테일 모달 버튼 기능 구현
00kang 451a7d3
feat: 디테일 모달 내 링크 클릭시 이동
00kang 180d1d0
test(e2e) : 탭 클릭으로 화면 전환 테스트
00kang bd85468
style: 레스토랑 디테일 모달 스타일링
00kang 747321d
Merge branch '00kang' into step2
00kang 03b036c
fix: 레스토랑 디테일 모달 내의 컨텐츠 로드 에러 해결
00kang 7b560d4
Merge branch 'step2' of https://github.com/00kang/javascript-lunch in…
00kang 06fc2d7
fix: } 추가
00kang 7b94e0a
feat: 불필요한 코드 삭제
00kang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { defineConfig } from 'cypress'; | ||
|
||
export default defineConfig({ | ||
e2e: { | ||
setupNodeEvents(on, config) { | ||
// implement node event listeners here | ||
}, | ||
baseUrl: 'http://localhost:8080/', | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
describe('화면 전환 확인', () => { | ||
beforeEach(() => { | ||
cy.visit('/'); // 웹 페이지로 이동 | ||
}); | ||
|
||
it('메뉴 탭 클릭으로 화면 전환 확인', () => { | ||
// '모든 음식점' 탭을 클릭하고 활성화 여부를 확인합니다. | ||
cy.contains('모든 음식점').click(); | ||
cy.get('.tab__item.active').should('contain', '모든 음식점'); | ||
|
||
// '자주 가는 음식점' 탭을 클릭하고 활성화 여부를 확인합니다. | ||
cy.contains('자주 가는 음식점').click(); | ||
cy.get('.tab__item.active').should('contain', '자주 가는 음식점'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "Using fixtures to represent data", | ||
"email": "[email protected]", | ||
"body": "Fixtures are a great way to mock data for responses to routes" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/// <reference types="cypress" /> | ||
// *********************************************** | ||
// This example commands.ts shows you how to | ||
// create various custom commands and overwrite | ||
// existing commands. | ||
// | ||
// For more comprehensive examples of custom | ||
// commands please read more here: | ||
// https://on.cypress.io/custom-commands | ||
// *********************************************** | ||
// | ||
// | ||
// -- This is a parent command -- | ||
// Cypress.Commands.add('login', (email, password) => { ... }) | ||
// | ||
// | ||
// -- This is a child command -- | ||
// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) | ||
// | ||
// | ||
// -- This is a dual command -- | ||
// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) | ||
// | ||
// | ||
// -- This will overwrite an existing command -- | ||
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) | ||
// | ||
// declare global { | ||
// namespace Cypress { | ||
// interface Chainable { | ||
// login(email: string, password: string): Chainable<void> | ||
// drag(subject: string, options?: Partial<TypeOptions>): Chainable<Element> | ||
// dismiss(subject: string, options?: Partial<TypeOptions>): Chainable<Element> | ||
// visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element> | ||
// } | ||
// } | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// *********************************************************** | ||
// This example support/e2e.ts is processed and | ||
// loaded automatically before your test files. | ||
// | ||
// This is a great place to put global configuration and | ||
// behavior that modifies Cypress. | ||
// | ||
// You can change the location of this file or turn off | ||
// automatically serving support files with the | ||
// 'supportFile' configuration option. | ||
// | ||
// You can read more here: | ||
// https://on.cypress.io/configuration | ||
// *********************************************************** | ||
|
||
// Import commands.js using ES2015 syntax: | ||
import './commands' | ||
|
||
// Alternatively you can use CommonJS syntax: | ||
// require('./commands') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기 수정하신 이유가 있으실까요?