You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a fcitx5 plugin developer, I want to show some information to users.
Suggested feature
I want a Option of kind not editable, and not saved or stored.
Current most easy endpoint for plugins that has UI is Options in configtool.
I'd utilize that and whenever a config has skipSave() that returns true or if it has some property like "IsNonEditable", use the StringOption-like TextField but readonly parameter is set to true.
I would use it like this to show the plugin version or library build version.
The text was updated successfully, but these errors were encountered:
naokiri
changed the title
[Feature Request] Static option or field just show information
[Feature Request] Uneditable option or field just to show information
Aug 26, 2022
ok, the readonly field kinda makes sense, but as a side note.. we do have "Version" field already in addon.
So in order to display version, we might want to try some different UI option. I was thinking about adding an "about" window like KDE or sth, though we don't have much to display there.
I feel that's good if plugins can add arbitrary field on it.
In my case I probably would want to show the version of the addon itself and the version of the main underlying library, so just extracting the existing version string won't be enough.
Having very plain 'about' window for default is acceptable in my opinion. Like that example even if it is just license and author it still is a meaningful default information and if plugins don't have more to add it is fine.
User story
As a fcitx5 plugin developer, I want to show some information to users.
Suggested feature
I want a Option of kind not editable, and not saved or stored.
Current most easy endpoint for plugins that has UI is Options in configtool.
I'd utilize that and whenever a config has
skipSave()
that returns true or if it has some property like "IsNonEditable", use theStringOption
-likeTextField
but readonly parameter is set to true.I would use it like this to show the plugin version or library build version.
The text was updated successfully, but these errors were encountered: