Page MenuHomePhabricator

[web] introduce AppList
ClosedPublic

Authored by ginsu on Dec 27 2023, 9:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 4 2024, 12:31 PM
Unknown Object (File)
Apr 4 2024, 12:31 PM
Unknown Object (File)
Apr 4 2024, 12:31 PM
Unknown Object (File)
Apr 4 2024, 12:29 PM
Unknown Object (File)
Apr 4 2024, 12:28 PM
Unknown Object (File)
Mar 20 2024, 11:10 PM
Unknown Object (File)
Feb 20 2024, 7:27 PM
Unknown Object (File)
Feb 20 2024, 7:10 PM
Subscribers

Details

Summary

This diff introduces the AppList component. The AppList component brings together all the other app list sub components to create the App List card

For context here is what the figma designs look like:

Screenshot 2023-12-27 at 11.52.43 PM.png (1×506 px, 152 KB)

Linear task: https://linear.app/comm/issue/ENG-5962/create-new-app-list-card-section

Depends on D10470

Test Plan

Please see the demo video below (please excuse the testing tooltip + blue calendar those are local changes that were not included in this diff)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

web/app-list/app-list.react.js
14 ↗(On Diff #35038)

Most of this logic is taken from AppSwitcher. I intentionally decided to not delete the code in AppSwitcher 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.

https://linear.app/comm/issue/ENG-5963/remove-old-horizontal-app-list tracks removing the AppSwitcher

16–24 ↗(On Diff #35038)
41–49 ↗(On Diff #35038)
51–66 ↗(On Diff #35038)
ginsu requested review of this revision.Dec 27 2023, 9:19 PM
web/app-list/app-list.react.js
83–88 ↗(On Diff #35038)

Wouldn't hurt to memoize this

This revision is now accepted and ready to land.Dec 28 2023, 4:33 PM

address comments + rebase before landing

This revision was automatically updated to reflect the committed changes.