Page MenuHomePhabricator

[native] update EnumSettingsOption UI
ClosedPublic

Authored by ginsu on Wed, Jul 3, 5:41 PM.
Tags
None
Referenced Files
F2189691: Screen Recording 2024-07-04 at 1.56.02 PM.mov
Thu, Jul 4, 10:57 AM
Unknown Object (File)
Wed, Jul 3, 11:17 PM
Unknown Object (File)
Wed, Jul 3, 11:17 PM
Unknown Object (File)
Wed, Jul 3, 11:17 PM
Unknown Object (File)
Wed, Jul 3, 11:14 PM
F2181848: Screen Recording 2024-07-03 at 9.21.47 PM.mov
Wed, Jul 3, 6:22 PM
F2181699: Screen Recording 2024-07-03 at 8.50.31 PM.mov
Wed, Jul 3, 6:22 PM
F2181635: Screen Recording 2024-07-03 at 8.49.14 PM.mov
Wed, Jul 3, 6:22 PM
Subscribers

Details

Summary

This diff updates the EnumSettingsOption UI to better match the web version of EnumSettingsOption. One big notable change with EnumSettingsOption is that the entire surface is now a touchable rather than just the input. This also matches the behavior we have on web.

Depends on D12653

Test Plan

Please see the demo videos below of all the places we use this component

Create community:
Before:

After:

Create Role:

Before:

After:

Thread notifs settings:

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Wed, Jul 3, 5:59 PM
Harbormaster failed remote builds in B30104: Diff 41975!
Harbormaster completed remote builds in B30103: Diff 41974.
ginsu requested review of this revision.Wed, Jul 3, 6:28 PM
ashoat added inline comments.
native/roles/create-roles-screen.react.js
312–313 ↗(On Diff #41975)

Should we make similar changes for the community creation flow? It looks a bit scrunched up in the video

This revision is now accepted and ready to land.Wed, Jul 3, 8:19 PM
ginsu edited the test plan for this revision. (Show Details)

address comments + rebase before landing

This revision was automatically updated to reflect the committed changes.