feat(emoji-picker): add bar widget that opens the compact picker panel - #879
Conversation
The bar-widget picker only lists plugin [[widget]] entries, so the panel-only plugin never appeared there. Add a minimal widget entry (glyph mood-smile) whose click toggles the compact panel via noctalia.togglePanel. Version 1.0.1 -> 1.1.0. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
The description now contains the required template structure. |
|
CC @liamwh: this pull request was automatically moved to draft until you have had a chance to look at it. It will be marked ready for review automatically once you reply here. |
|
Waiting on @liamwh, keep it draft until they reply. |
|
Finally got around to this. Nice little entry, and thanks for keeping it to eight lines. One change before I sign off. Please add "bar" to The rest looks right to me: manifest fields, the |
understood, thanks for your engagement ❤️. it's night now in my region; I will make it tomorrow ASAP |
The bar widget ships in 1.1.0, and every plugin that ships a bar widget tags it — without it the plugin is missing from catalogue searches filtered by surface. Folded into the 1.1.0 bump per review.
|
Done — |
|
keep it draft until @liamwh reply, thx. |
|
Looks great, thanks! 👍 |
Plugin
Id:
liamwh/emoji-pickerNew plugin
Update to an existing plugin (version bumped in
plugin.toml)What it does
Adds a minimal bar-widget entry (
widget, glyphmood-smile) so the plugin appears in the shell's add-widget picker — the picker only lists plugin[[widget]]entries, so this panel-only plugin never showed up there. Clicking the widget toggles the compact picker panel vianoctalia.togglePanel("liamwh/emoji-picker:compact"), the same registry path the panel IPC uses. Version1.0.1→1.1.0.README.mddocuments the new entry. The three panel entries (wide,desktop,compact) are unchanged; this PR only adds the bar entry.External dependencies
None
Testing
Live-tested end to end on Niri + Noctalia 5.2.0 with the plugin enabled from a local source at 1.1.0: the widget is listed in the add-widget picker ("Emoji & Symbol Picker") and can be placed on the bar; clicking it opens the compact panel (panel target verified through the same IPC path the widget's
onClickuses).Screenshots / Videos
Emoji-picker widget (this PR):
Processes widget (sibling change, for context):
Checklist
Ready-for-review requirement: Every box in this section must be checked. If any statement is not true, keep the
pull request as Draft. An explanation does not replace a required check.
idafter the/inplugin.tomlexactly.plugin.toml,README.md,thumbnail.webp, andtranslations/en.json.README.mdfollows theREADME template, documents
every entry id and dependency, and includes exact panel IPC commands and launcher prefixes where applicable.
thumbnail.webpis present and relevant; for a new plugin I created it with the thumbnail generator, and for an update I regenerated it with the generator if the visual identity or user-facing appearance changed.versionfollows semver and is bumped in this PR;plugin_apiis the oldest API level this plugin requires.understand that language well enough to review and maintain it (no unreviewed machine/LLM translations).
catalog.toml; CI generates it.Code review attestation
Plugins run as trusted, unsandboxed Luau in the user's session. Confirm:
Ready-for-review requirement: Every attestation below must be checked.
licensedeclared inplugin.toml.