-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
feat(developer): add hint support to Touch Layout Editor and schema 🙊 #6936
feat(developer): add hint support to Touch Layout Editor and schema 🙊 #6936
Conversation
User Test ResultsTest specification and instructions User tests are not required Test Artifacts
|
1cb0444
to
51a94a1
Compare
Also fixes a couple of minor issues with character map integration and Unicode text fields.
Moves the top toolbar to the left to make more room, and tidy it up, and moves various controls into sub-dialogs to make them clearer. Shortcut buttons to prepopulate the Hint property will come in a subsequent PR.
Most dialogs in touch layout editor can now have just a Close button with changes taking effect immediately. This helps users visualize how the options they've chosen will work.
After a demo of the Touch Layout Editor @jahorton suggested using a "default hint" model instead of the "display hint" from the design spec. I liked this and have reworked the design accordingly. With the default hint model, a source for the hint text can be specified, such as the default longpress key, or a specific flick key. This can then be overridden on a key level. The hint input element now shows a placeholder to indicate the default hint for the key, and if a hint has been customised for a given key, it is shown in green on the key cap. Changing the default hint does not impact any customised hints.
81e389a
to
6032181
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Design's a definite LGTM, and most of the code is as well. I do have a few concerns re: the documentation, though.
b438a20
into
feat/developer/touch-layout-editor-flick-and-multitap
Changes in this pull request will be available for download in Keyman version 16.0.38-alpha |
How to disable default "." for hint? |
In version 17+, this can be done in the touch layout editor in the Platform properties dialog:
I don't really understand this question!
|
How to show ZWNJ symbol along with a text for "Key display text" |
This is a platform-level property, not a global option for the touch layout. It should be present in 17.0.185-alpha
Yes, that's correct.
Good point. Can we you this in a separate issue?
Currently, we don't support |
@keymanapp-test-bot skip
I ended up with all the changes in one PR to support hints in Keyman Developer and the schema.
I reworked the touch layout editor to support hints, including moving the main control toolbar so that additional properties could be neatly fit into the design.
Green coloured hint text indicates that the hint has been customised:
I moved the delete button off the key cap itself so that it doesn't overlap the hint text:
I moved the controls off the top and into a left-hand-side toolbar, moving some functions into Edit dialogs so we have more flexibility for future functionality:
Hint text shows a placeholder of the default hint (in this case from the longpress) if no custom hint has been applied:
Platform properties dialog:
View options dialog:
Note that the "Show all modifier options" check box would be rarely used so it's good to get it out of the main UI.