Skip to content

fix: nft detail ui#1291

Merged
jaymengxy merged 1 commit intomasterfrom
feature/erc1155
Jul 10, 2025
Merged

fix: nft detail ui#1291
jaymengxy merged 1 commit intomasterfrom
feature/erc1155

Conversation

@jaymengxy
Copy link
Copy Markdown
Contributor

Related Issue

Closes #1241

Summary of Changes

Need Regression Testing

  • Yes
  • No

Risk Assessment

  • Low
  • Medium
  • High

Additional Notes

Screenshots (if applicable)

@jaymengxy jaymengxy requested a review from lmcmz July 10, 2025 04:23
@jaymengxy jaymengxy self-assigned this Jul 10, 2025
@jaymengxy jaymengxy requested a review from a team as a code owner July 10, 2025 04:23
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 10, 2025

PR Summary

Removed NFT favorite collection functionality and sharing capabilities from the NFT detail page. Simplified the NFT send confirmation flow by removing automatic navigation to the NFT tab after transaction submission. These changes streamline the UI and user experience by focusing on core NFT viewing and transfer functionality.

Changes

File Summary
app/src/main/java/com/flowfoundation/wallet/page/nft/nftdetail/presenter/NftDetailPresenter.kt Removed favorite collection button, sharing capabilities, and related UI elements. Cleaned up unused imports and removed associated layout parameters. Simplified the NFT detail view to focus on core display functionality.
app/src/main/java/com/flowfoundation/wallet/page/send/nft/confirm/presenter/NftSendConfirmPresenter.kt Removed automatic navigation to NFT tab after transaction completion. Simplified transaction completion handling by only dismissing the confirmation dialog on success, rather than forcing navigation.

autogenerated by presubmit.ai

Copy link
Copy Markdown

@github-actions github-actions Bot 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 needs attention.

Review Summary

Commits Considered (1)
Files Processed (2)
  • app/src/main/java/com/flowfoundation/wallet/page/nft/nftdetail/presenter/NftDetailPresenter.kt (8 hunks)
  • app/src/main/java/com/flowfoundation/wallet/page/send/nft/confirm/presenter/NftSendConfirmPresenter.kt (4 hunks)
Actionable Comments (1)
  • app/src/main/java/com/flowfoundation/wallet/page/send/nft/confirm/presenter/NftSendConfirmPresenter.kt [102-102]

    possible bug: "Incomplete dialog dismissal logic"

Skipped Comments (1)
  • app/src/main/java/com/flowfoundation/wallet/page/send/nft/confirm/presenter/NftSendConfirmPresenter.kt [34-34]

    possible issue: "Missing error handling in async operation"

list.add(0, sendModel.target)
recentCache.contacts = list
recentTransactionCache().cache(recentCache)
uiScope { fragment.dismissAllowingStateLoss() }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The dialog is only dismissed on success but there's no handling for the failure case. This could leave the dialog hanging if the transaction fails. Consider adding dialog dismissal logic for both success and failure cases.

@jaymengxy jaymengxy merged commit 066b7d4 into master Jul 10, 2025
3 checks passed
@jaymengxy jaymengxy deleted the feature/erc1155 branch July 10, 2025 04:24
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