Skip to content

Migrate Application Information View from XML to Compose#651

Merged
DongJun-H merged 7 commits intodevelopfrom
layout/issue-650
Jun 3, 2025
Merged

Migrate Application Information View from XML to Compose#651
DongJun-H merged 7 commits intodevelopfrom
layout/issue-650

Conversation

@DongJun-H
Copy link
Copy Markdown
Member

작업사항

  • 앱 정보 페이지에 대한 Compose로의 마이그레이션

참고

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR migrates the Application Information view from an XML-based approach to a new Compose implementation while removing the legacy XML fragments and related navigation actions. Key changes include:

  • Deleting the old XML layout files and fragments for policy and information screens.
  • Introducing a new Compose-based AppInformationScreen and adjusting navigation/routes and SettingsScreen to handle the new composable.
  • Updating navigation and main navigator to integrate the new information and rules screens.

Reviewed Changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
presentation/src/main/res/values/strings.xml Removed redundant string resources no longer needed for the new Compose view.
presentation/src/main/res/navigation/nav_graph.xml Removed navigation actions and fragment entries for legacy screens.
presentation/src/main/res/layout/fragment_policy.xml Deleted legacy XML layout.
presentation/src/main/res/layout/fragment_information.xml Deleted legacy XML layout.
presentation/src/main/res/drawable/ic_chevron_r.xml Added a new drawable for the information screen.
presentation/src/main/java/daily/dayo/presentation/screen/settings/SettingsScreen.kt Updated settings screen to include onInformationClick callbacks.
presentation/src/main/java/daily/dayo/presentation/screen/settings/SettingsNavigation.kt Added new navigation composables and routes for the information screen and rules.
presentation/src/main/java/daily/dayo/presentation/screen/settings/AppInformationScreen.kt Created a new Compose-based screen to display application information.
presentation/src/main/java/daily/dayo/presentation/screen/main/MainScreen.kt Updated main screen to route to the new information and rules screens.
presentation/src/main/java/daily/dayo/presentation/screen/main/MainNavigator.kt Enhanced navigator with methods for navigating to the information and rules screens.
presentation/src/main/java/daily/dayo/presentation/fragment/setting/information/InformationFragment.kt Removed the legacy XML fragment file.
presentation/src/main/java/daily/dayo/presentation/fragment/setting/SettingFragment.kt Removed the navigation call to the legacy information fragment.
presentation/src/main/java/daily/dayo/presentation/fragment/policy/PolicyFragment.kt Removed the legacy policy fragment file.

…dException) in getAppVersion to prevent potential crashes if package information retrieval fails

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Member

@yuni-ju yuni-ju left a comment

Choose a reason for hiding this comment

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

image

스크롤 시 보라색으로 표시되는데 의도치 않은 동작일 것 같아요!

@DongJun-H
Copy link
Copy Markdown
Member Author

image 스크롤 시 보라색으로 표시되는데 의도치 않은 동작일 것 같아요!

재현 불가로 처리 부탁드립니다.

@yuni-ju
Copy link
Copy Markdown
Member

yuni-ju commented May 28, 2025

에뮬레이터랑 기기 모두 직접 테마 스타일에 colorEdgeEffect를 적용했다가 색상이 안나타나서 지웠는데,
코드를 아예 롤백해도 다음 실행 부터는 오버스크롤이 안뜨더라구요..? 저도 재현 불가 상태가 되었습니다. 😅

혹여나 보라색으로 뜰 가능성을 대비해서 overScrollMode = View.OVER_SCROLL_NEVER로 아예 안뜨게 설정해도 괜찮을까요!?

@github-project-automation github-project-automation bot moved this from Todo to In Progress in DAYO 2.0 Jun 2, 2025
@DongJun-H DongJun-H merged commit 59e3e5b into develop Jun 3, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in DAYO 2.0 Jun 3, 2025
@DongJun-H DongJun-H deleted the layout/issue-650 branch June 3, 2025 08:22
DongJun-H pushed a commit that referenced this pull request Feb 3, 2026
DongJun-H added a commit that referenced this pull request Feb 3, 2026
Migrate Application Information View from XML to Compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants