Page MenuHomePhabricator

[Flow202][native][skip-ci] [37/x] Allow removeEditMode to take a TabAction
ClosedPublic

Authored by ashoat on Nov 27 2023, 1:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 30, 1:05 AM
Unknown Object (File)
Mar 5 2024, 7:43 AM
Unknown Object (File)
Mar 5 2024, 7:43 AM
Unknown Object (File)
Mar 5 2024, 7:43 AM
Unknown Object (File)
Mar 5 2024, 7:42 AM
Unknown Object (File)
Feb 3 2024, 5:55 PM
Unknown Object (File)
Dec 14 2023, 6:14 PM
Unknown Object (File)
Dec 13 2023, 7:50 PM
Subscribers
None

Details

Summary

We call removeEditMode in native/navigation/tab-router.js, so it needs to be able to support a TabAction as well as ChatRouterNavigationAction. Separating this diff out because the changes are non-obvious.

NOTE: CI will fail on this diff. I considered the possibility of fixing Flow errors BEFORE upgrading Flow, but it wasn't possible... in some cases, the fixes to support the new version of Flow caused errors in the old version. I could have hidden these type errors with $FlowFixMe lines and then later revert those, but that seemed like too much busy work.

Depends on D10020

Test Plan

Confirm the Flow errors go away

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat created this revision.
native/navigation/nav-selectors.js
45 ↗(On Diff #33666)

Snuck this change in. We still have some type-only imports that don't have the .js suffix

This revision is now accepted and ready to land.Nov 27 2023, 7:13 AM