Page MenuHomePhabricator

[web] introduce AppList
ClosedPublic

Authored by ginsu on Dec 27 2023, 9:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 9:23 AM
Unknown Object (File)
Mon, Nov 11, 9:12 AM
Unknown Object (File)
Mon, Nov 11, 7:59 AM
Unknown Object (File)
Sun, Nov 10, 10:08 PM
Unknown Object (File)
Sat, Nov 9, 11:54 AM
Unknown Object (File)
Oct 18 2024, 2:44 AM
Unknown Object (File)
Oct 15 2024, 9:39 AM
Unknown Object (File)
Oct 14 2024, 6:12 AM
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.