Repository navigation
Conversation
|
A brief clarification on scope and relationship to the agent work: this PR is independent of the AFK default-agent changes. It adds the native marketplace browser and routes install, inspect, and removal through the existing plugin commands; it does not implicitly install or enable third-party plugins. PR #10079 covers the concrete AFK default-agent integration, while #10171 covers the broader extensible harness architecture. The marketplace browser is intended to remain the user-facing discovery surface for plugins regardless of which harness integrations are built in or shipped separately. Focused validation is listed in the PR description. |
17c67ea to
8e8ff48
Compare
8e8ff48 to
9a8d34e
Compare
[Medium impact] The update appears safe to merge, with only the earlier non-blocking preview-position issue remaining. SummaryAdds a native plugin marketplace with search, filters, previews, and installed status.
Reviews (19) · Last reviewed commit: "Format the enlarged preview's counter to..." · Reviewed by Greptile |
024dd0f to
b18e691
Compare
b18e691 to
5cc9af5
Compare
78ecdd4 to
264b96c
Compare
Generated with AFK Co-Authored-By: AFK <[email protected]> using gpt-5.6-terra
Add a first-party Quickshell marketplace overlay with search, filters, previews, installed state, and uninstall routing. Generated with AFK Co-Authored-By: AFK <[email protected]> using gpt-5.6-luna
Generated with AFK Co-Authored-By: AFK <[email protected]> using gpt-5.6-sol
Generated with AFK Co-Authored-By: AFK <[email protected]> using gpt-5.6-sol
The summoner discarded the shell's reply and then waited on a done file the overlay can never write when it is not loaded, so a disabled plugin hung the menu command. Only a summon answered "ok" is waited on now. The overlay also named bare Color, which Qt 6.12's own Color type shadows, and its strings were untranslated English, including the menu row and the four browse notifications. Both now go through the catalogs. The QML checks asserted the source text of the file; they now drive the overlay through a fixture and assert that a second summon finishes the request the first left open, which is the behaviour those greps described. Buttons in the detail pane and the preview are focusable, so uninstall is reachable from the keyboard. Generated with AFK Co-Authored-By: AFK <[email protected]> using gpt-6-luna
The fixture needs a session, so ask for one before launching Quickshell, and wait for the done file a detached write produces instead of checking once. Generated with AFK Co-Authored-By: AFK <[email protected]> using gpt-6-luna
The model answered with English text, so those labels stayed English in every other language: the detail pane's badges and its primary action button. It now returns catalog keys and the overlay translates them, with the seven new keys in the English catalog for the translation sync to fill in. Generated with AFK Co-Authored-By: AFK <[email protected]> using gpt-6-luna
qml-text-format-test rejects a Text whose binding is not a bare literal unless it declares textFormat, because Qt's AutoText promotes an attacker-supplied string to RichText and fetches any <img src> in it. Five of this overlay's labels relied on AutoText, and the badge line also nested a function expression that the scanner cannot read at all. The badge and action text are now bindings on the overlay, which keeps the scanner's one-line form and re-renders both on a language change. Generated with AFK Co-Authored-By: AFK <[email protected]> using gpt-6-luna
Review found the overlay kept three habits the rest of the shell had dropped. It never mirrored itself, so an Arabic, Hebrew, Persian or Urdu desktop read a left-to-right card whose arrows the keyboard also read left-to-right; it now binds LayoutMirroring on the window's contentItem, as OverlayWindow and SpeedTestOverlay do, and takes the arrows from Util.readingKey. The enlarged preview also left keyboard focus on the card behind it, where Enter still launched the selected plugin; it takes focus while open, handles Escape and the arrows itself, and hands focus back to the search field when it closes. The fixture's scratch directory now lives in the one run_qml_fixture removes, so a run no longer leaves a directory behind. Generated with AFK Co-Authored-By: AFK <[email protected]> using deepseek-flash
The enlarged preview is a sibling of the card, not a child of it, so key events focused in the preview never reach the card's Keys handler. Moving focus there alone left Escape and the arrows dead, which is worse than the bug it fixed: the preview could only be closed with the pointer. The handler now sits on the preview itself, focus is taken with forceActiveFocus rather than a binding alone, and the card keeps only its own keys now that it no longer covers the screen. Generated with AFK Co-Authored-By: AFK <[email protected]> using deepseek-flash
A single star read "1 stars" because marketplace.stars was a plain string: give it one and other forms and read it with I18n.tn(), so the count picks the form. Translations follow the usual sync. The marketplace sorted preview URLs on the way to deduplicating them, which moved a listing's main image behind whatever sorted first; the browser pages through previewImages by position, so the order it was given is the order it must keep. Dedupe without sorting, and cover it. Generated with AFK Co-Authored-By: AFK <[email protected]> using deepseek-flash
d661f5d to
2863ac3
Compare
Changing a filter can keep row zero selected while replacing which plugin that row is, so resetting the selection alone did not reset the preview and a new plugin opened on the previous one's image number. The preview resets with the selection. The preview counter was built from raw numbers, so it kept Latin digits in a language that writes others. It is a catalog string now, with both numbers formatted for the language. Generated with AFK Co-Authored-By: AFK <[email protected]> using deepseek-flash
The small preview's counter took the catalog string and the language's digits; the enlarged one still built "3 / 2" from raw numbers, so it kept Latin digits and could disagree with the preview it sits on. Both read the same key now. Generated with AFK Co-Authored-By: AFK <[email protected]> using deepseek-flash
Summary
Verification
bash -n bin/omarchy-plugin-browse test/shell.d/plugin-browse-test.sh test/shell.d/plugin-marketplace-model-test.shnode --check shell/plugins/plugin-marketplace/MarketplaceModel.js./test/shell.d/plugin-browse-test.sh./test/shell.d/plugin-marketplace-model-test.sh./test/shell.d/plugin-marketplace-qml-test.sh./test/shell.d/qml-text-format-test.shbash test/shell.d/menu-test.sh./test/shell(fails on pre-existing/environment failures: bar icon geometry, config test, and missingomarchy-pkgscheckout checks)In the branch's shell, summoned with a two-image plugin payload:
Returnno longer reaches the action behind it (window count unchanged, 3 → 3)Escapecloses only the preview and leaves the overlay open;Rightpages to the second imageUtil.readingKey, and the window mirrors onI18n.rightToLeftScreenshots
Cropped to the overlay; the rest of the desktop is not included.
Reading direction and preview keys — the overlay as it lands after the review fixes:
Enlarged preview, owning its keys — paged to the second image with
Rightwhile focused:Generated with AFK