feat: batch room meeting status queries into single bulk endpoint

Reduces rooms list page from 2N+2 HTTP requests to 1 POST request.
Backend: POST /v1/rooms/meetings/bulk-status with 3 DB queries total.
Frontend: @yornaath/batshit DataLoader-style batcher with 10ms window.
This commit is contained in:
Igor Loskutov
2026-02-05 17:47:58 -05:00
parent 1ce1c7a910
commit 7e072219bf
9 changed files with 236 additions and 32 deletions

21
www/pnpm-lock.yaml generated
View File

@@ -37,6 +37,9 @@ importers:
"@whereby.com/browser-sdk":
specifier: ^3.3.4
version: 3.13.1(@types/react@18.2.20)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
"@yornaath/batshit":
specifier: ^0.14.0
version: 0.14.0
autoprefixer:
specifier: 10.4.20
version: 10.4.20(postcss@8.4.31)
@@ -3315,6 +3318,18 @@ packages:
integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==,
}
"@yornaath/batshit-devtools@1.7.1":
resolution:
{
integrity: sha512-AyttV1Njj5ug+XqEWY1smV45dTWMlWKtj1B8jcFYgBKUFyUlF/qEhD+iP1E5UaRYW6hQRYD9T2WNDwFTrOMWzQ==,
}
"@yornaath/batshit@0.14.0":
resolution:
{
integrity: sha512-0I+xMi5JoRs3+qVXXhk2AmsEl43MwrG+L+VW+nqw/qQqMFtgRPszLaxhJCfsBKnjfJ0gJzTI1Q9Q9+y903HyHQ==,
}
"@zag-js/accordion@1.21.0":
resolution:
{
@@ -11349,6 +11364,12 @@ snapshots:
"@xtuc/long@4.2.2": {}
"@yornaath/batshit-devtools@1.7.1": {}
"@yornaath/batshit@0.14.0":
dependencies:
"@yornaath/batshit-devtools": 1.7.1
"@zag-js/accordion@1.21.0":
dependencies:
"@zag-js/anatomy": 1.21.0