HomePhabricator
Diffusion Comm 7cfdb6216480

[web] implement onClickAddKeyserver callback

Description

[web] implement onClickAddKeyserver callback

Summary:
When a user clicks on the add keyserver button their keyserver should be stored in the keyserver store. onClickAddKeyserver handles this functionality. Additionally, if the user is a staff or in dev mode, we want the input field to be pre-populated with the value of customServer

Linear task: https://linear.app/comm/issue/ENG-4726/dispatch-add-keyserver-redux-action-when-onpress-save-button-is

Depends on D10093

Test Plan:
Please see the demo video below

Reviewers: inka, rohan, michal

Reviewed By: inka

Subscribers: ashoat, tomek

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

Details

Provenance
ginsuAuthored on Nov 29 2023, 1:28 AM
Reviewer
inka
Differential Revision
D10094: [web] implement onClickAddKeyserver callback
Parents
rCOMM22222927772e: [web] save the recently deleted server url to customServer redux state
Branches
Unknown
Tags
Unknown