Page MenuHomePhabricator

[lib, web, native] Use KesyerverStore to get current cookie
ClosedPublic

Authored by inka on Jul 18 2023, 12:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 7, 2:58 PM
Unknown Object (File)
Nov 23 2024, 7:17 AM
Unknown Object (File)
Nov 10 2024, 10:54 PM
Unknown Object (File)
Nov 10 2024, 10:54 PM
Unknown Object (File)
Nov 10 2024, 10:54 PM
Unknown Object (File)
Nov 9 2024, 9:42 AM
Unknown Object (File)
Nov 5 2024, 2:12 AM
Unknown Object (File)
Oct 4 2024, 4:08 AM
Subscribers

Details

Summary

https://linear.app/comm/issue/ENG-4377/refactor-cookie-field-in-web-redux
Start using the cookie field from keyserverStore, in places where state.cookie was being fetched

In this first iteration we are hardcoding the id of our keyserver

Test Plan

ran yarn flow-all. Chekced with git grep that in all places the cookie from state was being used, the state.keyserverStore.keyserverInfos[].cookie is used instead (went through all occurences of 'cookie')

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

lib/selectors/keyserver-selectors.js
8

This is a hack that allows to use this selector before cookie is removed from state and migration from cookie to keyserverStore.keyserverInfos[].cookie is done. This is only done to keep the diffs small

inka requested review of this revision.Jul 18 2023, 1:04 PM
This revision is now accepted and ready to land.Jul 19 2023, 6:10 AM

change keyserverPrefixID to ashoatKeyserverID