feat(ui): paint VK status bar to the app theme (VKWebAppSetViewSettings) #152

Merged
developer merged 1 commits from feature/vk-status-bar-chrome into development 2026-07-01 12:39:11 +00:00
Owner

The VK Bridge follow-up you picked. Parity with how we paint Telegram's chrome: on a VK Mini App launch and on every theme change, set VK's status-bar appearance (and, on Android, the action / navigation bar colours) from the app's live theme tokens, so the VK chrome matches the UI.

  • vkSetViewSettings wraps VKWebAppSetViewSettings (params confirmed via context7 /vkcom/vk-bridge: status_bar_style = AppearanceType, Android-only bar colours).
  • syncVKChrome mirrors syncTelegramChrome; wired into the VK onScheme handler (fires on launch + theme change) and setTheme.
  • Status-bar appearance follows the --bg luminance (appearanceForBg, unit-tested).

⚠ Contour check needed: whether VK reads status_bar_style as the appearance (my mapping: dark theme → 'dark') vs text colour is the one thing not reproducible locally. On the contour, confirm the VK status-bar icons/text stay readable in both light and dark. If inverted (invisible text), it's a one-line flip.

Verified: check (0/0), unit (361), build, e2e (160).

The VK Bridge follow-up you picked. Parity with how we paint Telegram's chrome: on a VK Mini App launch and on every theme change, set VK's **status-bar appearance** (and, on Android, the **action / navigation bar colours**) from the app's live theme tokens, so the VK chrome matches the UI. - `vkSetViewSettings` wraps `VKWebAppSetViewSettings` (params confirmed via context7 /vkcom/vk-bridge: `status_bar_style` = AppearanceType, Android-only bar colours). - `syncVKChrome` mirrors `syncTelegramChrome`; wired into the VK `onScheme` handler (fires on launch + theme change) and `setTheme`. - Status-bar appearance follows the `--bg` luminance (`appearanceForBg`, unit-tested). **⚠ Contour check needed:** whether VK reads `status_bar_style` as the *appearance* (my mapping: dark theme → 'dark') vs *text colour* is the one thing not reproducible locally. On the contour, confirm the VK status-bar icons/text stay **readable in both light and dark**. If inverted (invisible text), it's a one-line flip. Verified: check (0/0), unit (361), build, e2e (160).
developer added 1 commit 2026-07-01 11:54:26 +00:00
feat(ui): paint VK status bar to the app theme (VKWebAppSetViewSettings)
CI / changes (pull_request) Successful in 2s
CI / unit (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / ui (pull_request) Successful in 58s
CI / gate (pull_request) Successful in 0s
CI / deploy (pull_request) Successful in 2m13s
5f9b4a7a38
Parity with the Telegram chrome painting: on a VK Mini App launch and on
every theme change, set VK's status-bar appearance (and, on Android, the
action/navigation bar colours) from the app's live theme tokens, so the VK
chrome matches the UI instead of clashing.

syncVKChrome mirrors syncTelegramChrome; the status-bar appearance is
derived from the --bg token's luminance (appearanceForBg, unit-tested).
Wired into the VK onScheme handler (fires on launch + on theme change) and
setTheme. Docs: UI_DESIGN VK integration.
owner approved these changes 2026-07-01 12:37:36 +00:00
developer merged commit 84cc56198e into development 2026-07-01 12:39:11 +00:00
developer deleted branch feature/vk-status-bar-chrome 2026-07-01 12:39:11 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: developer/scrabble-game#152