Repository navigation
Fix/fe envelope owner and send flow - #14
Merged
Merged
Conversation
After sending, the previous owner could open the envelope from the Sent screen and keep adding assets. Remove the View Envelope button from the Sent screen, and show an owner-only notice on /envelopes/[tokenId] and /envelopes/[tokenId]/add for anyone who is not the current owner. The contract's fill stays permissionless; this is a UI-level restriction. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Unopened envelopes in My Envelopes showed View Envelope and went straight to the detail page. Show Open Envelope instead and route it to the same open flow as Home, so the gift is marked opened in either place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the Choose Envelope / Continue two-step with a Send button on each card that goes straight to /send/[tokenId]. Only Back Home stays below. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
무엇을
체크리스트
<type>/<area>-<설명>, PR 제목 Conventional Commits[interface]변경이면 INTERFACE.md + types.rs + types.ts (+ mock.ts)를 함께 수정했다state-breaking(Contract/EnvelopeState 필드 변경) 여부: 예 / 아니오vault변경 시contracts/res/vault.wasm재빌드·커밋cargo check-contracts+cargo test통과pnpm lint && pnpm build통과스크린샷 / 테스트 결과