[PR #5379] [MERGED] [PM-22780] Migrate BitwardenHorizontalDivider to ui module #5716

Closed
opened 2025-11-27 00:13:08 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/5379
Author: @SaintPatrck
Created: 6/17/2025
Status: Merged
Merged: 6/18/2025
Merged by: @SaintPatrck

Base: mainHead: ui-module/PM-22780_bitwarden-horizontal-divider


📝 Commits (1)

  • d946625 [PM-22780] Migrate BitwardenHorizontalDivider to ui module

📊 Changes

14 files changed (+22 additions, -45 deletions)

View changed files

📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/account/BitwardenAccountSwitcher.kt (+1 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/button/BitwardenTextSelectionButton.kt (+1 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/dialog/BitwardenSelectionDialog.kt (+1 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/dialog/BitwardenTwoButtonDialog.kt (+1 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/field/BitwardenPasswordField.kt (+1 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/field/BitwardenTextField.kt (+1 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/row/BitwardenTextRow.kt (+1 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/toggle/BitwardenSwitch.kt (+1 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/debugmenu/DebugMenuScreen.kt (+1 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/settings/accountsecurity/PinInputDialog.kt (+1 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/settings/autofill/blockautofill/AddEditBlockedUriDialog.kt (+1 -1)
authenticator/src/main/kotlin/com/bitwarden/authenticator/ui/platform/components/divider/BitwardenHorizontalDivider.kt (+0 -30)
📝 authenticator/src/main/kotlin/com/bitwarden/authenticator/ui/platform/feature/debugmenu/DebugMenuScreen.kt (+10 -3)
📝 ui/src/main/kotlin/com/bitwarden/ui/platform/components/divider/BitwardenHorizontalDivider.kt (+1 -1)

📄 Description

🎟️ Tracking

PM-22780

📔 Objective

The BitwardenHorizontalDivider composable has been moved from the app and authenticator modules to the ui module.

This change centralizes the component for better reusability and maintainability across different modules. Import statements in various files have been updated to reflect the new location of the divider. The implementation of BitwardenHorizontalDivider itself remains unchanged.

📸 Screenshots

Before After
image image
image image

Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/5379 **Author:** [@SaintPatrck](https://github.com/SaintPatrck) **Created:** 6/17/2025 **Status:** ✅ Merged **Merged:** 6/18/2025 **Merged by:** [@SaintPatrck](https://github.com/SaintPatrck) **Base:** `main` ← **Head:** `ui-module/PM-22780_bitwarden-horizontal-divider` --- ### 📝 Commits (1) - [`d946625`](https://github.com/bitwarden/android/commit/d9466251f100e23d90c337c13c2be424c2dcf31c) [PM-22780] Migrate BitwardenHorizontalDivider to ui module ### 📊 Changes **14 files changed** (+22 additions, -45 deletions) <details> <summary>View changed files</summary> 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/account/BitwardenAccountSwitcher.kt` (+1 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/button/BitwardenTextSelectionButton.kt` (+1 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/dialog/BitwardenSelectionDialog.kt` (+1 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/dialog/BitwardenTwoButtonDialog.kt` (+1 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/field/BitwardenPasswordField.kt` (+1 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/field/BitwardenTextField.kt` (+1 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/row/BitwardenTextRow.kt` (+1 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/components/toggle/BitwardenSwitch.kt` (+1 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/debugmenu/DebugMenuScreen.kt` (+1 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/settings/accountsecurity/PinInputDialog.kt` (+1 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/platform/feature/settings/autofill/blockautofill/AddEditBlockedUriDialog.kt` (+1 -1) ➖ `authenticator/src/main/kotlin/com/bitwarden/authenticator/ui/platform/components/divider/BitwardenHorizontalDivider.kt` (+0 -30) 📝 `authenticator/src/main/kotlin/com/bitwarden/authenticator/ui/platform/feature/debugmenu/DebugMenuScreen.kt` (+10 -3) 📝 `ui/src/main/kotlin/com/bitwarden/ui/platform/components/divider/BitwardenHorizontalDivider.kt` (+1 -1) </details> ### 📄 Description ## 🎟️ Tracking PM-22780 ## 📔 Objective The `BitwardenHorizontalDivider` composable has been moved from the `app` and `authenticator` modules to the `ui` module. This change centralizes the component for better reusability and maintainability across different modules. Import statements in various files have been updated to reflect the new location of the divider. The implementation of `BitwardenHorizontalDivider` itself remains unchanged. ## 📸 Screenshots | Before | After | |--------|--------| | <img width="365" alt="image" src="https://github.com/user-attachments/assets/acbcadb9-7b2f-4cf6-980e-da7638e4b8b2" /> | <img width="365" alt="image" src="https://github.com/user-attachments/assets/845d7ee8-857f-4249-a771-e4b9553fa1e6" /> | | <img width="365" alt="image" src="https://github.com/user-attachments/assets/2df282b5-aa79-4fed-a5c2-2fb17f65af5f" /> | <img width="365" alt="image" src="https://github.com/user-attachments/assets/97a767bf-c577-475e-8260-d79274401ab6" /> | ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Protected functional changes with optionality (feature flags) - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-27 00:13:08 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#5716