Page MenuHomePhabricator

[native, lib] Move community drawer related code that can be reused on web from native to lib
ClosedPublic

Authored by inka on Jan 4 2023, 3:12 AM.
Tags
None
Referenced Files
F3379864: D6156.id22112.diff
Wed, Nov 27, 7:41 PM
F3379855: D6156.id22433.diff
Wed, Nov 27, 7:38 PM
F3379603: D6156.diff
Wed, Nov 27, 5:30 PM
Unknown Object (File)
Mon, Nov 25, 9:07 AM
Unknown Object (File)
Sun, Nov 24, 2:42 PM
Unknown Object (File)
Sun, Nov 24, 7:35 AM
Unknown Object (File)
Fri, Nov 22, 3:44 AM
Unknown Object (File)
Tue, Nov 19, 11:35 AM
Subscribers

Details

Summary

Some code used for community drawer on native can be reused for community drawer on web, so I moved it to lib.

Test Plan

run iOS simulator, checked that communinty drawer works as expected.

Diff Detail

Repository
rCOMM Comm
Branch
inka/community_drawer_web
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

inka requested review of this revision.Jan 4 2023, 3:26 AM
native/navigation/community-drawer-content.react.js
45–56

This now can be simplified.

This revision is now accepted and ready to land.Jan 5 2023, 4:07 AM
This revision now requires review to proceed.Jan 10 2023, 2:40 AM
tomek added inline comments.
lib/utils/drawer-utils.react.js
7 ↗(On Diff #20672)

We usually prefer more descriptive type parameters. Maybe LabelStyleType?

This revision is now accepted and ready to land.Jan 10 2023, 9:09 AM

Make type parameter more descriptive