keyman icon indicating copy to clipboard operation
keyman copied to clipboard

chore(common,developer): expand 'x' to 'compileContext'

Open srl295 opened this issue 7 months ago • 1 comments

  • rename ObjectWithMetadata to ObjectWithCompileContext
  • fixup docs in boxXmlArray
  • rename 'x' property and parameter to 'compileContext'

Fixes: #14117

@keymanapp-test-bot skip

srl295 avatar Jun 24 '25 02:06 srl295

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

keymanapp-test-bot[bot] avatar Jun 24 '25 02:06 keymanapp-test-bot[bot]

Two files to take out of this PR, otherwise all good.

I am slightly puzzled as to why we have stuff relating to XML in common/web/types rather than in developer/. kmx-plus is not used in any of our JS code, just consumed by core, so we shouldn't have a need for any of that in common/ I would have thought. I may be forgetting something.

Not xml per se. But the kmx-plus level APIs (the in memory stuff) for in this case element string construction are in common/web/types and so to be able to pass compileContext to them i hoisted the compileContext type to common/web/types

I'd be ok with moving common/web/types/src/kmx over to developer/.. but that's not where it is now and need to make sure all of the dependentants can call into developer/

srl295 avatar Jun 26 '25 21:06 srl295

Changes in this pull request will be available for download in Keyman version 19.0.70-alpha

keyman-server avatar Jun 27 '25 18:06 keyman-server