Repository navigation
feat: add a monospace font select list to app settings - #52
BlakeGardner wants to merge 1 commit into
Conversation
|
Thanks, this works as described and the "current value always stays in the list" detail is a nice touch. One thing about where it lives. The widget types for app settings are a libsingularity contract: The list of installed monospace families is also something other apps will want (an editor, a terminal), so it would be better as a shared row in libsingularity than as a private helper of this page. Could you:
Happy to merge once it sits in the shared layer. |
App settings descriptors can use the "monospace-font-selector" widget on a string key to get a collapsible list of the installed monospace font families instead of a free-text entry. The list is libsingularity's MonospaceFontRow. Assisted-by: Claude:claude-fable-5-2 AI-Scope: The monospace-font-selector settings row, from a request to make Leafs' font family a select list of monospace fonts
1118a71 to
d86bb47
Compare
Thanks for the feedback. I moved the font list into libsingularity as Suggested merge order:
|
Adds a
monospace-font-selectorwidget type for app settings descriptors. On a string key it shows a list of the installed monospace font families, instead of a free-text entry. The saved value is always in the list, so a font that is no longer installed stays visible.Needs singularityos-lab/libsingularity#23, which adds the
MonospaceFontRowthis uses.Generative AI assistance
AI assistance: disclosed