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
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
Unknown Object (File)
Sat, Nov 16, 7:29 PM
Unknown Object (File)
Fri, Nov 15, 6:01 PM
Unknown Object (File)
Tue, Nov 12, 3:46 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

inka requested review of this revision.Jan 4 2023, 3:26 AM
native/navigation/community-drawer-content.react.js
45–56 ↗(On Diff #20562)

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