Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.58k stars 2.92k forks source link

Comprehensive unit tests and docs for LHN item presence #52031

Open OlimpiaZurek opened 3 weeks ago

OlimpiaZurek commented 3 weeks ago

Problem LHN items have a historical record of rendering inconsistencies & regressions that lead us to a recurring question of “Why is this in my LHN?”. There are multiple factors determining which reports should be displayed including report’s type, participants, status, specific conditions such as being pinned, having violations, or being archived which makes it easy to accidentally break this pipeline.

Solution Implement a comprehensive unit test suite & docs around shouldReportBeInOptionList that focuses on clearly defined scenarios for report visibility. This will help us increase confidence and make sure on the CI level that no regressions in this area make it to the production environment which is not something we can guarantee ourselves right now. Here are some sample scenarios we can assert:

Should show the report

slack thread: https://callstack-hq.slack.com/archives/C05LX9D6E07/p1727967763482779

melvin-bot[bot] commented 3 weeks ago

Triggered auto assignment to @RachCHopkins (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

RachCHopkins commented 3 weeks ago

Expensify slack thread for convenience: https://expensify.slack.com/archives/C05LX9D6E07/p1727967763482779

melvin-bot[bot] commented 2 weeks ago

Eep! 4 days overdue now. Issues have feelings too...

melvin-bot[bot] commented 2 weeks ago

Still overdue 6 days?! Let's take care of this!

melvin-bot[bot] commented 2 weeks ago

8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

melvin-bot[bot] commented 1 week ago

12 days overdue now... This issue's end is nigh!

melvin-bot[bot] commented 1 week ago

This issue has not been updated in over 14 days. eroding to Weekly issue.