Page MenuHomePhabricator

[web] Unify redux action types variables
ClosedPublic

Authored by inka on Aug 26 2022, 4:17 AM.
Tags
None
Referenced Files
F3342673: D4956.diff
Fri, Nov 22, 1:46 AM
Unknown Object (File)
Thu, Nov 21, 2:13 AM
Unknown Object (File)
Mon, Nov 11, 2:52 AM
Unknown Object (File)
Sat, Nov 9, 6:38 AM
Unknown Object (File)
Sat, Nov 2, 1:12 PM
Unknown Object (File)
Sat, Nov 2, 1:12 PM
Unknown Object (File)
Sat, Nov 2, 1:11 PM
Unknown Object (File)
Oct 23 2024, 6:57 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
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