Skip to content

Make Locations Hyperlinks#150

Merged
Heliophist merged 2 commits into
mainfrom
location-links-markdown
May 25, 2026
Merged

Make Locations Hyperlinks#150
Heliophist merged 2 commits into
mainfrom
location-links-markdown

Conversation

@Pramad712
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 25, 2026 01:10
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 25, 2026

🚀 Expo preview is ready!

  • Project → audacity-music-club
  • Platforms → android, ios
  • Runtime Version → 1.0.0
  • More info

Learn more about 𝝠 Expo Github Action

Copy link
Copy Markdown
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 aims to make event “Location” fields behave like hyperlinks by rendering them via Markdown and routing link taps through the app’s openURL() helper, while removing the prior “open in maps” utility approach.

Changes:

  • Removed maybeOpenURL() and openInMaps() utilities from src/utils/index.js.
  • Replaced “tap location to open maps” interactions with react-native-markdown-display rendering for location on the opportunity detail and signup form screens.
  • Updated Markdown link handling on the opportunity screen’s description to use the standardized openURL() helper.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
src/utils/index.js Removes URL/map helper functions and updates the utilities header comment (currently inconsistent with exports).
src/screens/VolunteerOpportunityScreen.js Renders location with Markdown and routes link presses through openURL().
src/screens/VolunteerFormScreen.js Renders location with Markdown and routes link presses through openURL().
src/components/VolunteerOpportunity.js Renders location with Markdown in the opportunity preview card.

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

Comment thread src/utils/index.js
Comment thread src/screens/VolunteerOpportunityScreen.js
Comment thread src/screens/VolunteerFormScreen.js
Comment thread src/components/VolunteerOpportunity.js
Comment thread src/screens/VolunteerFormScreen.js
@Heliophist Heliophist self-requested a review May 25, 2026 01:22
Copy link
Copy Markdown
Contributor

@Heliophist Heliophist left a comment

Choose a reason for hiding this comment

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

Good

@Heliophist Heliophist merged commit 6c4330e into main May 25, 2026
5 checks passed
@Pramad712 Pramad712 deleted the location-links-markdown branch May 25, 2026 01:25
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