-
Notifications
You must be signed in to change notification settings - Fork 0
[FEAT/#300] 시스템 점검을 구현합니다. #301
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
a0af28f
[FEAT/#300] 점검 다이얼로그 기본 UI를 제작합니다.
SYAAINN 74eba47
[FEAT/#300] AppUpdateChecker에 점검 상태 확인 및 점검 시간 텍스트 반환 기능 추가
MoonsuKang 99f30c0
[FEAT/#300] 시스템 점검 시작/종료 시간 Remote Config 키 추가 및 파싱 로직 구현
MoonsuKang c4eb6a8
[ADD/#300] 점검 팝업 노출을 위한 상태 및 인텐트 추가
MoonsuKang 9858bb3
[FEAT/#300] 시스템 점검 중 앱 실행 차단 및 안내 팝업 로직 추가
MoonsuKang 82f6db7
[ADD/#300] inspectionTime parameter 추가
MoonsuKang dbbb5e4
[FEAT/#300] 시스템 점검 안내 다이얼로그 UI 추가 및 상태 연동
MoonsuKang f8da747
[CHORE/#300] 안내 문구 수정 사항을 반영하고, 백핸들러를 막아서 확인 버튼을 눌러야만 앱을 나갈 수 있도록 설정합니다.
SYAAINN f6ab945
[REFACTOR/#300] 스플래시 화면에서 버전 확인 후 자동 로그인 시도하도록 순서 변경
MoonsuKang 864dcbd
[MOD/#300] 버전 정보 업데이트
MoonsuKang 01f2b67
[REFACTOR/#300] RemoteConfig 가져오기 간격 변경
MoonsuKang 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 hidden or 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
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [p2] |
This file contains hidden or 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
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.
💡 Verification agent
🧩 Analysis chain
Consider edge cases in time comparison logic.
The current implementation uses
isAfter(start) && isBefore(end), which excludes the exact start and end times. For maintenance windows, you might want to include the boundaries.Additionally, consider timezone implications when using
LocalDateTime.now()if the server and client could be in different timezones.Or more concisely:
Would you like me to search for more information about timezone best practices for maintenance windows?
🌐 Web query:
💡 Result:
When handling timezones in maintenance windows for mobile apps, it's essential to consider user experience, accuracy, and clarity. Here are some best practices:
Use UTC Internally:
Convert to Local Time:
Clear Communication:
Handle Daylight Saving Time (DST):
Send Reminders:
Maintain Consistency:
Consider User Location Changes:
Provide Flexibility:
Test Extensively:
Would you like suggestions on specific libraries or tools to implement these best practices in your mobile app?
Ensure inclusive time checks and normalize to UTC
Please update the inspection‐window logic in app/src/main/java/com/sopt/clody/data/remote/appupdate/AppUpdateCheckerImpl.kt to:
Locations to update:
isUnderInspection()method.Suggested diff:
If your RemoteConfig returns LocalDateTime, convert it:
And when showing maintenance times in‐app, convert back:
This approach:
🤖 Prompt for AI Agents