Skip to content

feat: add Report an Issue button to SettingsScreen#94

Open
Vishakhayadavv wants to merge 1 commit into
Dev-Card:mainfrom
Vishakhayadavv:main
Open

feat: add Report an Issue button to SettingsScreen#94
Vishakhayadavv wants to merge 1 commit into
Dev-Card:mainfrom
Vishakhayadavv:main

Conversation

@Vishakhayadavv
Copy link
Copy Markdown

Summary

Adds a "Report an Issue" button to the SettingsScreen in the mobile app, allowing users to quickly contact support directly from the app's settings.

Closes #14


Type of Change

  • Bug fix
  • New feature
  • Refactor (no functional change)
  • UI / Design change
  • Tests only
  • Documentation
  • Infrastructure / DevOps
  • Security

What Changed

  • Added "Report an Issue" button to apps/mobile/src/screens/SettingsScreen.tsx
  • Used Linking.openURL with a mailto: scheme to open the device's native mail composer
  • Pre-filled support@devcard.dev as the recipient so users don't need to type it manually

How to Test

  1. Run the mobile app on an Android emulator or iOS simulator
  2. Navigate to the Settings screen
  3. Tap the "Report an Issue" button
  4. Verify that the native mail composer opens with support@devcard.dev pre-filled as the recipient

Checklist

  • My code follows the project's coding style (pnpm -r run lint passes).
  • TypeScript compiles without errors (pnpm -r run typecheck).
  • I have added or updated tests for the changes I made.
  • All tests pass locally (pnpm -r run test).
  • I have updated documentation where necessary.
  • No new console.log or debug statements left in the code.
  • Breaking changes are documented in this PR description.

@Vishakhayadavv
Copy link
Copy Markdown
Author

@ShantKhatri kindly review this and let me know if any changes are needed

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.

mobile: add 'Report Bug' action to SettingsScreen

1 participant