Skip to content

fix: item's location detail navigation issue#126

Merged
sirily11 merged 1 commit intomainfrom
navigation-fix
Mar 14, 2026
Merged

fix: item's location detail navigation issue#126
sirily11 merged 1 commit intomainfrom
navigation-fix

Conversation

@sirily11
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 14, 2026 15:47
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
storage-management Ready Ready Preview, Comment Mar 14, 2026 4:05pm

Request Review

Copy link
Copy Markdown

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

Fixes an iOS navigation gap where ItemDetailView couldn’t navigate to entity detail screens (notably Location) in some presentation contexts by ensuring entity destinations are registered.

Changes:

  • Add .entityNavigationDestinations() to ItemDetailView’s iOS navigation modifier chain.
  • Update the location navigation UI test to wait longer and attempt to interact with the Location detail bottom sheet.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
RxStorage/RxStorage/Views/Items/ItemDetailView.swift Registers entity navigation destinations while on ItemDetailView (iOS).
RxStorage/RxStorageUITests/RxStorageTagNavigationTests.swift Modifies the location navigation test flow (timeouts + sheet interactions).

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

You can also share your feedback on Copilot code review. Take the survey.

.navigationDestination(item: $selectedTagIdForNavigation) { tagId in
TagDetailView(tagId: tagId)
}
.entityNavigationDestinations()
Comment on lines +100 to +103
let element = app/*@START_MENU_TOKEN@*/ .buttons["Sheet Grabber"]/*[[".otherElements.buttons[\"Sheet Grabber\"]",".buttons[\"Sheet Grabber\"]"],[[[-1,1],[-1,0]]],[0]]@END_MENU_TOKEN@*/ .firstMatch
element/*@START_MENU_TOKEN@*/ .swipeUp()/*[[".swipeUp()",".swipeRight()"],[[[-1,1],[-1,0]]],[1]]@END_MENU_TOKEN@*/

element.swipeUp()
Comment on lines +105 to +112
// wait 30 seconds
app/*@START_MENU_TOKEN@*/ .buttons["item-row"]/*[[".buttons",".containing(.image, identifier: \"chevron.forward\")",".containing(.staticText, identifier: \"This is a public test item for E2E testing\")",".containing(.staticText, identifier: \"item-row\")",".cells.buttons",".otherElements",".buttons[\"Public Test Item, This is a public test item for E2E testing\"]",".buttons[\"item-row\"]"],[[[-1,7],[-1,6],[-1,5,2],[-1,4],[-1,0,1]],[[-1,3],[-1,2],[-1,1]],[[-1,7],[-1,6]]],[0]]@END_MENU_TOKEN@*/ .firstMatch.tap()

app.staticTexts["Test Category"].firstMatch.tap()
app.navigationBars.buttons.firstMatch.tap()

app.staticTexts["Test Author"].firstMatch.tap()
app.navigationBars.buttons.firstMatch.tap()
@sirily11 sirily11 merged commit 153f8ec into main Mar 14, 2026
14 checks passed
@sirily11 sirily11 deleted the navigation-fix branch March 14, 2026 16:37
@sirily11
Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 1.11.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants