issue: https://linear.app/comm/issue/ENG-5353/inline-reducelastcommunicatedplatformdetails
updateLastCommunicatedPlatformDetailsActionType is dispatched from socket and callServerEndpoint. In both of these we are in the context of one keyserver, so this action is keyserver specific
Details
called updateLastCommunicatedPlatformDetailsActionType, checked that it sets the lastCommunicatedPlatformDetails correctly, chcecked that logInActionTypes sets it correctly.
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/reducers/keyserver-reducer.js | ||
---|---|---|
158 ↗ | (On Diff #33201) | Do these types match? Isn't one PlatformDetails and the other PlatformDetailsPayload? |
lib/reducers/last-communicated-platform-details-reducer.js | ||
20 ↗ | (On Diff #33201) | Is registerActionTypes.success handled somewhere? |
lib/types/device-types.js | ||
44–47 ↗ | (On Diff #33201) | This would be clearer imo (but it doesn't really matter) |
Do we really need one-offs here? Why can't we find an existing color family that works with our designs?
We need to push the team (@tedchang in particular) to use existing families (and update them as necessary) instead of hacking around inconsistencies like this. When we take this sort of approach of picking colors on a per-screen basis, we fail to maintain stylistic / design consistency throughout the app