HomePhabricator
Diffusion Comm 5ccad7e00e91

[native] implement onPressSave keyserver button callback

Description

[native] implement onPressSave keyserver button callback

Summary:
This diff implements onPressSave keyserver button. This callback will create the payload necessary for this action and dispatch the add keyserver redux action we just introduced with the payload we just created. For now we will just use the current user id as the keyserver admin user id until ENG-5282 is done and returns a userID

In a subsequent diff we will implement validation that will be used before we introduce the keyserver

Linear task: https://linear.app/comm/issue/ENG-5338/dispatch-addkeyserver-redux-action

Depends on D9664

Test Plan:
Please see the demo video below

Reviewers: inka, rohan, michal

Reviewed By: inka

Subscribers: ashoat, tomek, wyilio

Differential Revision: https://phab.comm.dev/D9665

Details

Provenance
ginsuAuthored on Nov 14 2023, 2:41 PM
Reviewer
inka
Differential Revision
D9665: [native] implement onPressSave keyserver button callback
Parents
rCOMMa5926a47b3fb: [lib] Move `MinimallyEncoded*` validators to their own file
Branches
Unknown
Tags
Unknown