Convert logic to ops approach.
Depends on D10770
Differential D10771
[lib] refactor connection-related actions in `keyserver-reducer` to ops Authored by kamil on Jan 22 2024, 11:37 AM.
Details Convert logic to ops approach. Depends on D10770 This is not that easy to test, and this sie basically copy-pasting approach from rest of the stack so this time just carefully reading the code. EDIT: tested by dispatching following from redux dev-tools: {
type: 'SET_LATE_RESPONSE',
payload: { messageID: '256|5', isLate: true, keyserverID: '256' }
}
{
type: 'UPDATE_DISCONNECTED_BAR',
payload: { visible: 'true', keyserverID: '256' }
}
{
type: 'SET_CONNECTION_ISSUE',
payload: { connectionIssue: null, keyserverID: '256' },
}
Diff Detail
Event Timeline |