Skip to content

feat(contacts): edit contact page + shared confirm dialog [PERA-3931] [PERA-3988]#376

Merged
yasin-ce merged 5 commits intocontacts/05-viewfrom
contacts/06-edit
Apr 24, 2026
Merged

feat(contacts): edit contact page + shared confirm dialog [PERA-3931] [PERA-3988]#376
yasin-ce merged 5 commits intocontacts/05-viewfrom
contacts/06-edit

Conversation

@yasin-ce
Copy link
Copy Markdown
Collaborator

@yasin-ce yasin-ce commented Apr 24, 2026

Description

  • `EditContactScreen` redesigned using `ContactForm` and the new `ConfirmActionBottomSheet` (trash icon, error variant) for the delete flow.
  • Settings "delete all contacts" migrated to `ConfirmActionBottomSheet`; the old `DeleteAllConfirmBottomSheet` folder is removed.
  • Multisig `EditParticipantScreen` migrated to the new `ContactForm` API (no more `isAddressEditable` prop).
  • PERA-3988 is naturally resolved — the new sheet is theme-aware via `makeStyles`.

Related Issues

Checklist

  • Have you tested your changes locally?
  • Have you reviewed the code for any potential issues?
  • Have you documented any necessary changes in the project's documentation?
  • Have you added any necessary tests for your changes?
  • Have you updated any relevant dependencies?

Additional Notes

Stacked on #375. `EditContactScreen.spec.tsx` and `useSettingsScreen.test.ts` updated for the migration.

… [PERA-3988]

- Redesigned EditContactScreen: delete pill, Done in header via
  useNavigationHeader, ConfirmActionBottomSheet (trash icon, red
  accent) for the delete flow (fixes PERA-3988 — old dialog used
  light-theme styling in dark mode). Uses shared useEditContactForm.
- ContactForm: drop the transitional namePlaceholder /
  isAddressEditable props now that all callers are migrated.
- Multisig EditParticipantScreen: drop namePlaceholder prop (collateral).
- Settings: DeleteAllConfirmBottomSheet migrated to the shared
  ConfirmActionBottomSheet; old component + hook deleted.
- ViewContactScreen: top margin on NFDomain section for visual separation.
- i18n: prune orphaned edit_contact.{delete_confirm, delete, save,
  are_you_sure}; add {done, delete_this, remove_*}.

Note: the AddContact route still points at EditContactScreen until PR 7
(add contact page) lands.
@yasin-ce yasin-ce requested review from AshishAnshoo, fmsouza, wjbeau and yasincaliskan and removed request for AshishAnshoo and fmsouza April 24, 2026 02:58
@yasin-ce yasin-ce self-assigned this Apr 24, 2026
@yasin-ce
Copy link
Copy Markdown
Collaborator Author

<img width="1080" height="2400" alt="Screenshot
Screenshot_20260424_041020
_20260424_040958" src="https://github.com/user-attachments/assets/f82675a9-b778-4594-8562-5f4cc41d1c80" />

@yasin-ce yasin-ce marked this pull request as ready for review April 24, 2026 03:05
… per review

Screen now renders the permission-denied sheet from useEditContactForm's
exposed permissionDenied state, so the refactored useImagePicker flow
(no more Alert.alert) surfaces correctly when a user has permanently
denied photo-library access.
@yasin-ce yasin-ce merged commit 3895c9a into contacts/05-view Apr 24, 2026
3 of 5 checks passed
@yasin-ce yasin-ce deleted the contacts/06-edit branch April 24, 2026 23:56
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