Page MenuHomePhabricator

[web] introduce block list panel
ClosedPublic

Authored by ginsu on Jan 18 2024, 10:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 14 2024, 10:38 PM
Unknown Object (File)
Oct 14 2024, 10:38 PM
Unknown Object (File)
Oct 14 2024, 10:38 PM
Unknown Object (File)
Oct 14 2024, 10:37 PM
Unknown Object (File)
Oct 14 2024, 10:37 PM
Unknown Object (File)
Oct 6 2024, 11:29 AM
Unknown Object (File)
Sep 5 2024, 11:11 PM
Unknown Object (File)
Sep 5 2024, 11:11 PM
Subscribers

Details

Summary

This diff introduces the block list panel. This component will replace the block list modal.

Linear task: https://linear.app/comm/issue/ENG-5955/flatten-friends-block-list-modals

Test Plan

Please see the demo video below

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: atul, inka.
web/settings/relationship/block-list-panel.react.js
16 ↗(On Diff #35813)

Most of this logic is taken from BlockListModal. I intentionally decided to not delete the code in BlockListModal because I want to make sure that I can land this diff as is w/o worrying about creating regressions/breaking changes.

To make it easy to review tho, I will point out where the duplicated logic is.

I updated https://linear.app/comm/issue/ENG-6442/remove-friends-list-modal to track removing BOTH FriendListModal and BlockListModal

17–24 ↗(On Diff #35813)
26–28 ↗(On Diff #35813)
35–38 ↗(On Diff #35813)

Look good. Personally would've preferred deduplicating BlockListModal, but not sure how involved that would've been.

This revision is now accepted and ready to land.Jan 18 2024, 9:43 PM

Look good. Personally would've preferred deduplicating BlockListModal, but not sure how involved that would've been.

Spoke to @atul IRL about this, but this is necessary in order to land this diff as is w/o causing regressions in prod

This revision was automatically updated to reflect the committed changes.