This is a minimally-viable first pass.
Replace the inputs in ThreadSettingsPrivacyTab with EnumSettingOptions. There is still a good bit to go with stying, but should be functionally complete.
Here's how it looks:
Depends on D4050
Paths
| Differential D4051 Authored by atul on May 15 2022, 1:38 PM.
Tags None Referenced Files
Details Summary This is a minimally-viable first pass. Replace the inputs in ThreadSettingsPrivacyTab with EnumSettingOptions. There is still a good bit to go with stying, but should be functionally complete. Here's how it looks: Depends on D4050 Test Plan Click around, change visibility, observe that things look/behave as expected
Diff Detail
Event TimelineHerald added subscribers: • abosh, • adrian, ashoat. · View Herald TranscriptMay 15 2022, 1:38 PM2022-05-15 13:38:53 (UTC-7) atul added a parent revision: D4050: [web] Pass `optionSelected` from `EnumSettingsOption` to `EnumSettingsOptionInfo`. atul added inline comments.
Harbormaster completed remote builds in B9131: Diff 12696.May 15 2022, 1:43 PM2022-05-15 13:43:41 (UTC-7) atul edited the summary of this revision. (Show Details)May 15 2022, 2:47 PM2022-05-15 14:47:44 (UTC-7) atul added inline comments.
Harbormaster completed remote builds in B9132: Diff 12697.May 15 2022, 2:53 PM2022-05-15 14:53:37 (UTC-7) tomek added inline comments. This revision is now accepted and ready to land.May 17 2022, 7:10 AM2022-05-17 07:10:46 (UTC-7) Harbormaster completed remote builds in B9355: Diff 12961.May 19 2022, 9:05 AM2022-05-19 09:05:06 (UTC-7)
Harbormaster completed remote builds in B9356: Diff 12962.May 19 2022, 10:39 AM2022-05-19 10:39:41 (UTC-7) Closed by commit rCOMM231bfee83568: [web] Use `EnumSettingOption` components in `ThreadSettingsPrivacyTab` (authored by atul). · Explain WhyMay 19 2022, 10:55 AM2022-05-19 10:55:19 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 12962 web/modals/threads/settings/thread-settings-privacy-tab.css
web/modals/threads/settings/thread-settings-privacy-tab.react.js
|
This now can be simplified.