Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

1208-bug-move-nft-from-child-broken - #1210

Merged
tombeckenham merged 2 commits into
masterfrom
1208-bug-move-nft-from-child-broken
Jul 24, 2025
Merged

1208-bug-move-nft-from-child-broken#1210
tombeckenham merged 2 commits into
masterfrom
1208-bug-move-nft-from-child-broken

Conversation

@tombeckenham

@tombeckenham tombeckenham commented Jul 24, 2025

Copy link
Copy Markdown
Contributor

Related Issue

Closes #1208

Summary of Changes

Turned off move from child until we can fix it properly. Send still seems to work
Also fixed back button on create new profile

Need Regression Testing

  • Yes
  • No

Risk Assessment

  • Low
  • Medium
  • High

Additional Notes

The user can still use send to send an nft from child to parent

@github-actions

github-actions Bot commented Jul 24, 2025

Copy link
Copy Markdown

PR Summary

Temporarily disabled the NFT move functionality from child chain due to missing script implementation. The change maintains the send functionality while preventing users from attempting to move NFTs, which was causing errors. Also improved the back button behavior in the registration flow to only appear when there's a valid history state.

Changes

File Summary
src/ui/views/Linked/LinkedNftDetail.tsx Commented out the Move button functionality and its related import (DetailMove). Added a TODO comment explaining that the feature is disabled due to missing script implementation.
src/ui/views/NFT/Detail.tsx Disabled the child NFT move functionality by setting canMoveChild state to false by default. Commented out the permission check effect that was failing due to missing script implementation.
src/ui/views/Welcome/Register/index.tsx Added smarter back button visibility logic in registration flow. Button now only shows when there's a valid history state to go back to, preventing navigation issues on the username step.

autogenerated by presubmit.ai

@tombeckenham
tombeckenham requested a review from zzggo July 24, 2025 00:10

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM!

Review Summary

Commits Considered (1)
  • 39d72a9: Turn off moving NFT from child until we can redo it

Closes #1208

Files Processed (2)
  • src/ui/views/Linked/LinkedNftDetail.tsx (3 hunks)
  • src/ui/views/NFT/Detail.tsx (1 hunk)
Actionable Comments (0)
Skipped Comments (3)
  • src/ui/views/NFT/Detail.tsx [54-54]

    maintainability: "State variable initialized but never used"

  • src/ui/views/Linked/LinkedNftDetail.tsx [483-483]

    best practice: "TODO comment with far future date"

  • src/ui/views/NFT/Detail.tsx [58-58]

    best practice: "TODO comment with far future date"

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM!

Review Summary

Commits Considered (1)
  • b493005: Corrected back button on create new profile

Closes #1208

Files Processed (1)
  • src/ui/views/Welcome/Register/index.tsx (3 hunks)
Actionable Comments (0)
Skipped Comments (1)
  • src/ui/views/Welcome/Register/index.tsx [72-73]

    readability: "Navigation condition could be simplified for better readability"

@tombeckenham
tombeckenham merged commit b21eb9b into master Jul 24, 2025
10 checks passed
@tombeckenham
tombeckenham deleted the 1208-bug-move-nft-from-child-broken branch July 24, 2025 00:56
@github-actions github-actions Bot mentioned this pull request Jul 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants