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 3, 1:00 PM
Unknown Object (File)
Thu, Oct 3, 1:00 PM
Unknown Object (File)
Thu, Oct 3, 1:00 PM
Unknown Object (File)
Thu, Oct 3, 1:00 PM
Unknown Object (File)
Thu, Oct 3, 1:00 PM
Unknown Object (File)
Sun, Sep 8, 1:23 AM
Unknown Object (File)
Sep 1 2024, 1:45 PM
Unknown Object (File)
Aug 18 2024, 5:48 AM
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
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #35186)

(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