Page MenuHomePhabricator

[native] introduce RemoveTagButton
ClosedPublic

Authored by ginsu on May 15 2024, 1:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 9:22 PM
Unknown Object (File)
Fri, Dec 6, 6:06 AM
Unknown Object (File)
Nov 18 2024, 12:32 PM
Unknown Object (File)
Nov 18 2024, 10:27 AM
Unknown Object (File)
Nov 8 2024, 2:27 PM
Unknown Object (File)
Nov 1 2024, 7:32 PM
Unknown Object (File)
Oct 24 2024, 1:43 AM
Unknown Object (File)
Oct 22 2024, 7:02 PM
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
No Lint Coverage
Unit
No Test Coverage

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.