Skip to content

Add visual plugin marketplace browser - #10092

Open
lcavadas wants to merge 13 commits into
omacom:quattrofrom
lcavadas:add-plugin-marketplace-browser
Open

lcavadas wants to merge 13 commits into
omacom:quattrofrom
lcavadas:add-plugin-marketplace-browser

Conversation

@lcavadas

@lcavadas lcavadas commented Sep 3, 2026 •

Copy link
Copy Markdown

Summary

  • add a native Quickshell plugin marketplace overlay with search, filters, previews, and metadata
  • route installing, viewing installed entries, and uninstalling through the existing plugin commands
  • cover marketplace payloads, model behavior, and menu integration with shell tests

Verification

  • bash -n bin/omarchy-plugin-browse test/shell.d/plugin-browse-test.sh test/shell.d/plugin-marketplace-model-test.sh
  • node --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.sh
  • bash test/shell.d/menu-test.sh
  • ./test/shell (fails on pre-existing/environment failures: bar icon geometry, config test, and missing omarchy-pkgs checkout checks)

In the branch's shell, summoned with a two-image plugin payload:

  • the card renders the list, filters, and preview pane at 780×560 with nothing clipped
  • opening the enlarged preview takes focus, so Return no longer reaches the action behind it (window count unchanged, 3 → 3)
  • Escape closes only the preview and leaves the overlay open; Right pages to the second image
  • the arrow keys follow the reading direction via Util.readingKey, and the window mirrors on I18n.rightToLeft

Screenshots

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:

Marketplace overlay: plugin list, filters, and preview pane

Enlarged preview, owning its keys — paged to the second image with Right while focused:

Enlarged preview showing the second image, with Close and paging arrows

Generated with AFK

@lcavadas lcavadas changed the title Browse community plugins from Omarchy Add visual plugin marketplace browser Sep 4, 2026
@lcavadas

lcavadas commented Sep 4, 2026

Copy link
Copy Markdown
Author

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.

@lcavadas
lcavadas force-pushed the add-plugin-marketplace-browser branch 3 times, most recently from 17c67ea to 8e8ff48 Compare September 11, 2026 22:12
@omarchybot omarchybot added the enhancement New feature or request label Sep 27, 2026
@lcavadas
lcavadas force-pushed the add-plugin-marketplace-browser branch from 8e8ff48 to 9a8d34e Compare October 3, 2026 21:18
@greptile-apps

greptile-apps Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The update appears safe to merge, with only the earlier non-blocking preview-position issue remaining.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The update appears safe to merge, with only the earlier non-blocking preview-position issue remaining.

Summary

Adds a native plugin marketplace with search, filters, previews, and installed status.

  • The marketplace shows searchable plugin details and image previews.
  • Plugin browsing loads community listings and routes choices to existing actions.
  • A second marketplace request releases the first waiting command.

Reviews (19) · Last reviewed commit: "Format the enlarged preview's counter to..." · Reviewed by Greptile

Comment thread bin/omarchy-plugin-browse Resolved
@lcavadas
lcavadas force-pushed the add-plugin-marketplace-browser branch from 024dd0f to b18e691 Compare November 1, 2026 20:39
Comment thread bin/omarchy-plugin-browse Resolved
@lcavadas
lcavadas force-pushed the add-plugin-marketplace-browser branch from b18e691 to 5cc9af5 Compare November 2, 2026 20:43
@lcavadas
lcavadas force-pushed the add-plugin-marketplace-browser branch from 78ecdd4 to 264b96c Compare November 20, 2026 08:59
Comment thread default/i18n/en/shell.json Resolved
Comment thread bin/omarchy-plugin-browse Resolved
@omarchybot omarchybot added enhancement New feature or request and removed enhancement New feature or request labels Nov 20, 2026
Luis Serralheiro added 7 commits November 26, 2026 21:27
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
Luis Serralheiro added 4 commits November 26, 2026 21:27
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
@lcavadas
lcavadas force-pushed the add-plugin-marketplace-browser branch from d661f5d to 2863ac3 Compare November 26, 2026 21:28
Luis Serralheiro added 2 commits November 26, 2026 21:50
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants