Skip to content

Conversation

@ermshiperete
Copy link
Contributor

@ermshiperete ermshiperete commented Jan 7, 2026

Also rename KeyTip to PhoneKeyTip.

Fixes: #15292
Test-bot: skip

@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Jan 7, 2026

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

  • Android
    • KeyboardHarness apk - build : all tests passed (no artifacts on BuildLevel "build")
    • KMSample1 apk - build : all tests passed (no artifacts on BuildLevel "build")
    • KMSample2 apk - build : all tests passed (no artifacts on BuildLevel "build")
  • Developer
    • Keyman Developer - build : all tests passed (no artifacts on BuildLevel "build")
    • Compiler Regression Tests - build : all tests passed (no artifacts on BuildLevel "build")
    • Keyman Developer (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
    • kmcomp.zip - build : all tests passed (no artifacts on BuildLevel "build")
    • kmcomp.zip (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
  • iOS
    • Keyman for iOS (simulator image) - build : all tests passed (no artifacts on BuildLevel "build")
    • FirstVoices Keyboards for iOS (simulator image) - build : all tests passed (no artifacts on BuildLevel "build")
    • FirstVoices Keyboards for iOS (simulator image) (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
    • Keyman for iOS (simulator image) (old PRs) - build : all tests passed (no artifacts on BuildLevel "build")
  • Keyboards
    • Test Keyboards - build : all tests passed (no artifacts on BuildLevel "build")
  • Web
    • KeymanWeb Test Home - build : all tests passed (no artifacts on BuildLevel "build")

@keymanapp-test-bot keymanapp-test-bot bot changed the title feat(web): remove 'export default' to eliminate more aliases feat(web): remove 'export default' to eliminate more aliases 🎼 Jan 7, 2026
@keymanapp-test-bot keymanapp-test-bot bot added this to the A19S20 milestone Jan 7, 2026
Copy link
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

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

lgtm

code += '\n' + LMLayerWorkerSourcemapComment;
// }
let blob = new Blob([code], { type: 'text/javascript' });
const blob = new Blob([code], { type: 'text/javascript' });
Copy link
Contributor

Choose a reason for hiding this comment

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

Sneaking in a different change 😉 I'll allow it

export type PhoneKeyTipOrientation = 'top' | 'bottom';

export default class KeyTip implements KeyTipInterface {
export class PhoneKeyTip implements KeyTip {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we mention this rename in the PR description?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea.

Copy link
Member

@mcdurdin mcdurdin left a comment

Choose a reason for hiding this comment

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

Two comments for a follow-up PR -- best not to add to this already large set of changes in this PR. LGTM, great to eliminate this source of confusion, looks like most default exports were not renamed but it was a fragile pattern!

@ermshiperete ermshiperete enabled auto-merge January 9, 2026 08:36
@ermshiperete ermshiperete merged commit 2dd1ec7 into epic/web-core Jan 9, 2026
15 of 16 checks passed
@ermshiperete ermshiperete deleted the feat/web/15292_removeDefault branch January 9, 2026 08:58
@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Jan 9, 2026
ermshiperete added a commit that referenced this pull request Jan 9, 2026
This is a follow-up of review comments in #15401.
- rename `DefaultWorker` → `Worker`
- rename `BUTTON_CLASSES` → `buttonClassNames`
Both exports now also match the filename.

Follow-up-of: #15401
Test-bot: skip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants