Skip to content

[FLWY-212] 가격정책 패널 만들기#259

Merged
kkhhmm3103 merged 2 commits intodevfrom
FLYW-212-가격정책-패널-만들기
Feb 4, 2026

Hidden character warning

The head ref may contain hidden characters: "FLYW-212-\uac00\uaca9\uc815\ucc45-\ud328\ub110-\ub9cc\ub4e4\uae30"
Merged

[FLWY-212] 가격정책 패널 만들기#259
kkhhmm3103 merged 2 commits intodevfrom
FLYW-212-가격정책-패널-만들기

Conversation

@minseokim0113
Copy link
Contributor

@minseokim0113 minseokim0113 commented Feb 4, 2026

📌 PR 설명

  • 가격정책 패널 구현

✅ 완료한 기능 명세

  • [FLWY-212] 가격정책 패널 만들기

🔗 관련 이슈

Closes #257


Summary by CodeRabbit

릴리스 노트

  • 새로운 기능

    • 가격정책 모달 기능 추가: 사용자가 동적 가격 정책에 대한 상세 정보를 버튼 클릭으로 확인 가능
    • 스크롤 상단 이동 버튼 추가: 페이지 스크롤 시 자동으로 표시/숨김
  • 설명서

    • 투명한 가격 책정 원칙, 계산 방식, 시간대별 및 수요 기반 계수 설명 포함한 가격정책 문서 추가

@coderabbitai
Copy link

coderabbitai bot commented Feb 4, 2026

📝 Walkthrough

개요

이 PR은 새로운 가격정책 모달 UI를 여러 JSP 파일에 추가하고, 정책 콘텐츠를 표시하는 독립적인 JSP 파일과 해당 스타일시트를 도입합니다. 기존 항공편 상세 정책 블록을 제거하고 모달 형태로 재구성합니다.

변경사항

집합 / 파일(s) 요약
모달 UI 및 제어 로직
src/main/webapp/WEB-INF/views/common/footer.jsp, src/main/webapp/WEB-INF/views/search/search.jsp
가격정책 모달 버튼, 모달 오버레이 구조, 열기/닫기 함수(openPolicyModal/closePolicyModal)를 추가합니다. 모달 외부 클릭, Escape 키, 닫기 버튼으로 모달 닫기 기능을 포함하며 body 스크롤 잠금을 구현합니다. Search.jsp에는 추가로 "Scroll To Top" 버튼이 포함됩니다.
정책 콘텐츠
src/main/webapp/WEB-INF/views/policy/policy.jsp
Flyway 동적 가격정책을 설명하는 새로운 정적 JSP 뷰 파일입니다. 가격 원칙, 계산 구조, 시간대 계수, 수요 기반 계수, 가격 안정화 정책, 재평가 트리거, 프로모 가격 안내 등을 포함합니다.
스타일시트
src/main/webapp/resources/policy/css/policy.css
정책 콘텐츠와 모달 컴포넌트의 스타일을 정의합니다. 레이아웃, 타이포그래피, 테이블 스타일, 모달 오버레이, 애니메이션(modalFadeIn), 호버 상태 등을 포함합니다.
정적 리소스 포함
src/main/webapp/WEB-INF/views/home.jsp
policy.css 스타일시트 링크를 추가합니다.
UI 구조 변경
src/main/webapp/WEB-INF/views/search/include/flight-detail.jsp
항공편 상세에서 기존 취소 및 변경 정책 블록을 제거합니다.

예상 코드 리뷰 소요 시간

🎯 2 (Simple) | ⏱️ ~12분

관련 PR

제안 라벨

FEAT, ready-for-review

제안 검토자

  • ochanhyeok
  • gaeunnlee

🐰 축하 시

🐇 정책이 모달로 춤을 춘다!
클릭하고, 뜨고, 닫히는 우아함
가격의 비밀은 이제 쉽게 펼쳐지고
사용자의 눈빛이 반짝인다 ✨
Flyway의 투명함이 빛난다! 🛫

🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Linked Issues check ❓ Inconclusive 연결된 이슈 #257은 구체적인 기술 요구사항이나 수용 기준을 명시하지 않아 평가 기준이 불충분합니다. 이슈 #257에 구체적인 기능 요구사항과 수용 기준을 추가하여 코드 변경사항과의 준수 여부를 명확히 평가할 수 있도록 하세요.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 제목이 PR의 주요 변경사항인 '가격정책 패널' 구현을 명확하게 요약하고 있으며, 간결하고 구체적입니다.
Out of Scope Changes check ✅ Passed 모든 변경사항이 가격정책 패널 구현(UI, 스타일, 모달 기능)과 관련되어 있으며 범위 내입니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch FLYW-212-가격정책-패널-만들기

Important

Action Needed: IP Allowlist Update

If your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:

  • 136.113.208.247/32 (new)
  • 34.170.211.100/32
  • 35.222.179.152/32

Reviews will stop working after February 8, 2026 if the new IP is not added to your allowlist.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@minseokim0113 minseokim0113 added FEAT 새로운 기능 추가 또는 기존 기능 확장 ready-for-review PR 리뷰 요청 labels Feb 4, 2026
Copy link
Contributor

@cl-o-lc cl-o-lc left a comment

Choose a reason for hiding this comment

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

수고하셨습니다! 👍👍

Copy link
Contributor

@kkhhmm3103 kkhhmm3103 left a comment

Choose a reason for hiding this comment

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

수고했습니다~

@kkhhmm3103 kkhhmm3103 merged commit 174f237 into dev Feb 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FEAT 새로운 기능 추가 또는 기존 기능 확장 ready-for-review PR 리뷰 요청

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FLYW-212] 가격정책 패널 만들기

3 participants