Skip to content

Feature/about#196

Merged
omeritzics merged 2 commits intomainfrom
feature/about
Mar 3, 2026
Merged

Feature/about#196
omeritzics merged 2 commits intomainfrom
feature/about

Conversation

@omeritzics
Copy link
Owner

No description provided.

@omeritzics omeritzics merged commit d655643 into main Mar 3, 2026
8 checks passed
@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces an 'About' section to the application, accessible via a new floating action button on the settings page. This enhancement provides users with quick access to application details, including version, copyright, and links to the project's source code and documentation, improving transparency and user information.

Highlights

  • About Dialog Functionality: Implemented a new private method, _showAboutDialog, to display an 'About' dialog for the application. This dialog includes the application name ('Updatium'), version ('26.2'), an application icon, a description, copyright information, and TextButton links to the app's GitHub repository and wiki.
  • Floating Action Button Integration: Integrated a FloatingActionButton into the Scaffold of the SettingsPage. This button, displaying an Icons.info icon, triggers the _showAboutDialog function when pressed, providing easy access to the application's 'About' information.
Changelog
  • lib/pages/settings.dart
    • Added _showAboutDialog function to display application information.
    • Introduced a FloatingActionButton to the SettingsPage to open the 'About' dialog.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@omeritzics omeritzics deleted the feature/about branch March 3, 2026 08:58
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces an 'About' dialog on the settings page, accessible through a new Floating Action Button. The implementation is sound, but my review focuses on improving maintainability by addressing several hardcoded values. I've suggested replacing the static application version, copyright year, and URLs with dynamic or constant values to make the code more robust and easier to update in the future.

