Page MenuHomePhabricator

[web] Unify redux action types variables
ClosedPublic

Authored by inka on Aug 26 2022, 4:17 AM.
Tags
None
Referenced Files
F3332842: D4956.id16038.diff
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)
Wed, Oct 23, 6:57 AM
Unknown Object (File)
Oct 19 2024, 12:35 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
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