Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add report button functionality - open email app #484

Merged
merged 11 commits into from
Dec 11, 2024

Conversation

24bartixx
Copy link
Member

@24bartixx 24bartixx commented Dec 11, 2024

What has been done

  • navigate to an email app on the report button click
  • handle digital guide data source tap
Orange option final toast

@mikolaj-jalocha
Copy link
Member

Imo toast should be shown at the bottom of the screen with transparent or white background. You can consider snackbar as well :)

Ps i like way the pr has been described:)

@24bartixx

This comment was marked as outdated.

@24bartixx

This comment was marked as resolved.

@mikolaj-jalocha

This comment was marked as resolved.

@24bartixx 24bartixx linked an issue Dec 11, 2024 that may be closed by this pull request
@24bartixx

This comment was marked as outdated.

@24bartixx 24bartixx marked this pull request as draft December 11, 2024 13:37
@mikolaj-jalocha mikolaj-jalocha changed the title feat: add report button functionality - open email app feat: add report button functionality - open email app - WIP 🛠️ Dec 11, 2024
@24bartixx 24bartixx marked this pull request as ready for review December 11, 2024 13:43
@24bartixx 24bartixx changed the title feat: add report button functionality - open email app - WIP 🛠️ feat: add report button functionality - open email app Dec 11, 2024
Copy link
Member

@mikolaj-jalocha mikolaj-jalocha left a comment

Choose a reason for hiding this comment

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

Please see the comments

@24bartixx 24bartixx marked this pull request as draft December 11, 2024 16:13
@24bartixx 24bartixx changed the title feat: add report button functionality - open email app feat: add report button functionality - open email app - WIP 🛠️ Dec 11, 2024
@24bartixx 24bartixx marked this pull request as ready for review December 11, 2024 17:15
@24bartixx 24bartixx changed the title feat: add report button functionality - open email app - WIP 🛠️ feat: add report button functionality - open email app Dec 11, 2024
Copy link
Member

@mikolaj-jalocha mikolaj-jalocha left a comment

Choose a reason for hiding this comment

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

final touches

Copy link
Member

@mikolaj-jalocha mikolaj-jalocha left a comment

Choose a reason for hiding this comment

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

lgtm, good work. Tbh simillar mechanism could be implemented everywhere else in the app when email is requested. Fell free to embrace it if u have enough time

Comment on lines 28 to 30
if (!await ref.launch(
"mailto:${context.localize.report_change_email}?subject=${Uri.encodeComponent(context.localize.report_change_subject)}",
)) {
Copy link
Member

Choose a reason for hiding this comment

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

this could be stored inside variable but i leave it up to you if u want to change it.

@mikolaj-jalocha mikolaj-jalocha merged commit 489b8a0 into main Dec 11, 2024
2 checks passed
@mikolaj-jalocha mikolaj-jalocha deleted the feat/report-change-functionality branch December 11, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

feat (digital-guide): implement report change functionality
2 participants