Skip to content

Fix deep linking config based on stack changes#1165

Merged
stevekuznetsov merged 1 commit intoNWACus:kevinherdez/mapProjectfrom
kevinherdez:kevinherdez/fixDeepLinkingMapProj
Apr 20, 2026
Merged

Fix deep linking config based on stack changes#1165
stevekuznetsov merged 1 commit intoNWACus:kevinherdez/mapProjectfrom
kevinherdez:kevinherdez/fixDeepLinkingMapProj

Conversation

@kevinherdez
Copy link
Copy Markdown
Collaborator

@kevinherdez kevinherdez commented Apr 2, 2026

This fixes the linking config for the new stack and introduces ObservationDetailViewModal.

The reason for the addition is that we want to show the ObservationDetailView from a modal instead of pushing it onto the stack. I decided to break this out into a separate view because the header that we show depending on if we're showing the modal or showing the stack is different, and I didn't want to overload NavigationStackHeader for this one use case.

Simulator Screen Recording - iPhone 17 Pro - 2026-04-02 at 16 25 09

@kevinherdez kevinherdez force-pushed the kevinherdez/fixDeepLinkingMapProj branch from ee1016f to 5413567 Compare April 8, 2026 00:58
@stevekuznetsov stevekuznetsov merged commit d8917e7 into NWACus:kevinherdez/mapProject Apr 20, 2026
@yuliadub
Copy link
Copy Markdown
Collaborator

this flow makes sense and looks very clean! my only thought here is that this modal doesnt have a "share" in there. not a big deal since someone shared it with me and I can go back to the text I got it from and copy and paste the link to share with someone else but it woudn't be an uncommon flow for someone to send me a link to an observation and then me wanting to send it someone else.

@kevinherdez
Copy link
Copy Markdown
Collaborator Author

Makes sense. We have this issue #1160 tracking a bigger discussion around how to make the details page better in terms of letting a user know where the observation is coming from. That could help this flow because it might feel a little crowded to have both the logo and the share button in the header

@kevinherdez kevinherdez deleted the kevinherdez/fixDeepLinkingMapProj branch April 22, 2026 17:22
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