HomePhabricator
Diffusion Comm 669e261b8c74

[web] Move `onChangeThreadType` up from `ThreadSettingsModal` to…

Description

[web] Move onChangeThreadType up from ThreadSettingsModal to ConnectedThreadSettingsModal

Summary:
Move onChangeThreadType out from inner class component to outer "Connected" functional component.

As part of the work to refactor ThreadSettingsModal... specifically to turn it into a functional component.


Depends on D3767

Test Plan:

  1. Open ThreadSettingsModal
  2. Change the thread type
  3. Log values in onChangeThreadtype to ensure that they continue to be as expected
  4. Hit save after changing the color and ensure that the thread description changed as expected

Reviewers: def-au1t, palys-swm

Reviewed By: palys-swm

Subscribers: ashoat, Adrian, karol-bisztyga, benschac, yayabosh

Differential Revision: https://phabricator.ashoat.com/D3768