Page MenuHomePhabricator

[web] update thread settings media gallery modal to use new tabs component
ClosedPublic

Authored by ginsu on Jan 4 2024, 1:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 31, 4:21 AM
Unknown Object (File)
Oct 3 2024, 1:00 PM
Unknown Object (File)
Oct 3 2024, 1:00 PM
Unknown Object (File)
Oct 3 2024, 1:00 PM
Unknown Object (File)
Oct 3 2024, 1:00 PM
Unknown Object (File)
Oct 3 2024, 1:00 PM
Unknown Object (File)
Sep 8 2024, 1:23 AM
Unknown Object (File)
Sep 1 2024, 1:45 PM
Subscribers

Details

Summary

This diff updates the thread settings media gallery modal to use the new tab components. Since we decoupled the tabs from the tab content with this new tab component, the thread settings media gallery modal now needs to be responsible for rendering the correct tab content.

Depends on D10519

Test Plan

Please see the demo video below to confirm that there are no regressions

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.
ginsu edited the summary of this revision. (Show Details)
ginsu requested review of this revision.Jan 4 2024, 1:25 AM

Looks good

web/modals/threads/gallery/thread-settings-media-gallery.react.js
196–202

(Realize it's out of scope of this diff and the rest of the diffs in the stack... but what do you think about sneaking in React.useMemos just for the return values of these components while you're working with them?)

This revision is now accepted and ready to land.Jan 4 2024, 12:54 PM

address comments + rebase before landing