Skip to content

Pr 20 - #21

Merged
syed-reza98 merged 7 commits into
afsan-workpacefrom
pr-20
May 4, 2026
Merged

Pr 20#21
syed-reza98 merged 7 commits into
afsan-workpacefrom
pr-20

Conversation

@syed-reza98

Copy link
Copy Markdown
Member

No description provided.

syed-reza98 and others added 6 commits May 4, 2026 04:21
Add multiple accessibility fixes and align Android launch visuals: register semantic actions for bottom nav and center FAB so TalkBack/UiAutomator can activate tabs; add descriptive Semantics/ExcludeSemantics wrappers for Add Pet wizard (progress bar + animal options), pet profile (stats, header buttons, Add Pet avatar), home/marketplace badges and promo banner to prevent duplicated or missing screen-reader output; enhance Pet Care progress semantics and ProgressRing labels. Also replace the white launch background with a dark splash color (#0F0E0C) via a new colors.xml and update styles.xml to use the dark launch theme to eliminate the white flash. These changes improve accessibility, automated testing reliability, and brand-consistent launch visuals.
Add .gemini/settings.json to register an mcpServer 'appium-mcp' that runs 'npx -y appium-mcp@latest'. Update android/gradle.properties to enable the Windows Android Studio JBR as org.gradle.java.home (uncommented) and comment out the Linux java-21-openjdk entry so the build uses the intended JDK/toolchain.
## Summary

Draft PR for branch \cursor-review-implement\ into \main\.

### Included work (existing commits only)
- Audits, integration test harness, bootstrap, theme switching, and
related project updates.
- Attachments flow and chat UX, pet selectors, achievements/badges in
settings, search fixes, and other UI/controller changes from the review
pass.

### Notes
- Opened as **draft** for review; no additional commits were made for
this PR.

### How to verify
- \lutter analyze\
- Run on Android emulator and spot-check: Home, Search, Discovery, Pet
Care, Chat, Settings, notifications.

Made with [Cursor](https://cursor.com)
@syed-reza98
syed-reza98 marked this pull request as ready for review May 4, 2026 15:37
Copilot AI review requested due to automatic review settings May 4, 2026 15:37

Copilot AI left a comment

Copy link
Copy Markdown

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 primarily implements UI accessibility improvements (Semantics/Tooltips) across multiple Flutter screens, adds some Marketplace UI enhancements (promo banner, extra categories, order-history entry point), and tweaks Android splash theming resources to avoid a white flash at launch.

Changes:

  • Added/updated Semantics, Tooltip, and ExcludeSemantics wrappers to improve screen-reader output for navigation, badges, profile stats, progress indicators, and action icons.
  • Updated Marketplace UI with an order history button, a new promo banner, and additional category chips; removed unused widgets/imports.
  • Adjusted Android launch theme/background resources for a consistently dark splash.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
lib/views/pet_profile_screen.dart Adds labeled Settings/Sign out actions and improves semantics for “Add pet” and stat readouts.
lib/views/pet_care_screen.dart Adds semantics for checklist progress and progress ring announcements.
lib/views/marketplace_screen.dart Adds Order History button, promo banner semantics, and more categories; removes unused code.
lib/views/main_layout.dart Adds explicit semantics labels/hints/actions to bottom navigation and center FAB.
lib/views/home_screen.dart Excludes notification/message badge counts from semantics to avoid double-reading.
lib/views/adoption_center_screen.dart Removes unused imports.
lib/views/add_pet_screen.dart Adds semantics for step progress and animal-type selection tiles.
lib/repositories/feed_repository.dart Updates post payload construction (currently introduces a Dart syntax error).
docs/plan/cursor_ui_ux_audit_of_flutter_app.md Adds an exported UI/UX audit document.
android/gradle.properties Changes Gradle JDK configuration (currently hardcodes a Windows-specific JDK path).
android/app/src/main/res/values/styles.xml Updates launch/normal themes to use a dark theme.
android/app/src/main/res/values/colors.xml Adds splashBackground color resource (comment contains an encoding artifact).
android/app/src/main/res/drawable/launch_background.xml Points splash background at @color/splashBackground.
.gemini/settings.json Adds Gemini MCP server settings for appium-mcp.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +272 to +274
'location': ?location,
'tagged_pet_ids': ?taggedPetIds,
'tagged_pet_names': ?taggedPetNames,
Comment thread android/gradle.properties
Comment on lines +4 to 6
org.gradle.java.home=C:\\Program Files\\Android\\Android Studio\\jbr
# Enable parallel build to speed up the build process
org.gradle.parallel=true
Comment on lines +3 to +4
<!-- PetSphere dark surface � matches app theme background (#0F0E0C) -->
<color name="splashBackground">#0F0E0C</color>
@syed-reza98
syed-reza98 merged commit 77b5d2f into afsan-workpace May 4, 2026
@syed-reza98
syed-reza98 deleted the pr-20 branch May 4, 2026 16:54
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.

3 participants