Skip to content

fix(developer): consolidate user options in TypeScript code#16134

Open
mcdurdin wants to merge 1 commit into
masterfrom
fix/developer/13458-consolidate-server-options
Open

fix(developer): consolidate user options in TypeScript code#16134
mcdurdin wants to merge 1 commit into
masterfrom
fix/developer/13458-consolidate-server-options

Conversation

@mcdurdin

Copy link
Copy Markdown
Member
  • Remove Server's 'config.json' redundant user options handling
  • Refactor options.ts in Server and kmc to share common cross-platform code
  • Move option defaults into common code and sync with .pas defaults
  • Rename config.ts to standardPaths.ts to better represent the remaining purpose of the module.

Fixes: #13458

User Testing

* Remove Server's 'config.json' redundant user options handling
* Refactor options.ts in Server and kmc to share common cross-platform
  code
* Move option defaults into common code and sync with .pas defaults
* Rename config.ts to standardPaths.ts to better represent the remaining
  purpose of the module.

Fixes: #13458
@github-project-automation github-project-automation Bot moved this to Todo in Keyman Jun 24, 2026
@keymanapp-test-bot keymanapp-test-bot Bot added has-user-test user-test-required User tests have not been completed labels Jun 24, 2026
@keymanapp-test-bot

Copy link
Copy Markdown

User Test Results

Test specification and instructions

  • TEST_NGROK (OPEN)
Results Template
# Test Results

* **TEST_NGROK (OPEN):** notes

@ermshiperete ermshiperete left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


/**
* The set of standard user options for Keyman Developer. Corresponds to
* TKeymanDeveloperOptions in the Keyman Developer TIKE source.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering if it would be better to state the filename?

Suggested change
* TKeymanDeveloperOptions in the Keyman Developer TIKE source.
* TKeymanDeveloperOptions in `developer/src/tike/main/KeymanDeveloperOptions.pas`

export type KeymanDeveloperOption = keyof KeymanDeveloperOptions;

const DEFAULT_OPTIONS: KeymanDeveloperOptions = {
// Corresponds to KeymanDeveloperOptions.pas, TKeymanDeveloperOptions.Read

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit clearer might be:

Suggested change
// Corresponds to KeymanDeveloperOptions.pas, TKeymanDeveloperOptions.Read
// Corresponds to TKeymanDeveloperOptions.Read in KeymanDeveloperOptions.pas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

chore(developer): stop using $SERVERDATA/config.json

2 participants