Commit graph

699 commits

Author SHA1 Message Date
Darcy Wong
f79cf355d5 More refactoring of banner
* add more getter/setters
* update how ImageBanner can update the image
2019-03-19 13:58:43 +07:00
Darcy Wong
904da4406a Reorder height calculations
Per review comment,  change `getKeyboardHeight` to not use banner height (revert it to original `getHeight` calculation)
2019-03-19 08:53:44 +07:00
Darcy Wong
af0cefb104 Merge remote-tracking branch 'origin/master' into web-suggestion-ui 2019-03-19 08:44:29 +07:00
Darcy Wong
5d3c5504bb Cleanup
* Separate `getBannerHeight`, `getKeyboardHeight`, and `get Height`
* Add typing to banner height
2019-03-19 08:43:50 +07:00
Joshua Horton
33e63efc3a
Merge pull request #1668 from keymanapp/web-embed-popup-processing
[Web] Embedded-mode processing refactor
2019-03-19 08:24:48 +07:00
Darcy Wong
25c779e193 Add method to compute the rows height 2019-03-19 08:15:13 +07:00
Darcy Wong
94a9ab4a00 Clean up adjustHeights()
The methods in `kmwnative.ts` and `kmwembedded.ts` are nearly identical.

Also added a few pixels to the Android OSK dimensions.
2019-03-18 15:45:23 +07:00
Darcy Wong
6a6b455e48 Remove unused file 2019-03-18 13:34:30 +07:00
Darcy Wong
b91427394a Factor banner height on mobile view 2019-03-18 13:27:33 +07:00
Joshua A. Horton
7596f53926 Fixes KMW issues with mouse & key-cap interactions on 'master'. 2019-03-18 12:11:15 +07:00
Joshua A. Horton
713d62f86d Addresses review comment. 2019-03-18 10:08:18 +07:00
Darcy
7a39380cea Start incorporating banner height 2019-03-15 15:36:34 +07:00
Darcy
633466e5f8 Fix hierarchy for determining inner-frame node 2019-03-15 10:25:41 +07:00
Joshua A. Horton
bc1f0a4420 Addresses PR review; extended defaultKeyOutput should affect OSK too. 2019-03-14 15:49:37 +07:00
Darcy
2074956bf9 Add methods to control visibility and enable 2019-03-14 15:42:38 +07:00
Darcy
7fab8e729f Start adding banner module 2019-03-14 15:42:38 +07:00
Joshua Horton
92bcc06771
Merge pull request #1666 from keymanapp/web-model-manager-events
[Web] Sets up event infrastructure for predict/suggest messages.
2019-03-14 15:30:08 +07:00
Joshua A. Horton
f018b988e6 Funnels 'embedded'-path external-keyboard handling through Processor. 2019-03-14 14:26:49 +07:00
Joshua A. Horton
a3174069c8 Partially refactors 'embedded'-mode subkey preprocessing. 2019-03-14 13:54:01 +07:00
Joshua A. Horton
539ab17b7a Partial refactor of embedded-mode popup key execution. 2019-03-14 13:05:23 +07:00
Joshua A. Horton
17164afb76 Handles rule-matched next layer stuff before keypress swallow+returns. 2019-03-14 10:29:09 +07:00
Joshua A. Horton
1b12750f9c Corrects mobile device external kbd backspace regression. 2019-03-14 10:10:45 +07:00
Joshua A. Horton
97bffb46d6 Adds 'modelchange' event, addresses PR comments. 2019-03-14 09:12:21 +07:00
Joshua A. Horton
8dc26893c0 Corrects desktop-layout detection logic. 2019-03-12 15:22:11 +07:00
Joshua A. Horton
ca8b0301a3 Sets up event infrastructure for predict/suggest messages. 2019-03-12 14:56:42 +07:00
Joshua A. Horton
5f920816e8 Fixes desktop-styled layout modifier keys. 2019-03-12 13:39:20 +07:00
Joshua A. Horton
1d363676f7 Fixes lack of longpress output on embedded subkeys. 2019-03-12 12:39:22 +07:00
Joshua A. Horton
095d2f4f2f The embedded path had a few details missed on a recent refactor. 2019-03-12 11:48:39 +07:00
Joshua Horton
8987e450da
Merge pull request #1639 from keymanapp/web-model-manager
[Web] The ModelManager
2019-03-12 07:18:09 +07:00
Darcy Wong
a79b5c1f40 Rename touchAliasElement.ts so it compiles on Linux 2019-03-07 21:20:57 +07:00
Joshua A. Horton
72bdc8d2de Fixes #1638. 2019-03-07 09:31:34 +07:00
Joshua A. Horton
66e9193d69 Merge branch 'web-lmlayer-model-registration' into lmlayer-wordbreak-spec 2019-03-07 09:04:00 +07:00
Joshua A. Horton
a8d6e50b56 Addresses more PR review concerns, renames activateModel -> loadModel. 2019-03-07 08:46:22 +07:00
Joshua A. Horton
9a1a21d767 Workaround for the mac sed issue, plus minor doc for one other point. 2019-03-06 11:53:49 +07:00
Joshua A. Horton
69f7319414 Right, KMW links to the actual LMLayer code, not the .d.ts file... 2019-03-06 11:35:52 +07:00
Joshua A. Horton
a873695c10 Updates and improves LMLayer definition files and their links. 2019-03-06 11:08:21 +07:00
Joshua A. Horton
473ed67b29 Adds a 'config' state to the LMLayer worker. 2019-03-06 09:35:46 +07:00
Joshua A. Horton
aeae40ae21 Links KMW to the reworked LMLayer API. 2019-03-05 08:12:54 +07:00
Joshua Horton
0abc5976a7
Merge pull request #1622 from keymanapp/web-processing-refactor
[Web] Processing refactor
2019-03-04 10:14:11 +07:00
Joshua A. Horton
4665a5abd5 Fixes mobile app longpress key regression. 2019-03-04 09:25:53 +07:00
Joshua A. Horton
9b1ad25537 Enhancing the new ModelManager. 2019-02-28 08:58:14 +07:00
Joshua A. Horton
89f8f88e1b Initial work on KMW's ModelManager. 2019-02-27 12:19:47 +07:00
Joshua A. Horton
dacd164131 Merge branch 'master' into web-processing-refactor 2019-02-27 08:44:08 +07:00
Joshua A. Horton
c5b9b7803e Adds comments for the two 'layer' properties regarding OSK keys. 2019-02-27 08:21:34 +07:00
Joshua A. Horton
1cbcdbeee3 Polishes the fix, better incorporating it into the design. 2019-02-26 15:40:37 +07:00
Joshua A. Horton
5fd8d3a162 First proper merge of clickKey and keyDown's main logic 2019-02-26 15:12:59 +07:00
Joshua A. Horton
9bf27dac65 Fixes #1628 for the 12.0 alpha 2019-02-26 12:32:18 +07:00
Joshua Horton
62a85ef7b8
Merge pull request #1602 from keymanapp/web-lmlayer-compilation
[Web] Compilation with the LMLayer
2019-02-26 09:28:04 +07:00
Joshua A. Horton
b4302b9bc0 Pulls #1629's fix into master. 2019-02-26 08:51:30 +07:00
Joshua A. Horton
351beea1ae Removes Object.assign use - is not IE-compatible. 2019-02-25 11:18:09 +07:00