Page MenuHomePhabricator

[web] Unify redux action types variables
ClosedPublic

Authored by inka on Aug 26 2022, 4:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 8:31 PM
Unknown Object (File)
Sat, Apr 20, 8:31 PM
Unknown Object (File)
Sat, Apr 20, 8:31 PM
Unknown Object (File)
Sat, Apr 20, 8:25 PM
Unknown Object (File)
Mon, Apr 8, 4:54 AM
Unknown Object (File)
Mar 11 2024, 2:40 AM
Unknown Object (File)
Mar 8 2024, 6:45 PM
Unknown Object (File)
Mar 2 2024, 3:10 AM
Subscribers

Details

Summary

Reordering and renaming of the action types variables on web to help with code readability.
Linear issue: https://linear.app/comm/issue/ENG-1662/unify-action-types-variables-on-web

Test Plan

Checked that web and native can still be launched in dev mode.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

inka requested review of this revision.Aug 26 2022, 4:27 AM
abosh added 1 blocking reviewer(s): atul.

At a high level looks good, but why was updateNavInfoActionType in nav-types to begin with? Is there a difference between a nav type and action type? Or should we keep all "actionable" types together (anything with 'update', 'set', etc.), like in this diff?

Also adding a blocking reviewer so someone else can look at this. Feel free to change blocking status

In D4956#143881, @abosh wrote:

At a high level looks good, but why was updateNavInfoActionType in nav-types to begin with? Is there a difference between a nav type and action type?

No good reason

Or should we keep all "actionable" types together (anything with 'update', 'set', etc.), like in this diff?

Think this is a good idea

This revision is now accepted and ready to land.Aug 26 2022, 12:48 PM