Bring back accountPasswordInputRef to ThreadSettingsDeleteTab using the React.useRef() hook.
We clear the input and focus() it on exception in deleteThreadAction.
Depends on D3837
Paths
| Differential D3838 Authored by atul on Apr 25 2022, 11:10 AM.
Details Summary Bring back accountPasswordInputRef to ThreadSettingsDeleteTab using the React.useRef() hook. We clear the input and focus() it on exception in deleteThreadAction. Depends on D3837 Test Plan
Diff Detail
Event TimelineHerald added subscribers: • abosh, • karol, • adrian, ashoat. · View Herald TranscriptApr 25 2022, 11:10 AM2022-04-25 11:10:32 (UTC-7) Comment Actions (All the ThreadSettingsModal refactor-related TODOs have been resolved at this point) Harbormaster completed remote builds in B8525: Diff 11884.Apr 25 2022, 11:15 AM2022-04-25 11:15:40 (UTC-7) atul edited the summary of this revision. (Show Details)Apr 25 2022, 11:18 AM2022-04-25 11:18:07 (UTC-7) atul added a parent revision: D3837: [web] Push "Delete thread" functionality down to `ThreadSettingsDeleteTab`. This revision is now accepted and ready to land.Apr 26 2022, 8:48 AM2022-04-26 08:48:58 (UTC-7) Harbormaster completed remote builds in B8574: Diff 11953.Apr 26 2022, 10:53 AM2022-04-26 10:53:18 (UTC-7) Harbormaster completed remote builds in B8677: Diff 12083.Apr 28 2022, 2:30 PM2022-04-28 14:30:15 (UTC-7) Closed by commit rCOMMc52992f6c39c: [web] Add `accountPasswordInputRef` back to `ThreadSettingsDeleteTab` (authored by atul). · Explain WhyApr 28 2022, 2:31 PM2022-04-28 14:31:50 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 12083 web/modals/threads/thread-settings-delete-tab.react.js
|