Compare commits

...
7 Commits
Author SHA1 Message Date
waoziandClaude Opus 5.5 4b77d513a1 Test the web orientation preference without a canvas resize
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 16:57:44 -03:00
waoziandClaude Opus 5.5 a733f87cba Record the 2.1.30 phone check: 57.7 fps on the Moto
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 16:19:30 -03:00
waoziandClaude Opus 5.5 d0993d71ad Release Inner Breeze 2.1.30
Long menus scroll by touch, open at the current choice, stay above the
navigation and close when the navigation is tapped, switching screens in
one tap. The web app draws at the screen's pixel density with sharp
icons. The app packages are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 16:15:29 -03:00
waoziandClaude Opus 5.5 b5f4ebfa16 Keep open dropdowns inside the page above the navigation
Kryon sizes a dropdown's menu to the page that shows it, so a long menu
ends above the navigation and scrolls to its last row.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 16:01:17 -03:00
waoziandClaude Opus 5.5 f1dc2a1dff Let an open dropdown close when the sidebar is tapped
Kryon's dropdown menu is now a popup over the page: a tap on the
sidebar or anywhere outside closes it and still switches the screen.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 15:51:40 -03:00
waoziandClaude Opus 5.5 7d18f5089d Scroll dropdown menus by touch and sharpen vector icons
Kryon's dropdown menu now scrolls like any list, by finger, wheel and
fling, and opens at the chosen row; it keeps its own highlight and
scroll, so the language dropdown stops passing them. Vector icons
rasterize at the screen's real pixels, without seams.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 15:25:50 -03:00
waoziandClaude Opus 5.5 900850f1a9 Draw the web app at the screen's pixel density
Applying the orientation preference resized the canvas to its CSS size,
over Kryon's canvas host, which keeps it at CSS size times
devicePixelRatio and resizes it when its box changes. On a 2x screen the
app then drew its 2x frame into a 1x canvas: magnified, cropped and soft.
The web build also tells the icon painter its render scale, as the
native builds do, so icons rasterize on whole screen pixels.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 15:25:50 -03:00
21 changed files with 93 additions and 73 deletions

No files matched your search

