These props both get inputDisabled passed in from the parent component, so they can be "flattened" into a single prop.
Depends on D3825
Paths
| Differential D3826 Authored by atul on Apr 24 2022, 1:05 PM.
Tags None Referenced Files
Details Summary These props both get inputDisabled passed in from the parent component, so they can be "flattened" into a single prop. Depends on D3825 Test Plan
Diff Detail
Event TimelineHerald added subscribers: • abosh, • karol, • adrian, ashoat. · View Herald TranscriptApr 24 2022, 1:05 PM2022-04-24 13:05:16 (UTC-7) Harbormaster completed remote builds in B8486: Diff 11831.Apr 24 2022, 1:10 PM2022-04-24 13:10:11 (UTC-7) Comment Actions Just wondering: are we planning to have threads with one input enabled and another disabled? It feels like changing a description is less destructive than changing a name and more users could be allowed to do that. On the other hand, reintroducing this option shouldn't be hard. Adding @ashoat to get his opinion. Comment Actions
That's a good point, I could definitely see us having more fine-grained thread setting permissions in the future. For now just maintaining the existing behavior, which I think should be fine for a refactoring stack of diffs. Harbormaster completed remote builds in B8567: Diff 11946.Apr 26 2022, 10:32 AM2022-04-26 10:32:46 (UTC-7) This revision is now accepted and ready to land.Apr 27 2022, 11:43 AM2022-04-27 11:43:29 (UTC-7) Harbormaster completed remote builds in B8669: Diff 12070.Apr 28 2022, 1:27 PM2022-04-28 13:27:33 (UTC-7) This revision was landed with ongoing or failed builds.Apr 28 2022, 1:33 PM2022-04-28 13:33:36 (UTC-7) Closed by commit rCOMM024a3be9ffb0: [web] Remove duplicate `thread[Name/Description]Disabled` props in… (authored by atul). · Explain Why This revision was automatically updated to reflect the committed changes. Harbormaster failed remote builds in B8672: Diff 12073!Apr 28 2022, 1:36 PM2022-04-28 13:36:34 (UTC-7)
Revision Contents
Diff 12073 web/modals/threads/thread-settings-general-tab.react.js
web/modals/threads/thread-settings-modal.react.js
|