Skip to content

improving the app's visual consistency and code quality#5

Merged
Lil-Code30 merged 15 commits into
li-devfrom
view-2
Apr 20, 2026
Merged

improving the app's visual consistency and code quality#5
Lil-Code30 merged 15 commits into
li-devfrom
view-2

Conversation

@Lil-Code30
Copy link
Copy Markdown
Member

This pull request focuses on improving the app's visual consistency and code quality. The main changes include updating app icons for all platforms, refining component styling for a more polished UI, and cleaning up code formatting and imports across several files.

App icon and asset updates:

  • Updated the app icon paths in app.json for iOS, Android, and web, and added platform-specific icons for a more consistent branding experience.
  • Added a comprehensive set of icon assets for various Apple devices in assets/AppIcons/Assets.xcassets/AppIcon.appiconset/Contents.json.

Component style refinements:

  • Improved styles in Header, InputField, PrimaryButton, and PetitionCard components: increased heights, adjusted paddings, margins, line heights, and font weights for better visual alignment and accessibility. [1] [2] [3] [4] [5] [6] [7] [8]

Code formatting and import cleanup:

  • Standardized import statements to use double quotes and alphabetized imports for better readability in component and navigation files. [1] [2] [3] [4]
  • Updated icon imports in navigation to use MaterialIcons instead of Feather for a more unified icon set.

These changes collectively enhance the app's UI consistency, maintainability, and overall user experience.

…ency

- Reorganized imports for better structure
- Updated text formatting for better readability
- Standardized string quotes to double quotes
- Enhanced layout styles for consistency
- Improved conditional rendering and mapping of petitions
- Added spacing and alignment adjustments for UI elements
Add full AppIcons asset set (iOS AppIcon.appiconset and Android mipmap variants) and introduce appstore/playstore PNGs. Update app.json to use the new local icons for general icon, ios icon, android icon/adaptive foreground, and web favicon (also set adaptive background to #ffffff). Replace remote avatar image URIs in HomeScreen and CreatePetitionScreen with local require(...) references to the new playstore asset to ensure consistent, offlineable branding.
Update LoginScreen and RegisterScreen to use async auth flows and a shared navigateAfterAuth helper. Inputs are validated early (with alerts), email/name are trimmed/lowercased, and auth calls now use the updated auth store API (LoginScreen calls login(email), RegisterScreen uses register(name, email)). Navigation now respects returnTo by going back or navigating into the Tabs stack ({ screen: returnTo }). Added try/catch to surface failures with alerts.
@Lil-Code30 Lil-Code30 merged commit 977b3de into li-dev Apr 20, 2026
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