clapointe-carbonleo gets shared projects to actually show up
A broken visibility filter meant projects shared with a colleague weren't reliably appearing for them - this fixes that, with a catch.
When you share a project with someone, the system has to figure out which shared projects to show each person when they log in. clapointe-carbonleo found that the filter doing that job - running inside Supabase, the hosted database behind the fork - was behaving unpredictably and quietly dropping results. The fix sidesteps the database entirely: pull the candidate projects, then sort out who can see what in the application layer instead.
It works, and shared projects now surface correctly. The honest tradeoff, which the commit notes itself, is that it doesn't scale cleanly - every time someone opens their project list, the system now pulls every project they don't own before narrowing down. Fine for a small team, a drag once the data grows. It's a working stopgap, not the final answer.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?