Open mallenexpensify opened 1 day ago
I say we make this an external task like we do for normal bugs
@cead22 Do you mind if we pass this to our expert agency like we discussed here?
I already passed context to @kubabutkiewicz to work on this, and we believe this task needs more careful planning and coordination to do all these fixings.
That works for me
@fabioh8010 , want me to assigne to @kubabutkiewicz? I'll make it a weekly too. I'm assuming we'll want C+ to review any PRs, comment if anyone disagrees.
Yes @mallenexpensify Please re-assign to @kubabutkiewicz ! Thanks
@kubabutkiewicz can you comment please so I can assign? Thx
Hello, Im Jakub from Callstack and would like to help with this issue
Job added to Upwork: https://www.upwork.com/jobs/~021847371950143140066
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (External
)
[!tip] The warnings / errors listed by me in the Slack 🧵 are just the tip of the 🧊berg, the ones everyone can see as soon as the app is opened but there are many others that show up only when specific pages are opened (lots of lists with duplicated keys) and also many other that are platform specific, for example showing up on Android: Native or iOS: Native, some are Desktop specific (electron).
Apologies for janky formatting below. The post in #expensify-open-source is easier to read
:broom: Some clean-up report on console errors / warnings as mentioned by @carlos here, quoting:
The below errors / warnings were found on local dev, latest main w/ StrictMode enabled :downvote: Note: Keep in mind that these were discovered during the main login flow, there are probably more if we dive deep into every flow (including Accounting integrations / Expensify Card, etc).
:exclamation: Errors (Web)
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Wrap which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node[
](https://reactjs.org/link/strict-mode-find-node%60) - Origin file / line: react-dom.development.js:86Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
- Origin file / line: react-dom.development.js:86:warning: Warnings (Web & Native)
Animated: 'useNativeDriver' is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add 'RCTAnimation' module to this app, or remove 'useNativeDriver'. Make sure to run 'bundle exec pod install' first. Read more about autolinking:
- Origin file / line: NativeAnimatedHelper.js:441accessibilityLabel is deprecated. Use aria-label.
- Origin file / line: index.js:28"shadow*" style props are deprecated. Use "boxShadow"
. - Origin file / line: vendors-node_modules_react-navigation_stack_lib_module_navigators_createStackNavigator_js-nod-760534-30b975cdb07db961ae15.bundle.js:403props.pointerEvents is deprecated. Use style.pointerEvents
- Origin file / line: index.js:28returnKeyType is deprecated. Use enterKeyHint.
- Origin file / line: index.js:28Android / iOS Native
findHostinstance_DEPRECATED is deprecated in StrictMode. findHostinstance_DEPRECATED was passed an instance of AnimatedComponent(Textinput) which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://react.dev/link/strict-mode-find-node - Origin file / line:
fabricUtils.ts:33Require cycle: src/CONST.ts -> src/libs/models/ BankAccount.ts -> src/CONST.ts Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle
. - Origin file / line: BankAccount.ts:32Require cycle
warnings in multiple files (48 instances).Not sure what's the proto regarding who should fix and when should these be fixed but I guess there are 2 main options: :one: Somebody opens one PR where all of these are addressed & fixed. :two: Willing C+ which currently have opened PRs by contributors pick 1-2 errors / warnings to fix and merge with already opened PRs. ((3 votes for 1, none for 2))
cc @ikevin127 @cead22 @fabioh8010
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @eVoloshchak