Page MenuHomePhabricator

[native] introduce RemoveTagButton
ClosedPublic

Authored by ginsu on May 15 2024, 1:31 AM.
Tags
None
Referenced Files
F3305217: D12043.id40203.diff
Mon, Nov 18, 12:32 PM
F3303118: D12043.diff
Mon, Nov 18, 10:27 AM
Unknown Object (File)
Fri, Nov 8, 2:27 PM
Unknown Object (File)
Fri, Nov 1, 7:32 PM
Unknown Object (File)
Thu, Oct 24, 1:43 AM
Unknown Object (File)
Tue, Oct 22, 7:02 PM
Unknown Object (File)
Oct 13 2024, 4:52 AM
Unknown Object (File)
Oct 13 2024, 4:52 AM
Subscribers

Details

Summary

This diff introduces RemoveTagButton. RemoveTagButton is reponsible for dispatching the delete farcaster channel tag action whenever the user preses the "Remove tag" button

Depends on D12042

Test Plan

Please see the demo video below

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

There is some copy in this diff that needs review

native/community-settings/tag-farcaster-channel/remove-tag-button.react.js
72 ↗(On Diff #40203)

This copy needs to be reviewed

ginsu requested review of this revision.May 15 2024, 1:50 AM

Can we add a confirmation popup? Actions performed by red buttons seem serious, and I think we should double check if the user actually wanted to do them. Like after pressing Disable to disable an invite link

I'm not as worried about deleting a Farcaster tag. When we delete eg. a thread, there is content lost that can't be recovered. Whereas in the case of deleting the Farcaster tag, it's easy to reestablish it. I personally think this is okay without a confirmation modal/alert

This revision is now accepted and ready to land.May 15 2024, 5:02 PM
This revision was automatically updated to reflect the committed changes.