bsky-app/src/view/com
dan 8475312422
Add a mutation queue to fix race conditions in toggles (#1933)
* Prototype a queue

* Track both current and pending actions

* Skip unnecessary actions

* Commit last confirmed state to shadow

* Thread state through actions over time

* Fix the logic to skip redundant mutations

* Track status

* Extract an abstraction

* Fix standalone mutations

* Add types

* Move to another file

* Return stable function

* Clean up

* Use queue for muting

* Use queue for blocking

* Convert other follow buttons

* Don't export non-queue mutations

* Properly handle canceled tasks

* Fix copy paste
2023-11-16 14:01:01 -08:00
..
auth Add a mutation queue to fix race conditions in toggles (#1933) 2023-11-16 14:01:01 -08:00
composer Remove deprecated models and mobx usage (react-query refactor) (#1934) 2023-11-16 12:53:43 -08:00
feeds Shell behaviors update (react-query refactor) (#1915) 2023-11-15 17:17:50 -08:00
lightbox Remove deprecated models and mobx usage (react-query refactor) (#1934) 2023-11-16 12:53:43 -08:00
lists Update Muted and Blocked accounts screens (react-query refactor) (#1892) 2023-11-13 17:30:56 -08:00
modals Remove deprecated models and mobx usage (react-query refactor) (#1934) 2023-11-16 12:53:43 -08:00
notifications Refactor notifications to use react-query (#1878) 2023-11-12 18:13:11 -08:00
pager Remove deprecated models and mobx usage (react-query refactor) (#1934) 2023-11-16 12:53:43 -08:00
post Add Shadow type (#1900) 2023-11-14 12:10:39 -08:00
post-thread Improve types (#1921) 2023-11-15 17:23:59 -08:00
posts Remove deprecated models and mobx usage (react-query refactor) (#1934) 2023-11-16 12:53:43 -08:00
profile Add a mutation queue to fix race conditions in toggles (#1933) 2023-11-16 14:01:01 -08:00
testing Eric/preferences (#1873) 2023-11-12 11:31:11 -08:00
util Remove deprecated models and mobx usage (react-query refactor) (#1934) 2023-11-16 12:53:43 -08:00