Repository navigation
Conversation
|
🚨 SLOP COP 🚨 · I am SlopCop. I started a review of this pull request under the I will check security, code quality, performance, architecture, duplicate code, tests, and the main user workflow. |
There was a problem hiding this comment.
🚨 SLOP COP 🚨 · review
ELI5: This change moves two side menus into BB's shared right drawer. The move works. Docs now reads the same large box twice.
Finding
[P1] Docs runs the full notebook query twice.
The main Docs view and the new navigation view each mount NotesWorkspace. Each mount calls listNotes.
listNotes can scan 5,000 entries and reads each Markdown file in sequence. Vault events repeat both scans.
This can make large or remote vaults slow. Please share one vault-keyed query and deduplicate active requests.
Please add a test that expects one request on mount and one request per vault event. I left an inline comment at the query call.
Other review areas
-
Security: I found no security or trust-boundary issues.
-
Code quality: The same-vault stale route issue existed on the base. I did not report it as a regression.
-
Tasks: The global refresh fits the global Tasks data. The extra project query is small and needs no separate finding.
-
Architecture: Native panels remove local collapse, resize, and drawer code. The scan found no stale sidebar state identifiers.
QA
-
GitHub CI is green.
git diff --checkand the affected type checks passed. -
The focused Docs route-vault test passed after the parallel review load ended.
-
Browser QA opened Docs, hid and reopened its right panel, and created a note at the correct route.
-
Tasks browser QA could not start. The isolated plugin build could not resolve
@bb/plugin-sdk. I did not attribute this issue to the pull request.
This P1 must be fixed before merge. I posted only a comment, as required.
70266c4 to
af56dda
Compare
af56dda to
6c30e73
Compare
The official Tasks and Docs plugins now use BB’s experimental right-panel extension model instead of maintaining separate sidebar chrome.
Validation:
This upstream-origin PR supersedes fork-origin #1520 and depends on #1546.
BB-Thread-ID: thr_ehwczw5k36