Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration GUI #1

Open
introt opened this issue Feb 12, 2022 · 1 comment
Open

Configuration GUI #1

introt opened this issue Feb 12, 2022 · 1 comment
Labels
help wanted Extra attention is needed
Milestone

Comments

@introt
Copy link
Owner

introt commented Feb 12, 2022

A simple GUI to input/modify replacements, similar to what's shown in this screenshot nicked from zim-desktop-wiki/zim-desktop-wiki#846

Should have the current path input above with buttons to save and reload, or another solution for backing up/external modification.

@introt introt added the help wanted Extra attention is needed label Feb 12, 2022
@introt introt added this to the Core plugin milestone Feb 12, 2022
@introt
Copy link
Owner Author

introt commented Feb 12, 2022

Alternatively, could re-implement using insertsymbol.py as a base (with ConfigManager.get_config_file('replacements.list') instead of json, need to modify load_file a bit); who wouldn't like an InsertTextDialog for their canned responses etc? Showing a list shouldn't be too hard, and having an Edit button open replacements.list in a text editor is an easy way out of writing more GUI :)

Edit: s/symbol/text: 092c8e9; works with minimal changes, though looks goofy :D

image

Note to self: the og plugin doesn't need the list anymore as Python now retain order

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant