Commit graph

50 commits

Author SHA1 Message Date
Marc Durdin
0c0bb420b5
Merge pull request #5963 from keymanapp/feat/web/3621-newcontext-group
feat(web): Start of Sentence support - part 1 🕊
2022-01-17 12:04:29 +11:00
Marc Durdin
3f35cc0bf8 chore(web): Merge branch 'master' into feat/web/3621-newcontext-group 2021-11-29 10:22:22 +11:00
Marc Durdin
e98930dedb
Merge branch 'master' into fix/web/5779-font-scaling-in-osk 2021-11-29 09:12:15 +11:00
Marc Durdin
45821fcb1b fix(web): adjust tablet font scaling
This makes two corrections:

1. Removed an obsolete test for screen size based on dpi, which is
   unreliable, meant that we had been treating many Android tablets as
   phones (domManager.ts).
2. Font scale for Android tablets had some incorrect assumptions around
   keyboard height and devicePixelRatio, which I was able to simplify
   into a fixed ratio, and was much better across all devices I
   tested (however, all emulated in Chrome).
2021-11-29 08:56:41 +11:00
Marc Durdin
bbbf1afce7 feat(web): basic support for newContext
Relates to #3621.

Adds basic support for `begin newContext`.
2021-11-23 15:00:47 +11:00
Marc Durdin
c2c7e00e94 fix(web): reset scroll anchor on touchend
Fixes #5313.
2021-11-17 10:37:01 +11:00
Darcy Wong
9136933c9e fix(web): Check parent element is defined before assigning 2021-11-02 11:22:08 +07:00
jahorton
09f4aed77e chore(web): Merge branch 'refactor/web/active-element-integrations' into refactor/web/osk-activation-and-visibility 2021-09-21 09:59:46 +07:00
jahorton
a6289f4f0f fix(web): detaches base-page touch handlers on shutdown 2021-09-21 09:55:11 +07:00
jahorton
b452092765 refactor(web): base page touch-handlers 2021-09-21 09:43:34 +07:00
jahorton
a1516d194d fix(web): focus-timer preserves activation on Android 2021-09-21 09:23:11 +07:00
jahorton
09de360789 fix(web): missed bits of last commit, adds some polish 2021-09-17 15:02:43 +07:00
jahorton
8826bec8fe fix(web): incorporates some review suggestions 2021-09-17 14:58:18 +07:00
jahorton
ffc381fcb6 chore(web): Merge branch 'refactor/web/active-element-integrations' into refactor/web/osk-activation-and-visibility 2021-09-17 08:38:49 +07:00
jahorton
430b636b22 fix(web): independent keyboard & touch-focus management 2021-09-15 10:28:58 +07:00
jahorton
29a8e3ad63 chore(web): extra sanity check for activeTarget management 2021-09-03 13:34:46 +07:00
jahorton
e8afd71491 refactor(web): _Show -> present(), presentAtPosition() 2021-09-01 09:44:34 +07:00
jahorton
f070df079d refactor(web): osk._Hide -> osk.startHide 2021-09-01 09:44:34 +07:00
jahorton
ffef7c2bd4 chore(web): mild cleanup 2021-09-01 09:44:31 +07:00
jahorton
fe797fe657 refactor(web): osk now controls own display state 2021-09-01 09:44:30 +07:00
jahorton
5cbb3cfeeb refactor(web): OSK view activeTarget, lastActiveTarget no longer tied to DOMManager 2021-09-01 09:44:29 +07:00
jahorton
7fd62c51f4 refactor(web): centralizes element-oriented OSK display logic, polish for prior commits 2021-09-01 09:44:02 +07:00
jahorton
6971f09c4d refactor(web): activeElement, lastActiveElement as properties 2021-09-01 09:44:01 +07:00
jahorton
c0e48e649a refactor(web): OSK connection to active element 2021-09-01 09:44:00 +07:00
jahorton
1c0f596ee7 chore(web): reverts unneeded changes 2021-08-25 11:53:31 +07:00
jahorton
f27ddc6180 refactor(web): constructor takes devicespec; more pruning, centralization 2021-08-25 09:40:20 +07:00
jahorton
aebe4788a7 refactor(web): Anchored vs Floating OSKViews (pass 1) 2021-08-25 09:40:18 +07:00
Darcy Wong
5d1a652314 Merge remote-tracking branch 'origin/master' into feat/web/add-keyboard-promise 2021-07-23 13:12:40 +07:00
jahorton
dbded0dd23 refactor(web): osk.prepare -> constructor, sync _Load 2021-07-07 11:46:12 +07:00
jahorton
7d08b2795f feat(web): delayed keyman.osk initialization 2021-07-07 11:45:27 +07:00
jahorton
e2ba78582e feat(web): prevents crash on null keyman.osk field 2021-07-07 11:45:27 +07:00
Darcy Wong
144125080b feat(web): Handle deferment of adding keyboards 2021-06-30 10:26:19 +07:00
Darcy Wong
b843a24f9a chore(web): Address additional review comments
* Add more description on promise-api/index.html
* Use OptionType
2021-06-25 09:15:13 +07:00
jahorton
2efe73f1f2 fix(web): better check for missing MutationObserver type 2021-03-11 09:44:50 +07:00
jahorton
af7be3f1dc fix(web): default attachment behavior 2020-11-25 12:51:34 +07:00
jahorton
373196dded change(web/engine): splits off the core/web/keyboard-processor module 2020-04-24 13:45:04 +07:00
jahorton
6020ffee0c refactor(web/engine): LanguageProcessor.canEnable 2020-04-09 09:50:35 +07:00
jahorton
7a04baa9a5 change(web/engine): kbdProcessor.core => core.keyboardProcessor 2020-04-06 13:17:32 +07:00
jahorton
227062ba56 refactor(web/engine): InputProcessor/KeyboardProcessor split 2020-04-03 10:50:58 +07:00
jahorton
52e3f7e977 refactor(web): adds intermediate DOM-aware OutputTarget abstraction 2020-04-03 10:31:35 +07:00
jahorton
11c1ed5bf2 refactor(web/engine): embedded adjustments, defaultOutput split 2020-04-03 10:08:03 +07:00
Joshua Horton
8efdd9616d
Merge pull request #2927 from keymanapp/fix/web/539-active-element-tracking
fix(web): fixes activeElement typing
2020-04-03 08:17:30 +07:00
jahorton
6f366f9f80 fix(web): ensures activeElement is always an element, not iframe doc. Fixes #539 2020-03-31 15:23:43 +07:00
jahorton
616934f8b0 refactor(web/engine): abstraction for variable-store serialization 2020-03-31 14:46:04 +07:00
jahorton
2bdf28de9c refactor(web/engine): RuleBehavior now headless 2020-03-31 13:53:54 +07:00
jahorton
27564418e9 change(web/engine): Addresses PR comments 2020-03-29 21:53:30 +07:00
jahorton
e5284e38e6 fix(web/engine): fixes test cases 2020-03-27 17:38:37 +07:00
jahorton
944d93aa62 refactor(web/engine): reworks resetContext, adds OutputTarget version 2020-03-27 15:56:29 +07:00
jahorton
fdb6ba0c4f refactor(web/engine): moves kbd state management to Processor 2020-03-27 15:45:09 +07:00
jahorton
fc5e8f2449 refactor(web/engine): renames old DOM-related sources 2020-03-26 10:05:47 +07:00
Renamed from web/source/dom/kmwdom.ts (Browse further)