+9
View File
@@ -1,4 +1,13 @@
# Changelog
## [2.1.30] - 2026-10-11
### Fixed
- Long menus, such as the colour theme, scroll by touch and open at your choice.
- With a menu open, tapping the navigation closes it and switches screens in one tap.
- Menus stay above the navigation instead of hiding their last options behind it.
- Web: the app is sharp on high-density screens instead of magnified and blurry.
### Changed
- Icons are sharper on the web.
## [2.1.29] - 2026-10-11
### Fixed
- Scrolling Lumi's commands keeps the keyboard open.
+2 -2
View File
@@ -56,8 +56,8 @@ android {
minSdk 21
targetSdk 36
testInstrumentationRunner "android.test.InstrumentationTestRunner"
versionCode 166
versionName "2.1.29"
versionCode 167
versionName "2.1.30"
manifestPlaceholders = [
inbeAppLabel: "Inner Breeze",
inbeUsesCleartextTraffic: "false"
@@ -0,0 +1,9 @@
Fixed
---
- Long menus, such as the colour theme, scroll by touch and open at your choice.
- With a menu open, tapping the navigation closes it and switches screens in one tap.
- Menus stay above the navigation instead of hiding their last options behind it.
- Web: the app is sharp on high-density screens instead of magnified and blurry.
Changed
---
- Icons are sharper on the web.
+1 -1
View File
@@ -1,5 +1,5 @@
Package: inbe.waozi
Version: 2.1.29
Version: 2.1.30
Architecture: arm64
Maintainer: Waozi <[email protected]>
Click-Version: 0.4
+1 -1
View File
@@ -28,7 +28,7 @@
<binary>inbe</binary>
</provides>
<releases>
<release version="2.1.29" date="2026-10-11"/>
<release version="2.1.30" date="2026-10-11"/>
</releases>
<content_rating type="oars-1.1"/>
</component>
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "inbe",
"title": "Inner Breeze",
"version": "2.1.29",
"version": "2.1.30",
"architecture": "arm64",
"framework": "ubuntu-sdk-20.04",
"description": "Syncable breathing, meditation, and habit practice app.",
+1 -1
View File
@@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "Inner Breeze",
"short_name": "Inbe",
"version": "2.1.29",
"version": "2.1.30",
"description": "Breathing, meditation, habit tracking, and encrypted sync.",
"permissions": [
"contextMenus"
+1 -1
View File
@@ -22,7 +22,7 @@
<binary>inbe</binary>
</provides>
<releases>
<release version="2.1.29" date="2026-10-11"/>
<release version="2.1.30" date="2026-10-11"/>
</releases>
<content_rating type="oars-1.1"/>
</component>
+1 -1
View File
@@ -22,7 +22,7 @@
<binary>inbe</binary>
</provides>
<releases>
<release version="2.1.29" date="2026-10-11"/>
<release version="2.1.30" date="2026-10-11"/>
</releases>
<content_rating type="oars-1.1"/>
</component>
+1 -1
View File
@@ -6,7 +6,7 @@ description: |
meditation, and habit tracking with visual and audio cues, meditation
timers, habit counters, session history, and optional sync.
version: '2.1.29'
version: '2.1.30'
license: BSD-3-Clause
base: core22
confinement: strict
+39
View File
@@ -0,0 +1,39 @@
{
"schema": 1,
"version": "2.1.30",
"source_commit": "d0993d71ad22f3de8ed440b2d4aaf39167763ce0",
"apk": {
"sha256": "42c55b0ae80abe1969486af4203a44d0aea76e0607de7691bc2107cc3e82391e",
"package": "xyz.waozi.inbe.debug",
"version_code": 167,
"version_name": "2.1.30"
},
"device": {
"model": "moto e6 play",
"android": "9"
},
"practice": {
"name": "Wim Hof",
"seconds": 59.4,
"frames": 3431,
"refresh_hz": 58.2,
"fps": 57.7,
"late_percent": 0.0,
"p95_frame_ms": 17.4,
"worst_frame_ms": 17.6,
"resume_layout_shift": 11.4
},
"limits": {
"minimum_refresh_share": 0.94,
"maximum_late_percent": 3.0,
"maximum_frame_ms": 250.0
},
"checks": [
"installed over the existing app",
"launch",
"Wim Hof frame timing",
"background and resume"
],
"passed": true,
"checked_at": "2026-10-11T19:19:25+00:00"
}
-1
View File
@@ -57,7 +57,6 @@ app_apply_orientation_preference :: (app: *InnerBreeze) {
}
if WebPlatform() != 0 {
DeviceWebOrientation(app.orientation_mode)
DeviceWebResize()
return
}
+6 -1
View File
@@ -1,4 +1,5 @@
#import "dpi"
#import "drawing_props"
#import "geometry"
#import, file "../platform/environment.zi";
#import, file "../platform/raylib_host.zi";
@@ -66,7 +67,11 @@ UpdateDPI :: (view_width: s32, view_height: s32) {
// The user's zoom scales everything drawn and narrows or widens the
// layout; the text is baked at the size it ends up on screen.
dpi_state = ZoomDPI(dpi_state, dpi_user_zoom)
#if #defined(PLATFORM_WEB) == false {
// The camera draws at render_scale, so vector icons rasterize at it too
// (the web canvas adds its devicePixelRatio itself).
#if #defined(PLATFORM_WEB) {
SetPaintPixelScale(dpi_state.render_scale)
} else {
RaylibSetZoom(dpi_state.render_scale)
}
}
-6
View File
@@ -31,11 +31,5 @@ LocaleDropdown :: (session: Session, props: DropdownProps) -> DropdownResult {
if resolved.selected_index < 0 || resolved.selected_index >= count {
resolved.selected_index = 0
}
if resolved.highlight_index < 0 || resolved.highlight_index >= count {
resolved.highlight_index = resolved.selected_index
}
if resolved.scroll_offset < 0 {
resolved.scroll_offset = 0
}
return Dropdown(session, resolved, options[0:count])
}
+2 -2
View File
@@ -3,7 +3,7 @@
#define APP_VERSION_MAJOR 2
#define APP_VERSION_MINOR 1
#define APP_VERSION_PATCH 29
#define APP_VERSION_STRING "2.1.29"
#define APP_VERSION_PATCH 30
#define APP_VERSION_STRING "2.1.30"
#endif
+2 -2
View File
@@ -1,5 +1,5 @@
// Generated by update_version.sh from CHANGELOG.md. Do not edit by hand.
VersionMajor :: 2
VersionMinor :: 1
VersionPatch :: 29
VersionString :: "2.1.29"
VersionPatch :: 30
VersionString :: "2.1.30"
-25
View File
@@ -31,10 +31,6 @@ DEVICE_DESKTOP_SDL :: #defined(NATIVE_WINDOW_HAVE_SDL) && !#defined(ANDROID_BUIL
c :: #system_library "c";
BrowserScriptInt :: (script: *u8) -> s32 #foreign c "emscripten_run_script_int";
BrowserScript :: (script: *u8) #foreign c "emscripten_run_script";
BrowserCanvasSize :: (selector: *u8, width: *float64,
height: *float64) -> s32 #foreign c "emscripten_get_element_css_size";
BrowserSetCanvasSize :: (selector: *u8, width: s32,
height: s32) -> s32 #foreign c "emscripten_set_canvas_element_size";
DeviceRunScript :: (script: string) {
bytes: [768]u8
@@ -161,23 +157,6 @@ app_device_web_orientation :: (mode: s32) {
unused mode
}
#program_export
app_device_web_resize :: () {
#if #defined(PLATFORM_WEB) {
selector: [16]u8
if !CopyCString("#canvas", selector[:]) {
return
}
width: float64 = 0.0
height: float64 = 0.0
if BrowserCanvasSize(*selector[0], *width, *height) == 0 &&
width > 0.0 && height > 0.0 {
BrowserSetCanvasSize(*selector[0], cast(s32)width,
cast(s32)height)
}
}
}
#program_export
DeviceSystemDark :: () -> s32 {
return app_device_system_dark()
@@ -218,7 +197,3 @@ DeviceWebOrientation :: (mode: s32) {
app_device_web_orientation(mode)
}
#program_export
DeviceWebResize :: () {
app_device_web_resize()
}
+2 -4
View File
@@ -11,7 +11,6 @@ fixture_size :: (width: s32, height: s32) #foreign c "fixture_size";
fixture_last_width :: () -> s32 #foreign c "fixture_last_width";
fixture_last_height :: () -> s32 #foreign c "fixture_last_height";
fixture_last_orientation :: () -> s32 #foreign c "fixture_last_orientation";
fixture_web_resizes :: () -> s32 #foreign c "fixture_web_resizes";
#program_export
Answer :: () -> s32 {
@@ -50,12 +49,11 @@ Answer :: () -> s32 {
fixture_platform(1)
app.orientation_mode = cast(s32)APP_ORIENTATION_LANDSCAPE
app_apply_orientation_preference(*app)
// The web only locks the orientation; Kryon's canvas host follows the
// canvas size and its devicePixelRatio by itself.
if fixture_last_orientation() != app.orientation_mode {
return 5
}
if fixture_web_resizes() != 1 {
return 6
}
fixture_platform(2)
app.orientation_mode = cast(s32)APP_ORIENTATION_SENSOR
-8
View File
@@ -9,7 +9,6 @@ static int height;
static int last_width;
static int last_height;
static int last_orientation;
static int web_resizes;
void fixture_platform(int value) { platform = value; }
void fixture_dark(int value) { system_dark = value; }
@@ -17,7 +16,6 @@ void fixture_size(int w, int h) { width = w; height = h; }
int fixture_last_width(void) { return last_width; }
int fixture_last_height(void) { return last_height; }
int fixture_last_orientation(void) { return last_orientation; }
int fixture_web_resizes(void) { return web_resizes; }
int app_desktop_platform(void) { return platform == 0; }
int app_web_platform(void) { return platform == 1; }
@@ -34,7 +32,6 @@ int app_device_height(void) { return height; }
void app_device_resize(int w, int h) { last_width = w; last_height = h; }
void app_device_fullscreen(int enabled) { (void)enabled; }
void app_device_web_orientation(int mode) { last_orientation = mode; }
void app_device_web_resize(void) { web_resizes++; }
int DeviceSystemDark(void)
{
@@ -76,11 +73,6 @@ void DeviceWebOrientation(int mode)
app_device_web_orientation(mode);
}
void DeviceWebResize(void)
{
app_device_web_resize();
}
int main(void)
{
assert(Answer() == 42);
+4 -4
View File
@@ -6,8 +6,8 @@ IDI_APP_ICON ICON "inbe.ico"
IDI_NOTIFICATION_ICON ICON "inbe.ico"
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,1,29,0
PRODUCTVERSION 2,1,29,0
FILEVERSION 2,1,30,0
PRODUCTVERSION 2,1,30,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -24,11 +24,11 @@ BEGIN
BEGIN
VALUE "CompanyName", "waozi"
VALUE "FileDescription", "Inner Breeze"
VALUE "FileVersion", "2.1.29"
VALUE "FileVersion", "2.1.30"
VALUE "InternalName", "inbe"
VALUE "OriginalFilename", "inbe-windows-x86_64.exe"
VALUE "ProductName", "Inner Breeze"
VALUE "ProductVersion", "2.1.29"
VALUE "ProductVersion", "2.1.30"
END
END
BLOCK "VarFileInfo"
+11 -11
View File
@@ -3,7 +3,7 @@
"packages": [
{
"commit": "f01be2f1d5acf2a570e351013221238b7c543760",
"dependencies": {"kryon": "p0aaabdef00f3578b"},
"dependencies": {"kryon": "pf3266fa24676c50a"},
"id": "p03de317562242e4f",
"name": "Kss",
"ref": "master",
@@ -18,14 +18,6 @@
"source": true,
"url": "https://github.com/raysan5/rini.git"
},
{
"commit": "83f1dde05b349f33c30e0ff79357f28f91bd3e68",
"dependencies": {"raylib": "p5a77c9c35110e925"},
"id": "p0aaabdef00f3578b",
"name": "kryon",
"ref": "master",
"url": "https://github.com/kryonlabs/kryon.git"
},
{
"commit": "d8f6cc7ea400c3b71cc1d72c1b900206cc009329",
"dependencies": {},
@@ -71,7 +63,7 @@
},
{
"commit": "7aa01465ac3f988e0404f3c6dc244bf4b009f253",
"dependencies": {"kryon": "p0aaabdef00f3578b"},
"dependencies": {"kryon": "pf3266fa24676c50a"},
"id": "paa08e1730a25bda0",
"name": "Game2D",
"ref": "master",
@@ -94,6 +86,14 @@
"ref": "master",
"url": "https://github.com/ziranlang/qrcode.git"
},
{
"commit": "e2b792aab29e11be73e761e06826c25bd9da9bfd",
"dependencies": {"raylib": "p5a77c9c35110e925"},
"id": "pf3266fa24676c50a",
"name": "kryon",
"ref": "master",
"url": "https://github.com/kryonlabs/kryon.git"
},
{
"commit": "fd44469daeffe6b28f031f54f9bb66cbae69a572",
"dependencies": {},
@@ -105,7 +105,7 @@
}
],
"root": {
"dependencies": {"curl": "pc4b263336680098b", "daochi_client": "p96e1f539ccb91af5", "game2d": "paa08e1730a25bda0", "kryon": "p0aaabdef00f3578b", "kss": "p03de317562242e4f", "liboqs": "pfb3df7cb222b1bdc", "monocypher": "p2ff634c7b007140d", "oqs": "p55635fc8976895a9", "qrcode": "pf0ce9cea355c9228", "rini": "p09fa77e94b0dfc6c", "sqlite": "p151b83a361c86f2d"},
"dependencies": {"curl": "pc4b263336680098b", "daochi_client": "p96e1f539ccb91af5", "game2d": "paa08e1730a25bda0", "kryon": "pf3266fa24676c50a", "kss": "p03de317562242e4f", "liboqs": "pfb3df7cb222b1bdc", "monocypher": "p2ff634c7b007140d", "oqs": "p55635fc8976895a9", "qrcode": "pf0ce9cea355c9228", "rini": "p09fa77e94b0dfc6c", "sqlite": "p151b83a361c86f2d"},
"name": "Inbe"
},
"toolchain": {