Skip to content

Implement PlatformLocale and StringDelegate for k/wasm - #561

Merged
Oleksandr Karpovich (eymar) merged 5 commits into
wasm-mainfrom
wasm-main-tests
May 11, 2023
Merged

Implement PlatformLocale and StringDelegate for k/wasm#561
Oleksandr Karpovich (eymar) merged 5 commits into
wasm-mainfrom
wasm-main-tests

Conversation

@eymar

Copy link
Copy Markdown
Member

The implementation relies on JS browser API

NOTE: the PR is to wasm-main branch!

@eymar
Oleksandr Karpovich (eymar) merged commit d5602c6 into wasm-main May 11, 2023
@eymar
Oleksandr Karpovich (eymar) deleted the wasm-main-tests branch May 11, 2023 09:30
Igor Demin (igordmn) pushed a commit that referenced this pull request Jun 23, 2023
Test: ./gradlew test connectedCheck

This is an imported pull request from androidx#561.

Resolves #561
Github-Pr-Head-Sha: a898cbf
GitOrigin-RevId: 299e56a
Change-Id: Icfbd888c8fba3cab8972cfd3a014349b4d557435
Oleksandr Karpovich (eymar) added a commit that referenced this pull request Jul 7, 2023
* Workaround `isOnUiThread` (ui-test) for k/wasm browser target

* Implement PlatformLocale  and StringDelegate for k/wasm

* Get rid of expect/actuals for jsWasmMain and use js(...) for a common implementation

* use the list of preferred languages - `window.navigator.languages`

* delete unused fun `currentLanguageTag`
Oleksandr Karpovich (eymar) added a commit that referenced this pull request Jul 10, 2023
* Implement PlatformLocale and StringDelegate for k/wasm (#561)

* Workaround `isOnUiThread` (ui-test) for k/wasm browser target

* Implement PlatformLocale  and StringDelegate for k/wasm

* Get rid of expect/actuals for jsWasmMain and use js(...) for a common implementation

* use the list of preferred languages - `window.navigator.languages`

* delete unused fun `currentLanguageTag`

* Add a comment
Nikolai Rykunov (Walingar) pushed a commit to Walingar/androidx that referenced this pull request Jul 11, 2023
JetBrains#625)

* Implement PlatformLocale and StringDelegate for k/wasm (JetBrains#561)

* Workaround `isOnUiThread` (ui-test) for k/wasm browser target

* Implement PlatformLocale  and StringDelegate for k/wasm

* Get rid of expect/actuals for jsWasmMain and use js(...) for a common implementation

* use the list of preferred languages - `window.navigator.languages`

* delete unused fun `currentLanguageTag`

* Add a comment
Vladimir Mazunin (mazunin-v-jb) pushed a commit that referenced this pull request Jul 11, 2023
* Implement PlatformLocale and StringDelegate for k/wasm (#561)

* Workaround `isOnUiThread` (ui-test) for k/wasm browser target

* Implement PlatformLocale  and StringDelegate for k/wasm

* Get rid of expect/actuals for jsWasmMain and use js(...) for a common implementation

* use the list of preferred languages - `window.navigator.languages`

* delete unused fun `currentLanguageTag`

* Add a comment
Oleksandr Karpovich (eymar) added a commit that referenced this pull request Sep 7, 2023
* Workaround `isOnUiThread` (ui-test) for k/wasm browser target

* Implement PlatformLocale  and StringDelegate for k/wasm

* Get rid of expect/actuals for jsWasmMain and use js(...) for a common implementation

* use the list of preferred languages - `window.navigator.languages`

* delete unused fun `currentLanguageTag`
Oleksandr Karpovich (eymar) added a commit that referenced this pull request Oct 13, 2023
* Workaround `isOnUiThread` (ui-test) for k/wasm browser target

* Implement PlatformLocale  and StringDelegate for k/wasm

* Get rid of expect/actuals for jsWasmMain and use js(...) for a common implementation

* use the list of preferred languages - `window.navigator.languages`

* delete unused fun `currentLanguageTag`
Oleksandr Karpovich (eymar) added a commit that referenced this pull request Nov 24, 2023
* Workaround `isOnUiThread` (ui-test) for k/wasm browser target

* Implement PlatformLocale  and StringDelegate for k/wasm

* Get rid of expect/actuals for jsWasmMain and use js(...) for a common implementation

* use the list of preferred languages - `window.navigator.languages`

* delete unused fun `currentLanguageTag`
Oleksandr Karpovich (eymar) added a commit that referenced this pull request Dec 5, 2023
* Workaround `isOnUiThread` (ui-test) for k/wasm browser target

* Implement PlatformLocale  and StringDelegate for k/wasm

* Get rid of expect/actuals for jsWasmMain and use js(...) for a common implementation

* use the list of preferred languages - `window.navigator.languages`

* delete unused fun `currentLanguageTag`
Oleksandr Karpovich (eymar) added a commit that referenced this pull request Dec 6, 2023
* Workaround `isOnUiThread` (ui-test) for k/wasm browser target

* Implement PlatformLocale  and StringDelegate for k/wasm

* Get rid of expect/actuals for jsWasmMain and use js(...) for a common implementation

* use the list of preferred languages - `window.navigator.languages`

* delete unused fun `currentLanguageTag`
Zahari Zahariev (harryzz) pushed a commit to harryzz/compose-multiplatform-core that referenced this pull request Jul 28, 2026
JetBrains#625)

* Implement PlatformLocale and StringDelegate for k/wasm (JetBrains#561)

* Workaround `isOnUiThread` (ui-test) for k/wasm browser target

* Implement PlatformLocale  and StringDelegate for k/wasm

* Get rid of expect/actuals for jsWasmMain and use js(...) for a common implementation

* use the list of preferred languages - `window.navigator.languages`

* delete unused fun `currentLanguageTag`

* Add a comment
Zahari Zahariev (harryzz) pushed a commit to harryzz/compose-multiplatform-core that referenced this pull request Jul 28, 2026
Test: ./gradlew test connectedCheck

This is an imported pull request from androidx#561.

Resolves JetBrains#561
Github-Pr-Head-Sha: a898cbf
GitOrigin-RevId: 299e56a
Change-Id: Icfbd888c8fba3cab8972cfd3a014349b4d557435
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants