feat(keybind-cheatsheet): update to v0.2.2 data service architecture and bug fixes - #371
Conversation
|
Hi @cheerfulScumbag — thanks for picking this up so quickly, and for the kind
The counts still match (4/4); the category is what goes missing. Cause. For Hyprland.config.bind("SUPER, " .. i, workspace, { description = "Workspace " .. i })the rules produced by
Fixing (1) alone restores On #333: my rebase onto this branch is ready and green apart from the above |
|
Thanks for catching this and providing the reproduction. I’ve confirmed the plain = true search is |
Plugin
kenn/keybind-cheatsheetplugin.toml)What it does
This update introduces a major architectural refactor to resolve host CPU callback timeouts and fixes reported community issues:
Data Service Architecture (
service.luau):[[service]] id = "data").panel.luau) is now instant (0ms) and renders pre-parsed snapshots from memory without performing synchronous file I/O.Bug Fixes:
onOpen()callback CPU budget timeout that caused blank panels on startup. Added support for single-quotedincludedirectives (include './path.kdl').extractLuaStringLiterals) to properly assign categories for empty string prefix concatenations ("" .. "Bar"), multiline assignments, and concatenated descriptions.resetCallbacks()) inpanel.luauon panel close and plugin exit.Metadata & API:
plugin_api = 9for Noctalia v5 compatibility.Note for @rylos: Once this v0.2.2 release is merged, PR #333 can rebase on top of this clean baseline to add your Niri 3x parsing speedup and 15s refresh timeout recovery!
External dependencies
hyprctl(used only for Hyprland Lua live bind queries)Testing
Screenshots / Videos
No visual changes to the UI surface. Rendered keybinding layout remains identical to v0.2.1.
Checklist
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.webpwith the thumbnail generator.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:
licensedeclared inplugin.toml.