Page MenuHomePhabricator

[web] implement onClickAddKeyserver callback
ClosedPublic

Authored by ginsu on Nov 29 2023, 1:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 4:02 AM
Unknown Object (File)
Sat, Dec 14, 1:17 PM
Unknown Object (File)
Nov 26 2024, 3:04 AM
Unknown Object (File)
Nov 25 2024, 6:13 PM
Unknown Object (File)
Nov 22 2024, 7:08 PM
Unknown Object (File)
Nov 22 2024, 2:38 PM
Unknown Object (File)
Nov 8 2024, 11:59 AM
Unknown Object (File)
Nov 8 2024, 11:45 AM
Subscribers

Details

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

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu requested review of this revision.Nov 29 2023, 2:20 AM

Looks good to me. Would be nice if someone else can take a look at the newKeyserverInfo though since I'm not really familiar with what the default values should be

This revision is now accepted and ready to land.Nov 29 2023, 6:20 PM
This revision now requires review to proceed.Nov 29 2023, 6:20 PM
This revision is now accepted and ready to land.Nov 30 2023, 2:48 AM
This revision was landed with ongoing or failed builds.Dec 4 2023, 11:02 PM
This revision was automatically updated to reflect the committed changes.