Repository navigation
Conversation
neur0map
left a comment
There was a problem hiding this comment.
🔴 Changes requested — 0 critical and 2 major issue(s): see the inline comments and the walkthrough for fixes and an agent-ready prompt.
🧹 Nitpicks (5) — optional, not blocking
-
plugins/ryoku-navbar-pets/content/Widget.qml:31-37— Possible Bug —GlyphemitsrequestClose()when the open glyph is clicked, but the loader never forwards that signal to the host-facingWidget. Consequently clicking the glyph again cannot close its panel; forward the signal to `r…Suggested change
onRequestClose: root.requestClose()
-
plugins/ryoku-navbar-pets/service/Main.qml:4— Maintainability — The service imports../content/Pets.js, but the plugin contract forbids parent-relative imports. Move the shared definitions to a location accessible without traversing a parent directory and update the imports. -
plugins/ryoku-navbar-pets/service/Main.qml:159-161— Bug —ballis a JavaScript object, so mutating it and assigning the same object back does not reliably emitballChanged; the scene can leave the ball frozen at its initial position. Copy it before updating so the assignmen…Suggested change
var currentBall = svc.ball;
var b = { x: currentBall.x, y: currentBall.y, vx: currentBall.vx, vy: currentBall.vy, active: currentBall.active };
if (b.active) {
b.vy += 0.22 * step;
-
plugins/ryoku-navbar-pets/content/Widget.qml:25-30— Bug — The loaders have no size, so their loaded items receive zero width and height even thoughWidget.qmlhas an implicit size. Size both loaders to the host so the glyph, card, and their hit areas are visible. Regenerate t…Suggested change
implicitWidth: view ? view.implicitWidth : 20 * root.s
implicitHeight: view ? view.implicitHeight : 20 * root.s
Loader {
id: glyphLoader
anchors.fill: parent
active: root.isGlyph
plugins/ryoku-navbar-pets/service/Main.qml:230-234— Performance — The timer runs every 50 ms whenever the service is ready, even when neither scene is visible, and rebuilds the pet, treat and particle arrays on every tick. Stop or reduce simulation work when the hosts are inactive so a…
3 more nitpick(s) omitted.
🦊 mika's reviewIncremental review: new commits since the last checkpoint. Summary
Estimated review effort: 1/5 · risk: low 📁 Walkthrough details
|
Blocking findings were addressed (verified at e687d4439d).
|
All five nitpicks are also addressed in e687d44:
Also fixed a name shadow found during re-test: the local palette lookup is Verification after the push: |
New community plugin: Navbar Pets for Ryoku — an original pixel-art companion scene for the bar and desktop.
This is inspired by the Omarchy Navbar Pets idea, but all artwork, QML and simulation code here are written from scratch. No upstream sprites, code or assets are copied or bundled.
Features
Canvasfrom rect definitions incontent/Pets.js.CALMreduced-motion mode.MIXED), sky cycle, 1–4 companions, sprite pixel size, treat/ball/pat/play buttons.Ryoku integration and safety
Themetokens, shared panel surface, andpluginApi.saveSettingfor persistence. No helper scripts, no external commands, no network hosts, no compositor socket access, and no file writes.official: false.Checks
ryoku plugin validate plugins/ryoku-navbar-pets→0 blocking, 0 warnings.tests/validate-catalogue.shandtests/validate-store.py --root . --categories plugins→ OK.tools/security-screen.py --staged→0 blocking, 234 warning(s), 0 error(s),ryoku-navbar-pets findings: 0.Source repo published first: https://github.com/mannish01/Ryoku-Navbar-Pets