showAboutDialog(
context: context,
applicationName: 'Updatium',
applicationVersion: '26.2',

Choose a reason for hiding this comment

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

medium

The application version is hardcoded. This can easily get out of sync with the version in pubspec.yaml. It's recommended to fetch this dynamically at runtime. You can use the package_info_plus package for this, which would involve adding it as a dependency and making _showAboutDialog an async function to await the package information.

children: [
Text(tr('updateYourAndroidAppsDirectlyFromTheAPKSource')),
const SizedBox(height: 16),
Text('© 2026 Omer I.S. (@omeritzics)'),

Choose a reason for hiding this comment

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

medium

The copyright year is hardcoded as 2026, which will become outdated. It's better to use the current year dynamically.

Suggested change
Text(2026 Omer I.S. (@omeritzics)'),
Text(${DateTime.now().year} Omer I.S. (@omeritzics)'),

Comment on lines +109 to +126
TextButton(
onPressed: () {
launchUrlString(
'https://github.com/omeritzics/Updatium',
mode: LaunchMode.externalApplication,
);
},
child: Text(tr('appSource')),
),
TextButton(
onPressed: () {
launchUrlString(
'https://github.com/omeritzics/Updatium/wiki',
mode: LaunchMode.externalApplication,
);
},
child: Text(tr('wiki')),
),

Choose a reason for hiding this comment

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

medium

The URLs for the app source and wiki are hardcoded. It appears the SettingsProvider already provides a sourceUrl. Reusing it here would improve maintainability and reduce code duplication. The wiki URL can be constructed from the base source URL.

Suggested change
TextButton(
onPressed: () {
launchUrlString(
'https://github.com/omeritzics/Updatium',
mode: LaunchMode.externalApplication,
);
},
child: Text(tr('appSource')),
),
TextButton(
onPressed: () {
launchUrlString(
'https://github.com/omeritzics/Updatium/wiki',
mode: LaunchMode.externalApplication,
);
},
child: Text(tr('wiki')),
),
TextButton(
onPressed: () {
final settingsProvider = context.read<SettingsProvider>();
launchUrlString(
settingsProvider.sourceUrl,
mode: LaunchMode.externalApplication,
);
},
child: Text(tr('appSource')),
),
TextButton(
onPressed: () {
final settingsProvider = context.read<SettingsProvider>();
launchUrlString(
'${settingsProvider.sourceUrl}/wiki',
mode: LaunchMode.externalApplication,
);
},
child: Text(tr('wiki')),
),

omeritzics added a commit that referenced this pull request Mar 3, 2026
* Fix icon caching

* Fix

* style: auto-fix linting and formatting issues

* Quality

* style: auto-fix linting and formatting issues

* Optimize speed

* style: auto-fix linting and formatting issues

* Revert "style: auto-fix linting and formatting issues"

This reverts commit ab9727a.

* Revert "Optimize speed"

This reverts commit ea53327.

* Update nightly.yml

* Update README.md

* style: auto-fix linting and formatting issues

* Unify Flutter icon cache

* style: auto-fix linting and formatting issues

* Fix icon cache

* Migrate to built-in Flutter's design components

* Update Flutter

* style: auto-fix linting and formatting issues

* Fix builds

* Fixed icons

* style: auto-fix linting and formatting issues

* Fix build?

* Change app ID to io.github.omeritzics.updatium

* style: auto-fix linting and formatting issues

* Update README.md

* Update README.md

* Update README.md

* Attempt to fix Material You colors breaking design

* Move filter icon to the top

* style: auto-fix linting and formatting issues

* Move the grid view button to the top

* UI improvments

* style: auto-fix linting and formatting issues

* Update readme

* Update readme

* Update readme

* Fix build

* style: auto-fix linting and formatting issues

* Fix overflow

* style: auto-fix linting and formatting issues

* Fix signing problem(?)

* Fix build?

* Fix

* Release build fix

* Update Nightly builds

* Update Nightly builds

* Revert "Release build fix"

This reverts commit 257307d.

* Revert "Update Nightly builds"

This reverts commit 91b8f47.

* Fix release build?

* Update release.yml

* Update release.yml

* Update README.md

* Update release.yml

* UI fix

* Update Hebrew

* Bump SDK version

* Update Hebrew

* Fix Waydroid

* style: auto-fix linting and formatting issues

* style: auto-fix linting and formatting issues

* Revert "Fix Waydroid"

This reverts commit d879ba1.

* Add nightly-signed.yml

* Update nightly-signed.yml

* Update workflows

* Fix

* Should fix signed builds

* style: auto-fix linting and formatting issues

* Update pubspec.lock

* Replace flutter_keyboard_visibility

* style: auto-fix linting and formatting issues

* Replace shared_storage with docman

* style: auto-fix linting and formatting issues

* Fix typos

* style: auto-fix linting and formatting issues

* Another fix

* style: auto-fix linting and formatting issues

* Update dependencies

* Fix

* Delete .github/workflows/qama-unsigned.yml

* Fix?

* style: auto-fix linting and formatting issues

* Fix errors?

* Now it should fix the signing

* Another fix

* Another fix attempt

* Fix nightly.yml

* Try to add a different icon for the Nighly builds. #165

* Nightly new branding

* Sign Nightly builds by default

* Prepare for the new release

* A message about unofficial sources

* Fix the nightly build

* Some bug fixes

* style: auto-fix linting and formatting issues

* Revert "Fix the nightly build"

This reverts commit 9a1d9cd.

* Revert "Fix nightly.yml"

This reverts commit 0a68335.

* Revert "Nightly new branding"

This reverts commit 3e141c6.

* Revert "Try to add a different icon for the Nighly builds. #165"

This reverts commit 02dd713.

* Some more fixes

* Improve pure black theme

* Attempt to fix grid view bug

* Material You bug fix

* style: auto-fix linting and formatting issues

* Update badge style for GitHub release link

* Bug fixes

* style: auto-fix linting and formatting issues

* Selection fix

* UX/UI fixes

* style: auto-fix linting and formatting issues

* Update supported app sources in README

* Fix build

* style: auto-fix linting and formatting issues

* Selection fix #2

* style: auto-fix linting and formatting issues

* Fix spacing

* Revert "Fix spacing"

This reverts commit 1289296.

* Add consistent spacing constants to app pages

* style: auto-fix linting and formatting issues

* Fix duplicate spacing constants compilation errors

* Fix height16 scope issue in showChangeLogDialog

* style: auto-fix linting and formatting issues

* Add Fastlane supply metadata validation step

Added a step to validate Fastlane supply metadata in the lint workflow.

* Add Fastlane Supply Metadata validation job

Added a new job to validate Fastlane Supply Metadata in the lint workflow.

* Remove 'go' job from lint workflow

Removed the 'go' job and its associated steps from the lint workflow.

* Enhance nightly workflow with linting and formatting

Add steps to auto-fix linting issues and format code in nightly workflow.

* Enhance CI workflow with linting and formatting steps

Added steps to auto-fix linting issues and format code in CI workflow.

* Add auto-fix linting and formatting steps to workflow

Added steps to auto-fix linting issues and format code before committing changes.

* Delete .github/workflows/lint.yml

* Delete .github/workflows/dependency-review.yml

* Fix updateAppIcon method parameter reference error

* Fix #168

* Fix icons in the app view page

* style: auto-fix linting and formatting issues

* style: auto-fix linting and formatting issues

* Remove grid view from the code

* Re-add grid view from Qama v26.1

* style: auto-fix linting and formatting issues

* Fix typo

* Fix formatting in localization section of README

* Fix grid

* Fix design inconsistency

* style: auto-fix linting and formatting issues

* Fix app.dart

* Delete renovate.json

* style: auto-fix linting and formatting issues

* fix export error

* style: auto-fix linting and formatting issues

* Quick bug fix

* style: auto-fix linting and formatting issues

* Add renovate.json

* chore(deps): update google/osv-scanner-action action to v2.3.3

* chore(deps): update gradle to v9.3.1

* chore(deps): update plugin org.jetbrains.kotlin.android to v2.3.10

* chore(deps): update actions/github-script action to v8

* chore(deps): update actions/upload-artifact action to v7

* chore(deps): update stefanzweifel/git-auto-commit-action action to v7

* Another bugfix

* Update lib/providers/apps_provider.dart

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update BUTTON_MIGRATION_GUIDE.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update lib/examples/refactored_icon_pipeline_example.dart

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update lib/examples/refactored_icon_pipeline_example.dart

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update assets/translations/README.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* chore(deps): update actions/checkout action to v6

* chore(deps): update actions/github-script action to v8

* style: auto-fix linting and formatting issues

* Fix workflows

* chore(deps): update dependency node to v24

* chore(deps): update actions/setup-node action to v6

* Update translations.yml

* chore(deps): update dependency node to v24

* Migrate some design components to the official Flutter ones

* 🌐 Add missing translation keys for export functionality

* Fix workflow

* chore(deps): update actions/checkout action to v6

* style: auto-fix linting and formatting issues

* add about (#196)

* M3 Expressive update (#194)

* M3 Expressive update

* Update lib/main.dart

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* commit

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* chore(deps): update stefanzweifel/git-auto-commit-action action to v7 (#198)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update peter-evans/create-pull-request action to v8 (#197)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
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.

1 participant