Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

AboutAppDialog from the TopMenuPopup#75

Merged
AdamGrzybkowski merged 8 commits intotrunkfrom
adam/GRA-582
Jul 24, 2025
Merged

AboutAppDialog from the TopMenuPopup#75
AdamGrzybkowski merged 8 commits intotrunkfrom
adam/GRA-582

Conversation

@AdamGrzybkowski
Copy link
Contributor

@AdamGrzybkowski AdamGrzybkowski commented Jul 23, 2025

Description

This PR implements the AboutAppDialog on all tabs where the menu button is visible.

The AppVersion is injected from the :app module.

Screenshot_20250723_212438

Testing Steps

  1. Launch the app
  2. Open the menu and tap "About this app" on each tab
  3. Confirm you see the dialog
  4. Tap on the URLs, email to verify the click listeners
  5. Dismiss it
  6. Confirm it's gone

@AdamGrzybkowski AdamGrzybkowski added the enhancement New feature or request label Jul 23, 2025
Copy link
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 implements an "About App" dialog accessible through the top menu popup across all tabs where the menu button is visible. The implementation adds new events and UI state handling for showing/dismissing the dialog, along with dependency injection for app version information.

  • Adds AboutAppDialog component with app information, support links, and legal links
  • Integrates the dialog into all three main tabs (Profile, Gravatar, Share) with consistent state management
  • Sets up AppVersion injection from the app module to display version information

Reviewed Changes

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

Show a summary per file
File Description
AboutAppDialog.kt New dialog component displaying app version, support links, and legal information
TopBarPickerPopup.kt Adds "About this app" menu item with callback handling
Profile/Gravatar/Share ViewModels/Events/UiState Adds dialog visibility state and event handling for each tab
AppVersion.kt New value class for app version injection
BuildConfigModule.kt DI module providing app version from BuildConfig
strings.xml Adds new string resources for dialog content
Comments suppressed due to low confidence (1)

Copy link

@hamorillo hamorillo left a comment

Choose a reason for hiding this comment

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

Looks great! 🚀

@OptIn(ExperimentalMaterial3Api::class)
@Composable
internal fun AboutAppDialog(
visible: Boolean,

Choose a reason for hiding this comment

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

I don't usually like this approach, as we are adding an unnecessary composable that will always be there. Not a big deal, I understand that it's convenient in some cases.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No strong opinions here, I removed it.

@AdamGrzybkowski AdamGrzybkowski merged commit 07b1bb9 into trunk Jul 24, 2025
10 of 11 checks passed
@AdamGrzybkowski AdamGrzybkowski deleted the adam/GRA-582 branch July 24, 2025 14:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants