Skip to content

Adjust the SwiftUI LCP dialog #611

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

mickael-menu
Copy link
Member

Copy link

@Copilot 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 adjusts the LCP dialog in the SwiftUI interface by refining its text components and layout. Key changes include:

  • Removal of the "forgotYourPassphrase.help" localized string from the English localization file.
  • Updates to the LCPDialog view including removal of explicit spacing and help text within a DisclosureGroup.
  • Reorganization of the footer hint display to enhance UI consistency.

Reviewed Changes

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

File Description
Sources/LCP/Resources/en.lproj/Localizable.strings Removed an unused localized string key to match updated UI requirements.
Sources/LCP/Authentications/LCPDialog.swift Modified layout in the DisclosureGroup by removing spacing parameters and help text, and repositioned the footer hint.
Comments suppressed due to low confidence (3)

Sources/LCP/Resources/en.lproj/Localizable.strings:12

  • Removal of the 'forgotYourPassphrase.help' localized string suggests corresponding UI changes. Please confirm that there are no remaining references to this key elsewhere in the UI.
"ReadiumLCP.dialog.forgotYourPassphrase.help" = "Forgot your passphrase? Use the button below to request a new one from your library or bookstore.";

Sources/LCP/Authentications/LCPDialog.swift:159

  • [nitpick] The removal of the help text for forgotten passphrases may impact user guidance. Confirm that this change was intentional and that the updated user flow still provides adequate assistance.
-                    Text(ReadiumLCPLocalizedStringKey("dialog.forgotYourPassphrase.help"))

Sources/LCP/Authentications/LCPDialog.swift:153

  • Changing from 'VStack(spacing: 16)' to 'VStack' may affect the intended layout spacing. Please verify that using the default spacing aligns with design requirements.
VStack {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants