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)
Mon, Jul 1, 7:52 AM
Unknown Object (File)
Tue, Jun 25, 3:27 PM
Unknown Object (File)
Tue, Jun 25, 3:54 AM
Unknown Object (File)
Mon, Jun 24, 5:49 AM
Unknown Object (File)
Mon, Jun 24, 5:49 AM
Unknown Object (File)
Mon, Jun 24, 5:49 AM
Unknown Object (File)
Mon, Jun 24, 5:49 AM
Unknown Object (File)
Mon, Jun 24, 5:49 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
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 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