Page MenuHomePhabricator

[lib] Inline reduceConnectionInfo pt.2
ClosedPublic

Authored by inka on Nov 10 2023, 3:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 22, 12:04 AM
Unknown Object (File)
Sun, Dec 15, 3:27 PM
Unknown Object (File)
Tue, Nov 26, 8:15 AM
Unknown Object (File)
Tue, Nov 26, 8:08 AM
Unknown Object (File)
Mon, Nov 25, 11:20 AM
Unknown Object (File)
Sun, Nov 24, 7:01 PM
Unknown Object (File)
Nov 22 2024, 6:20 PM
Unknown Object (File)
Nov 22 2024, 6:17 PM
Subscribers

Details

Summary

issue: https://linear.app/comm/issue/ENG-5352/inline-reduceconnectioninfo
See the deleted file for how it worked before
The disconnected bar and with it the lateResponses logic will be reviewd again during ENG-4126 and ENG-4125. For now I'm refactoring them in a way that 1. doesn't break the old behaviour 2. Will be easier to refactor later on

Test Plan

Dispatched setNewSessionActionType, updateDisconnectedBarActionType, logOutActionTypes, setLateResponseActionType actions and checked that the state changes as expected

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Improve disconneted bar logic in case we want to use showDisconnectedBar for someting in the future, like for keyserver selection screen

inka requested review of this revision.Nov 10 2023, 4:03 AM

Rebase over D9664 - remove all keyservers but Ashoat's keyserver on logout and delete account.

This revision is now accepted and ready to land.Nov 14 2023, 6:07 AM
lib/reducers/keyserver-reducer.js
301 ↗(On Diff #33318)

Please add a type parameterize to the Set constructor. The new version of Flow requires it

This revision was automatically updated to reflect the committed changes.