🚀 **OShin New CI Build!**
Chore: Update app version name to 16.1
This commit updates the application's version name in the file.
The base version name has been changed from to . This version will be combined with the Git commit count and hash to form the final version string (e.g., ).
Additionally, the fallback version name used when Git is unavailable has been updated from to .
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/06aa8acb106c18f60052c876d0292f6b5a3f1ff9)
Chore: Update app version name to 16.1
This commit updates the application's version name in the file.
The base version name has been changed from to . This version will be combined with the Git commit count and hash to form the final version string (e.g., ).
Additionally, the fallback version name used when Git is unavailable has been updated from to .
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/06aa8acb106c18f60052c876d0292f6b5a3f1ff9)
GitHub
Chore: Update app version name to 16.1 · suqi8/OShin@06aa8ac
This commit updates the application's version name in the `app/build.gradle.kts` file.
The base version name has been changed from `15.1` to `16.1`. This version will be combined with the ...
The base version name has been changed from `15.1` to `16.1`. This version will be combined with the ...
🚀 **OShin New CI Build!**
Chore(i18n): Refine strings for the localization
This commit updates several string resources in the language pack () to improve clarity and style.
### Key String Changes:
* : Changed from 模块 to 杂鱼用的LSP版本❤️.
* : Changed from 生命百分比 to 电池生命百分比.
* : Changed from 电池还能活多久 to 电池最大生命百分比.
* : Changed from 户晨风 to 户晨风版本号.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/a3ecabe4e188c7e5be85f81f163f105523b504d8)
Chore(i18n): Refine strings for the localization
This commit updates several string resources in the language pack () to improve clarity and style.
### Key String Changes:
* : Changed from 模块 to 杂鱼用的LSP版本❤️.
* : Changed from 生命百分比 to 电池生命百分比.
* : Changed from 电池还能活多久 to 电池最大生命百分比.
* : Changed from 户晨风 to 户晨风版本号.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/a3ecabe4e188c7e5be85f81f163f105523b504d8)
GitHub
Chore(i18n): Refine strings for the `meme` localization · suqi8/OShin@a3ecabe
This commit updates several string resources in the `meme` language pack (`values-b+qaa+x+meme`) to improve clarity and style.
### Key String Changes:
* `module_status`: Changed from "...
### Key String Changes:
* `module_status`: Changed from "...
🚀 **OShin New CI Build!**
Refactor: Remove unused
This commit deletes the file, as its custom animation transition functions are no longer in use.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/225be399c5638e3ba918f5ac8551812edb6ba094)
Refactor: Remove unused
This commit deletes the file, as its custom animation transition functions are no longer in use.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/225be399c5638e3ba918f5ac8551812edb6ba094)
GitHub
Refactor: Remove unused `AnimTools.kt` · suqi8/OShin@225be39
This commit deletes the `AnimTools.kt` file, as its custom animation transition functions are no longer in use.
🚀 **OShin New CI Build!**
Refactor(Backdrop): Overhaul rendering pipeline and simplify APIs
This commit introduces a major refactoring of the backdrop effect rendering pipeline to improve performance, simplify the drawing logic, and enhance the API. The new implementation moves away from for highlights and instead uses directly on the object, reducing layer complexity.
### Core Rendering Changes:
* **Unified :** The logic for drawing backdrops and content effects has been consolidated. The separate has been removed, and a single is now used for all effects.
* **Shader-based Highlighting:** Instead of using on a layer, styles now generate a that is applied directly to a object. This simplifies the drawing path and removes an extra layer.
* **Optimized Drawing:** The shadow and highlight drawing logic has been rewritten to use instead of manually handling different types (, , ). A new helper has been introduced for consistent clipping.
* **Layer Management:** The use of intermediate mask layers for highlights has been eliminated. The main highlight is drawn on a single layer and then drawn to the canvas.
* **Simplified Functions:** Unused functions for , , and have been removed.
### API and Effect Enhancements:
* ** Effect Update:** The effect parameters have been refined. It now accepts a flag instead of an . The underlying AGSL shader has been updated to support this and now includes padding offsets.
* **Effect Scope Padding:** The now includes a property, allowing effects like and to manage the required padding around the content.
* ** Annotations:** Added annotations to various effect and style parameters (, , ) to improve API contract clarity.
* **:** A new, simplified modifier has been introduced for use cases that do not require shadows or highlights.
### UI Component Migration ():
* The component has been updated to align with the new backdrop API.
* The has been changed from to .
* Right-to-left (RTL) layout support has been added for tab indicator positioning.
* Minor logic updates include using and adjusting animation.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/c8f5a331d6b5d7e320075b7cf8ba1e74da0c05f1)
Refactor(Backdrop): Overhaul rendering pipeline and simplify APIs
This commit introduces a major refactoring of the backdrop effect rendering pipeline to improve performance, simplify the drawing logic, and enhance the API. The new implementation moves away from for highlights and instead uses directly on the object, reducing layer complexity.
### Core Rendering Changes:
* **Unified :** The logic for drawing backdrops and content effects has been consolidated. The separate has been removed, and a single is now used for all effects.
* **Shader-based Highlighting:** Instead of using on a layer, styles now generate a that is applied directly to a object. This simplifies the drawing path and removes an extra layer.
* **Optimized Drawing:** The shadow and highlight drawing logic has been rewritten to use instead of manually handling different types (, , ). A new helper has been introduced for consistent clipping.
* **Layer Management:** The use of intermediate mask layers for highlights has been eliminated. The main highlight is drawn on a single layer and then drawn to the canvas.
* **Simplified Functions:** Unused functions for , , and have been removed.
### API and Effect Enhancements:
* ** Effect Update:** The effect parameters have been refined. It now accepts a flag instead of an . The underlying AGSL shader has been updated to support this and now includes padding offsets.
* **Effect Scope Padding:** The now includes a property, allowing effects like and to manage the required padding around the content.
* ** Annotations:** Added annotations to various effect and style parameters (, , ) to improve API contract clarity.
* **:** A new, simplified modifier has been introduced for use cases that do not require shadows or highlights.
### UI Component Migration ():
* The component has been updated to align with the new backdrop API.
* The has been changed from to .
* Right-to-left (RTL) layout support has been added for tab indicator positioning.
* Minor logic updates include using and adjusting animation.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/c8f5a331d6b5d7e320075b7cf8ba1e74da0c05f1)
GitHub
Refactor(Backdrop): Overhaul rendering pipeline and simplify APIs · suqi8/OShin@c8f5a33
This commit introduces a major refactoring of the backdrop effect rendering pipeline to improve performance, simplify the drawing logic, and enhance the API. The new implementation moves away from ...
🚀 **OShin New CI Build!**
Chore: Update project dependencies
This commit updates the versions of several key dependencies in .
### Key Version Changes:
* **Kotlin:** ->
* **AndroidX Compose BOM:** ->
* **AndroidX Room:** ->
* **Jetpack Compose:** ->
* **KSP:** The Kotlin version for KSP was updated to .
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/fee284817ab0195d45d616edbc0f15090e8d28c1)
Chore: Update project dependencies
This commit updates the versions of several key dependencies in .
### Key Version Changes:
* **Kotlin:** ->
* **AndroidX Compose BOM:** ->
* **AndroidX Room:** ->
* **Jetpack Compose:** ->
* **KSP:** The Kotlin version for KSP was updated to .
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/fee284817ab0195d45d616edbc0f15090e8d28c1)
GitHub
Chore: Update project dependencies · suqi8/OShin@fee2848
This commit updates the versions of several key dependencies in `gradle/libs.versions.toml`.
### Key Version Changes:
* **Kotlin:** `2.2.20` -> `2.2.21`
* **AndroidX Compose BOM:** `202...
### Key Version Changes:
* **Kotlin:** `2.2.20` -> `2.2.21`
* **AndroidX Compose BOM:** `202...
🚀 **OShin New CI Build!**
Refactor: Update component import paths
This commit refactors the import statements in to use local project components instead of an external library.
The and components are now imported from the internal package, removing the dependency on .
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/93074af3753d7d36bb8057df3cb0e3c0da9a28d4)
Refactor: Update component import paths
This commit refactors the import statements in to use local project components instead of an external library.
The and components are now imported from the internal package, removing the dependency on .
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/93074af3753d7d36bb8057df3cb0e3c0da9a28d4)
GitHub
Refactor: Update component import paths · suqi8/OShin@93074af
This commit refactors the import statements in `about_setting.kt` to use local project components instead of an external library.
The `SuperDropdown` and `SuperSwitch` components are now imported ...
The `SuperDropdown` and `SuperSwitch` components are now imported ...
🚀 **OShin New CI Build!**
Refactor(Dropdown): Improve gesture handling and visual feedback
This commit refactors the composable to improve user interaction and visual feedback, particularly for touch, drag, and long-press gestures.
### Key Changes:
* **Gesture Handling ():**
* The gesture detection logic has been completely rewritten using lower-level modifiers (, ).
* This separates tap/press, long-press/drag, and scroll events, resolving conflicts and making interactions more reliable.
* **Visual Feedback:**
* Introduced distinct visual states for pressed (tap-down) and hovered (drag-over).
* A new parameter in triggers a dark overlay () on the item background when it is either pressed or hovered, providing clear feedback.
* The checkmark icon is now also displayed for the hovered item, not just the selected one.
* **State Management:**
* New state variables (, ) are introduced to track user interactions within the popup.
* Event callbacks like , , and now manage state changes and selection logic from the parent , simplifying the child .
* **Lottie Animation Update ():**
* The Lottie animation file has been replaced with a new, completely different animation.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/e85e7d3dfad5d77111bdd094094635e8d0dca20f)
Refactor(Dropdown): Improve gesture handling and visual feedback
This commit refactors the composable to improve user interaction and visual feedback, particularly for touch, drag, and long-press gestures.
### Key Changes:
* **Gesture Handling ():**
* The gesture detection logic has been completely rewritten using lower-level modifiers (, ).
* This separates tap/press, long-press/drag, and scroll events, resolving conflicts and making interactions more reliable.
* **Visual Feedback:**
* Introduced distinct visual states for pressed (tap-down) and hovered (drag-over).
* A new parameter in triggers a dark overlay () on the item background when it is either pressed or hovered, providing clear feedback.
* The checkmark icon is now also displayed for the hovered item, not just the selected one.
* **State Management:**
* New state variables (, ) are introduced to track user interactions within the popup.
* Event callbacks like , , and now manage state changes and selection logic from the parent , simplifying the child .
* **Lottie Animation Update ():**
* The Lottie animation file has been replaced with a new, completely different animation.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/e85e7d3dfad5d77111bdd094094635e8d0dca20f)
GitHub
Refactor(Dropdown): Improve gesture handling and visual feedback · suqi8/OShin@e85e7d3
This commit refactors the `FunDropdown` composable to improve user interaction and visual feedback, particularly for touch, drag, and long-press gestures.
### Key Changes:
* **Gesture Handling ...
### Key Changes:
* **Gesture Handling ...
🚀 **OShin New CI Build!**
Refactor: Implement Shared Element Transitions for navigation
This commit introduces from Compose Animation to create shared element transitions between list items and their corresponding detail pages, enhancing the user experience with smoother and more context-aware navigation.
The implementation focuses on applying and modifiers to relevant components across the application.
### Key Changes:
* **Navigation:**
* is now wrapped in a .
* Pages and components now receive and to participate in transitions.
* A unique is assigned to each target page (, , etc.) to define the transition boundary.
* **Transitioned Components:**
* **Home Screen:** Official Channel and randomized feature items now transition to their detail screens.
* **Modules Screen ():** App list items (both list and grid view) and search results now smoothly transition to the feature configuration screen.
* **Functions Screen ():** CPU Freq and ROM Workshop items now transition to their respective pages.
* **About Screen ():** Contributors, References, Settings, and Official Channel items now animate into their detail views.
* **UI Refinements:**
* Many pages that previously used simple layouts have been refactored to use for better performance and consistency with scroll behaviors.
* Introduced a subtle blur effect to pages in the on the main screen when they are not in focus during a scroll gesture.
* actions are now hidden during a shared element transition to prevent visual glitches.
* Redundant instances in have been consolidated into a single instance shared across all pager pages.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/c5be88ded43aa48d48d318e50eb6da415ae12491)
Refactor: Implement Shared Element Transitions for navigation
This commit introduces from Compose Animation to create shared element transitions between list items and their corresponding detail pages, enhancing the user experience with smoother and more context-aware navigation.
The implementation focuses on applying and modifiers to relevant components across the application.
### Key Changes:
* **Navigation:**
* is now wrapped in a .
* Pages and components now receive and to participate in transitions.
* A unique is assigned to each target page (, , etc.) to define the transition boundary.
* **Transitioned Components:**
* **Home Screen:** Official Channel and randomized feature items now transition to their detail screens.
* **Modules Screen ():** App list items (both list and grid view) and search results now smoothly transition to the feature configuration screen.
* **Functions Screen ():** CPU Freq and ROM Workshop items now transition to their respective pages.
* **About Screen ():** Contributors, References, Settings, and Official Channel items now animate into their detail views.
* **UI Refinements:**
* Many pages that previously used simple layouts have been refactored to use for better performance and consistency with scroll behaviors.
* Introduced a subtle blur effect to pages in the on the main screen when they are not in focus during a scroll gesture.
* actions are now hidden during a shared element transition to prevent visual glitches.
* Redundant instances in have been consolidated into a single instance shared across all pager pages.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/c5be88ded43aa48d48d318e50eb6da415ae12491)
GitHub
Refactor: Implement Shared Element Transitions for navigation · suqi8/OShin@c5be88d
This commit introduces `SharedTransitionLayout` from Compose Animation to create shared element transitions between list items and their corresponding detail pages, enhancing the user experience wi...
👍2
🚀 **OShin New CI Build!**
Style(UI): Revamp home screen with a modern, card-based design
This commit overhauls the home screen (), replacing the previous HUD-style layout with a modern, visually rich, card-based interface. The new design emphasizes clarity, aesthetics, and better information hierarchy.
### Key UI/UX Changes:
* **New Design System:** Introduces a consistent design language with rounded corners, gradient backgrounds, and refined typography across all home screen components.
* **Top App Bar:** The traditional top app bar has been replaced with a translucent gradient effect that blurs the content scrolling beneath it, creating a more immersive feel.
* **Featured Carousel:** The carousel is now a full-width, visually prominent section with an improved pager indicator.
* **Modern Status Cards:** The Module Status and Root Status are now displayed in stylish square cards with gradient backgrounds and clear iconography.
* **Todays Highlights" Section:** A new horizontally scrolling section has been added to showcase randomly recommended features in Apple-style cards.
* **Revamped Device Info:** The device and battery information sections have been redesigned into distinct, easy-to-read cards, including a prominent battery status card with a color-coded gradient.
* **Official Channel Card:** The link to the official channel is now presented as a large, clickable card with a gradient background.
* **Code Refactoring:** The composable functions in `MainHome.kt` have been completely refactored to implement the new design. Old components like `HUDCircularGauge`, `CutCornerShape`, and `SectionTitle` have been removed or replaced.
### Functional & Data Changes:
* **Real Battery Level:** The `DeviceInfo` data class now includes `chipSoc` to display the "real battery level" on the home screen.
* **Robust Carousel Loading:** The `HomeViewModel` now provides default placeholder data for the carousel to prevent crashes if the data fetch fails.
### Minor UI Adjustments:
* **Function & Module Screens:** The "Function" and "Module" screens have been updated to use the new `ModernSectionTitle` and have had padding adjusted to align with the new top bar design.
* **New String Resources:** Added new strings to support the updated UI, such as titles and subtitles for the new sections (e.g., "Todays Highlights, Featured).
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/7b40c05e69b7017273742e11e930d9d4402f6c8c)
Style(UI): Revamp home screen with a modern, card-based design
This commit overhauls the home screen (), replacing the previous HUD-style layout with a modern, visually rich, card-based interface. The new design emphasizes clarity, aesthetics, and better information hierarchy.
### Key UI/UX Changes:
* **New Design System:** Introduces a consistent design language with rounded corners, gradient backgrounds, and refined typography across all home screen components.
* **Top App Bar:** The traditional top app bar has been replaced with a translucent gradient effect that blurs the content scrolling beneath it, creating a more immersive feel.
* **Featured Carousel:** The carousel is now a full-width, visually prominent section with an improved pager indicator.
* **Modern Status Cards:** The Module Status and Root Status are now displayed in stylish square cards with gradient backgrounds and clear iconography.
* **Todays Highlights" Section:** A new horizontally scrolling section has been added to showcase randomly recommended features in Apple-style cards.
* **Revamped Device Info:** The device and battery information sections have been redesigned into distinct, easy-to-read cards, including a prominent battery status card with a color-coded gradient.
* **Official Channel Card:** The link to the official channel is now presented as a large, clickable card with a gradient background.
* **Code Refactoring:** The composable functions in `MainHome.kt` have been completely refactored to implement the new design. Old components like `HUDCircularGauge`, `CutCornerShape`, and `SectionTitle` have been removed or replaced.
### Functional & Data Changes:
* **Real Battery Level:** The `DeviceInfo` data class now includes `chipSoc` to display the "real battery level" on the home screen.
* **Robust Carousel Loading:** The `HomeViewModel` now provides default placeholder data for the carousel to prevent crashes if the data fetch fails.
### Minor UI Adjustments:
* **Function & Module Screens:** The "Function" and "Module" screens have been updated to use the new `ModernSectionTitle` and have had padding adjusted to align with the new top bar design.
* **New String Resources:** Added new strings to support the updated UI, such as titles and subtitles for the new sections (e.g., "Todays Highlights, Featured).
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/7b40c05e69b7017273742e11e930d9d4402f6c8c)
GitHub
Style(UI): Revamp home screen with a modern, card-based design · suqi8/OShin@7b40c05
This commit overhauls the home screen (`MainHome.kt`), replacing the previous HUD-style layout with a modern, visually rich, card-based interface. The new design emphasizes clarity, aesthetics, and...
❤1
🚀 **OShin New CI Build!**
Fix(Icon): Ensure correct icon rendering for all apps
This commit resolves an issue where some application icons were rendered incorrectly or not at all. The problem stemmed from icons that had an intrinsic width or height of zero or less, which caused a crash during bitmap creation.
To fix this, the code now checks the and of the drawable icon. If either dimension is invalid (<= 0), it defaults to a safe size of 1x1. This ensures that is always called with positive dimensions, preventing crashes and allowing the icon to be rendered.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/c78b2e0cbb8c1b08cae4d199959a03657d5b7416)
Fix(Icon): Ensure correct icon rendering for all apps
This commit resolves an issue where some application icons were rendered incorrectly or not at all. The problem stemmed from icons that had an intrinsic width or height of zero or less, which caused a crash during bitmap creation.
To fix this, the code now checks the and of the drawable icon. If either dimension is invalid (<= 0), it defaults to a safe size of 1x1. This ensures that is always called with positive dimensions, preventing crashes and allowing the icon to be rendered.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/c78b2e0cbb8c1b08cae4d199959a03657d5b7416)
GitHub
Fix(Icon): Ensure correct icon rendering for all apps · suqi8/OShin@c78b2e0
This commit resolves an issue where some application icons were rendered incorrectly or not at all. The problem stemmed from icons that had an intrinsic width or height of zero or less, which cause...