Page MenuHomePhabricator

[native] introduce barebones keyserver selection bottom sheet to root navigator
ClosedPublic

Authored by ginsu on Nov 6 2023, 7:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 5:41 PM
Unknown Object (File)
Sun, Dec 15, 5:19 PM
Unknown Object (File)
Mon, Dec 9, 7:31 AM
Unknown Object (File)
Wed, Dec 4, 7:30 PM
Unknown Object (File)
Mon, Nov 25, 12:36 AM
Unknown Object (File)
Oct 27 2024, 11:49 PM
Unknown Object (File)
Oct 27 2024, 11:49 PM
Unknown Object (File)
Oct 27 2024, 11:49 PM
Subscribers

Details

Summary

This diff introduces the barebones keyserver selection bottom sheet component as well as all the necessary logic needed to add this to the root navigator to eventually route to it. Subsquent diffs will handle fully introducing the UI and all the other functionality needed for this bottom sheet

Linear task: https://linear.app/comm/issue/ENG-5472/add-keyserverselectionbottomsheet-to-the-root-navigator

Depends on D9725

Test Plan

Confirmed that I was able to get to this barebones bottomsheet when I pressed on a keyserver selection list item

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu requested review of this revision.Nov 6 2023, 7:39 AM
ginsu planned changes to this revision.Nov 6 2023, 2:42 PM
ginsu requested review of this revision.Nov 7 2023, 11:20 AM

Ran into a bug later in the stack with reading some of the route params, and thought the issue was with this diff, but it was actually with something else

This revision is now accepted and ready to land.Nov 9 2023, 2:16 AM
native/profile/keyserver-selection-bottom-sheet.react.js
12 ↗(On Diff #32782)

What will this be used for? Where will it be fetched from? Should we include this in keyserverInfo?

native/profile/keyserver-selection-bottom-sheet.react.js
12 ↗(On Diff #32782)

This will be used to display the username of the keyserver admin:

Screenshot 2023-11-02 at 2.43.19 PM.png (1×1 px, 695 KB)

In the screenshot above, ashoat and I are the values that got passed in for keyserverAdminUsername. In D9641, I introduced a selector that would get the keyserverAdminUsername for each keyserver info

rebase one more time (forgot to pull from master first)