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)
Tue, May 14, 8:05 AM
Unknown Object (File)
Thu, May 9, 5:13 PM
Unknown Object (File)
Thu, May 9, 5:13 PM
Unknown Object (File)
Thu, May 9, 5:13 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:31 PM
Unknown Object (File)
Sat, Apr 20, 8:25 PM
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
Branch
inka/web/unify_action_types
Lint
No Lint Coverage
Unit
No Test Coverage

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