Skip to content

Add links to Privacy Policy and Terms of Use#108

Merged
rugged-bl merged 1 commit intomainfrom
privacy-terms-links
Dec 1, 2025
Merged

Add links to Privacy Policy and Terms of Use#108
rugged-bl merged 1 commit intomainfrom
privacy-terms-links

Conversation

@rugged-bl
Copy link
Contributor

No description provided.

@rugged-bl rugged-bl requested a review from Copilot December 1, 2025 19:47
Copy link
Contributor

Copilot AI left a comment

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 adds Privacy Policy and Terms of Use links throughout the application, along with several related improvements. The changes introduce a reusable LegalBlock component that displays clickable links to legal documents and integrates it into key user-facing screens.

Key changes:

  • Created a new LegalBlock composable component with links to Privacy Policy and Terms of Use
  • Added the legal block to the empty expenses screen and menu dialog
  • Introduced a safe URI opening utility function (openUriSafe) to handle potential failures gracefully
  • Updated string resources with legal-related text in both English and Russian

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
LegalBlock.kt New reusable component displaying Privacy Policy and Terms of Use links with click handlers
uris.kt New utility function for safely opening URIs with error handling
MenuDialog.kt Added legal block to menu dialog with appropriate callbacks
MenuViewModel.kt Added click handlers for privacy policy and terms of use navigation
MenuDialogDestination.kt Connected legal block callbacks to view model handlers
ExpensesPane.kt Integrated legal block into empty state screen with layout adjustments
strings.xml (ui-design) Added legal-related string resources in English and Russian
strings.xml (expenses) Fixed typo: "Your" → "Yours"
JoinEventViewModel.kt Standardized import alias naming convention (DesignRes)
JoinEventPane.kt Fixed preview function name to match component name
ui-design/build.gradle.kts Added dependency on ui-utils module for URI handling
AndroidManifest.xml Added deep link path pattern for event URLs

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

@rugged-bl rugged-bl merged commit eeea646 into main Dec 1, 2025
5 checks passed
@rugged-bl rugged-bl deleted the privacy-terms-links branch December 1, 2025 19: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.

2 participants