Page MenuHomePhabricator

[web] update chat tabs to use the new tabs component
ClosedPublic

Authored by ginsu on Jan 4 2024, 1:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 3, 12:02 PM
Unknown Object (File)
Sat, Sep 14, 9:18 PM
Unknown Object (File)
Sat, Sep 14, 9:18 PM
Unknown Object (File)
Sat, Sep 14, 9:18 PM
Unknown Object (File)
Sat, Sep 14, 9:18 PM
Unknown Object (File)
Sat, Sep 14, 9:18 PM
Unknown Object (File)
Aug 27 2024, 12:37 PM
Unknown Object (File)
Aug 18 2024, 5:51 AM
Subscribers

Details

Summary

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

Depends on D10522

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 requested review of this revision.Jan 4 2024, 1:54 AM
atul added inline comments.
web/chat/chat-tabs.react.js
56–62 ↗(On Diff #35189)

Wouldn't hurt to memoize

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

address comments + rebase before landing