This diff introduces the RemoveTagButton. This button is used to remove a farcaster channel tag from a community
Depends on D12530
Differential D12534
[lib/native/web] introduce RemoveTagButton ginsu on Jun 20 2024, 8:40 PM. Authored by Tags None Referenced Files
Details
This diff introduces the RemoveTagButton. This button is used to remove a farcaster channel tag from a community Depends on D12530 Confirmed that when I clicked on the button the tag was removed w/o error message: w/ error message:
Diff Detail
Event Timeline
Comment Actions The space under the channel name looks awkward without the error to me (seems too big). Is there any way we can change this? I can see in invite links modal, that when an error appears we change the size of the modal to add the additional needed space. Could that work? Alternatively I think the space could just be smaller, similarly to how we display errors on the login screen: What do you think? Comment Actions
I have gotten feedback in the past that this we actually should never change the size of the modal to add additional needed space; however, your second suggestion about making the space a bit smaller should work! Comment Actions I am not reviewing this because I assumed that you plan to introduce the changes we discussed. Is this incorrect? Comment Actions Passing back to @ginsu to "make the space smaller"
This is a huge antipattern, and it's disappointing it got landed so recently. cc @tomek: modal dimensions should NEVER resize like this. In general, I encourage everybody on the team to think more critically about UX. We don't have a designer on the team, which means we rely on developers to be thoughtful about UX. Having a modal that resizes on error (or really for any other reason) is a really, really bad UX... it's jarring, all of the buttons move, etc. I hope such a design is never recommended, considered, or implemented on this team ever again. I've found that more than anybody else on the team, you have a pattern or leaving comments without actions (accept or request changes). I think it would be more clear if you included actions more often. We've talked about this in retro and generally the only reason we'd want to avoid it is if there is somebody else on the reviewers list that you think should still have the diff in their review queue. I don't think that's the case here.
Comment Actions I think it still looks bad. Can we try to decrease the space here? We can use position: absolute to get it to appear where we want
|