Compare commits

...
4 Commits
Author SHA1 Message Date
waozi 0afc5867d1 Release Inner Breeze 2.1.60
Phone check: 57.7 fps, 0.03% late frames.
2026-10-29 05:05:33 -03:00
waozi ac19ebafaf Prepare Inner Breeze 2.1.60 2026-10-29 04:13:12 -03:00
waozi f7e09e709c Use shared reorder grips and unify Profile rows in Inbe 2026-10-29 02:43:23 -03:00
waozi b46306d1e3 Hide apps from the library and restore them through Edit 2026-10-28 23:21:10 -03:00
44 changed files with 381 additions and 99 deletions

No files matched your search

+6
View File
@@ -1,5 +1,11 @@
# Changelog
## [2.1.60] - 2026-10-29
- Hide apps from the library and restore them through Edit.
- Use one simple reorder grip to the left of app icons in list and grid views.
- Unify Profile rows and put sent friend requests beside names with a cancel action.
## [2.1.59] - 2026-10-28
- Keep habits, practices, session counts and game progress free of storage charges, even when account storage is full.
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## [1.3.24] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.60.
## [1.3.23] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.59.
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## [1.3.14] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.60.
## [1.3.13] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.59.
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## [2.1.61] - 2026-10-29
- Bring Lumi 1.5.26, Habits 1.3.14, Practices 1.6.8, Lists 1.1.27, Diary 1.3.24 and Leaderboard 1.0.28 for Inner Breeze 2.1.60.
## [2.1.60] - 2026-10-28
- Bring Lumi 1.5.25, Habits 1.3.13, Practices 1.6.7, Lists 1.1.26, Diary 1.3.23 and Leaderboard 1.0.27 for Inner Breeze 2.1.59.
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## [1.0.28] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.60.
## [1.0.27] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.59.
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## [1.1.27] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.60.
## [1.1.26] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.59.
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## [1.5.26] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.60.
## [1.5.25] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.59.
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## [1.6.8] - 2026-10-29
- Maintenance release for Inner Breeze 2.1.60.
## [1.6.7] - 2026-10-28
- Maintenance release for Inner Breeze 2.1.59.
+21 -21
View File
@@ -6,61 +6,61 @@
"apps": {
"inbe": {
"id": "inbe",
"version": "2.1.60",
"sequence": 57,
"version": "2.1.61",
"sequence": 58,
"bundled": true,
"host_api": 40,
"release": "2.1.59"
"release": "2.1.60"
},
"habits": {
"id": "inbe.habits",
"version": "1.3.13",
"sequence": 36,
"version": "1.3.14",
"sequence": 37,
"bundled": true,
"host_api": 38,
"oldest_host_api": 30,
"release": "2.1.59"
"release": "2.1.60"
},
"practices": {
"id": "inbe.practices",
"version": "1.6.7",
"sequence": 36,
"version": "1.6.8",
"sequence": 37,
"bundled": true,
"host_api": 37,
"oldest_host_api": 31,
"release": "2.1.59"
"release": "2.1.60"
},
"lists": {
"id": "inbe.lists",
"version": "1.1.26",
"sequence": 34,
"version": "1.1.27",
"sequence": 35,
"bundled": true,
"host_api": 27,
"release": "2.1.59"
"release": "2.1.60"
},
"diary": {
"id": "inbe.diary",
"version": "1.3.23",
"sequence": 40,
"version": "1.3.24",
"sequence": 41,
"bundled": true,
"host_api": 21,
"release": "2.1.59"
"release": "2.1.60"
},
"lumi": {
"id": "inbe.lumi",
"version": "1.5.25",
"sequence": 43,
"version": "1.5.26",
"sequence": 44,
"bundled": true,
"host_api": 20,
"release": "2.1.59"
"release": "2.1.60"
},
"leaderboard": {
"id": "inbe.leaderboard",
"version": "1.0.27",
"sequence": 28,
"version": "1.0.28",
"sequence": 29,
"bundled": true,
"host_api": 40,
"release": "2.1.59",
"release": "2.1.60",
"oldest_host_api": 40
}
},
+5 -1
View File
@@ -340,7 +340,11 @@ saved data and bundled package; the plus button adds it back immediately.
Settings is fixed last and is absent
from the editable list. Existing
profiles retain their selection and saved sidebar order.
Each app appears once, with active shortcuts in sidebar order and hidden apps
The Apps library normally omits apps hidden with Edit → Hide app. Edit shows
all hidden apps again with Show app so they can be restored. Hiding removes
the app's pinned shortcut but keeps its package and saved data. Visibility is
saved per app in the current account's device settings, including node offers.
Each app appears once, with pinned apps in sidebar order and the remaining apps
after them. The list shows icons, names and controls without status paragraphs.
## Practice content and narration
+2 -2
View File
@@ -69,8 +69,8 @@ android {
minSdk 21
targetSdk 36
testInstrumentationRunner "android.test.InstrumentationTestRunner"
versionCode 196
versionName "2.1.59"
versionCode 197
versionName "2.1.60"
manifestPlaceholders = [
inbeAppLabel: "Inner Breeze",
inbeUsesCleartextTraffic: "false"
@@ -0,0 +1,3 @@
- Hide apps from the library and restore them through Edit.
- Use one simple reorder grip to the left of app icons in list and grid views.
- Unify Profile rows and put sent friend requests beside names with a cancel action.
+8
View File
@@ -7593,3 +7593,11 @@ Nemáte dost Dew. Doplňte zůstatek a poté se vraťte potvrdit nákup.
[launcher_move_app]
Přesunout aplikaci
---
[launcher_hide_app]
Skrýt aplikaci
---
[launcher_show_app]
Zobrazit aplikaci
---
+8
View File
@@ -7587,3 +7587,11 @@ Nicht genug Dew. Lade dein Guthaben auf und kehre zurück, um den Kauf zu bestä
[launcher_move_app]
App verschieben
---
[launcher_hide_app]
App ausblenden
---
[launcher_show_app]
App einblenden
---
+8
View File
@@ -7611,3 +7611,11 @@ Not enough Dew. Top up, then return to confirm the purchase.
[launcher_move_app]
Move app
---
[launcher_hide_app]
Hide app
---
[launcher_show_app]
Show app
---
+8
View File
@@ -7587,3 +7587,11 @@ No tienes suficiente Dew. Recarga y vuelve para confirmar la compra.
[launcher_move_app]
Mover aplicación
---
[launcher_hide_app]
Ocultar aplicación
---
[launcher_show_app]
Mostrar aplicación
---
+8
View File
@@ -7575,3 +7575,11 @@ Pas assez de Dew. Rechargez votre solde, puis revenez confirmer l’achat.
[launcher_move_app]
Déplacer l’application
---
[launcher_hide_app]
Masquer l’application
---
[launcher_show_app]
Afficher l’application
---
+8
View File
@@ -7576,3 +7576,11 @@ Dew tidak cukup. Isi saldo, lalu kembali untuk mengonfirmasi pembelian.
[launcher_move_app]
Pindahkan aplikasi
---
[launcher_hide_app]
Sembunyikan aplikasi
---
[launcher_show_app]
Tampilkan aplikasi
---
+8
View File
@@ -7576,3 +7576,11 @@ Dew insufficienti. Ricarica il saldo, poi torna per confermare l’acquisto.
[launcher_move_app]
Sposta app
---
[launcher_hide_app]
Nascondi app
---
[launcher_show_app]
Mostra app
---
+8
View File
@@ -7572,3 +7572,11 @@ Dewが不足しています。チャージしてから戻り、購入を確定
[launcher_move_app]
アプリを移動
---
[launcher_hide_app]
アプリを非表示
---
[launcher_show_app]
アプリを表示
---
+8
View File
@@ -7582,3 +7582,11 @@ Dew가 부족합니다. 충전한 다음 돌아와 구매를 확정하세요.
[launcher_move_app]
앱 이동
---
[launcher_hide_app]
앱 숨기기
---
[launcher_show_app]
앱 표시
---
+8
View File
@@ -7585,3 +7585,11 @@ Dew insuficiente. Recarregue e volte para confirmar a compra.
[launcher_move_app]
Mover aplicação
---
[launcher_hide_app]
Ocultar aplicativo
---
[launcher_show_app]
Mostrar aplicativo
---
+8
View File
@@ -7581,3 +7581,11 @@ Inner Breeze обновлён до версии %s.
[launcher_move_app]
Переместить приложение
---
[launcher_hide_app]
Скрыть приложение
---
[launcher_show_app]
Показать приложение
---
+8
View File
@@ -7587,3 +7587,11 @@ Dew不足。请充值后返回确认购买。
[launcher_move_app]
移动应用
---
[launcher_hide_app]
隐藏应用
---
[launcher_show_app]
显示应用
---
+1 -1
View File
@@ -1,5 +1,5 @@
Package: inbe.waozi
Version: 2.1.59
Version: 2.1.60
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.59" date="2026-10-28"/>
<release version="2.1.60" date="2026-10-29"/>
</releases>
<content_rating type="oars-1.1"/>
</component>
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "inbe",
"title": "Inner Breeze",
"version": "2.1.59",
"version": "2.1.60",
"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.59",
"version": "2.1.60",
"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.59" date="2026-10-28"/>
<release version="2.1.60" date="2026-10-29"/>
</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.59" date="2026-10-28"/>
<release version="2.1.60" date="2026-10-29"/>
</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.59'
version: '2.1.60'
license: BSD-3-Clause
base: core22
confinement: strict
+42
View File
@@ -0,0 +1,42 @@
{
"schema": 2,
"version": "2.1.60",
"app_tree": "7a0554ed3a810f0450cf2f0db8c1e73b79891da52102b5e21a0442cc4975c3a4",
"source_commit": "ac19ebafaf83b62674d0523d5d4a3dc0697eaacf",
"uncommitted": [],
"apk": {
"sha256": "9fbe5ac64cc2a3982baeb1a1cfe535487cc9f78fbccd394701246f9be8575340",
"package": "xyz.waozi.inbe.verification",
"version_code": 197,
"version_name": "2.1.60"
},
"device": {
"model": "moto e6 play",
"android": "9"
},
"practice": {
"name": "Wim Hof",
"seconds": 59.68,
"frames": 3446,
"refresh_hz": 58.4,
"fps": 57.7,
"late_percent": 0.03,
"p95_frame_ms": 17.4,
"worst_frame_ms": 34.6,
"resume_layout_shift": 0.7
},
"limits": {
"minimum_refresh_share": 0.94,
"maximum_late_percent": 3.0,
"maximum_frame_ms": 250.0,
"maximum_resume_layout_shift": 2.0
},
"checks": [
"installed without clearing existing data",
"launch",
"Wim Hof frame timing",
"background and resume"
],
"passed": true,
"checked_at": "2026-10-29T08:05:33+00:00"
}
+11 -13
View File
@@ -1,4 +1,5 @@
#import, file "app_types.zi";
#import, file "app_properties.zi";
#import, file "route_types.zi";
#import, file "../core/types.zi";
#import, file "app_route_state.zi";
@@ -90,20 +91,10 @@ app_launcher_update_drag :: (app: *InnerBreeze, point: Vector2) {
// Only the explicit handle captures a drag. The card retains its ordinary
// click and scroll gestures, even after another app has been moved.
app_launcher_drag_handle :: (app: *InnerBreeze, card: ButtonProps,
route: s32, vertical: bool) {
route: s32, vertical: bool, key: u64) {
if !app.launcher_editing { return }
key := card.key + cast(u64)29
handle: ButtonProps
handle.key = key
handle.label = LocaleText("launcher_move_app")
handle.icon_only = true
handle.icon_shape = "F:M7 4H10V7H7ZM14 4H17V7H14ZM7 10H10V13H7ZM14 10H17V13H14ZM7 16H10V19H7ZM14 16H17V19H14Z"
handle.emphasis = cast(ButtonEmphasis)ButtonEmphasisSoft
handle.bounds = Rectangle.{card.bounds.x + cast(float32)AppScale(4),
card.bounds.y + (card.bounds.height - cast(float32)AppScale(44)) * 0.5,
cast(float32)AppScale(44), cast(float32)AppScale(44)}
unused Button(app.ui.session, handle)
node := TreeSubmitted(app.ui.session, TreeCurrentParent(app.ui.session), key, WidgetKindButton)
TreeSetLabel(app.ui.session, node, LocaleText("launcher_move_app"))
TreeSetDragCapture(app.ui.session, node, !card.disabled)
previous := TreePrevious(app.ui.session, TreeCurrentParent(app.ui.session),
key, WidgetKindButton)
@@ -365,6 +356,9 @@ app_draw_launcher :: (app: *InnerBreeze, dock_drawn: bool) {
// Favorite order is account-owned. The shared module filters and groups
// these entries, including native routes and undownloaded offers alike.
for index: cast(s32)0..app.launcher_favorite_count - 1 {
if !app.launcher_editing && AppPropertiesHidden(LauncherRouteName(app.launcher_favorites[index])) {
continue
}
launcher_screen_routes[count] = app.launcher_favorites[index]
count += 1
}
@@ -373,12 +367,16 @@ app_draw_launcher :: (app: *InnerBreeze, dock_drawn: bool) {
for route: routes {
if app_launcher_is_favorite(app, route) ||
(AppNavNodeSlot(route) >= 0 && !app_nav_route_available(app, route)) { continue }
if !app.launcher_editing && AppPropertiesHidden(LauncherRouteName(route)) {
continue
}
more_catalog[more_catalog_count] = route
more_catalog_count += 1
}
for offer: cast(s32)0..NodeAppOfferCount() - 1 {
name := NodeAppOfferName(offer)
if NodeAppOfferShown(offer) && NodeAppSlotFor(name) < 0 {
if NodeAppOfferShown(offer) && NodeAppSlotFor(name) < 0 &&
(app.launcher_editing || !AppPropertiesHidden(name)) {
more_catalog[more_catalog_count] = -offer - 2
more_catalog_count += 1
}
+40 -5
View File
@@ -1,3 +1,5 @@
#import "button_widget"
#import "control_props"
// Native launcher policy around the shared Apps cards and menus. Routes,
// account preferences and deferred mutations remain owned by Inbe.
Controller :: #import "apps/controller";
@@ -207,8 +209,11 @@ LauncherAppWidgets :: (context: *void, module: *u8, function: *u8,
for index: cast(s32)0..group.count - 1 {
entry := group.entries[index]
// Editing exposes an explicit handle; the card keeps its own gestures.
handle := group.owner.launcher_editing && card.key == Rules.AppCardKey(TextUntilNul(entry.id[:]))
if !handle { continue }
tile_key := Rules.AppCardKey(TextUntilNul(entry.id[:]))
reorder_key := Rules.AppReorderKey(TextUntilNul(entry.id[:]))
tile_button := card.key == tile_key
reorder_button := card.key == reorder_key
if !group.owner.launcher_editing || (!tile_button && !reorder_button) { continue }
item := entry.route
if item < 0 {
for offer: cast(s32)0..NodeAppOfferCount() - 1 {
@@ -218,7 +223,35 @@ LauncherAppWidgets :: (context: *void, module: *u8, function: *u8,
}
}
}
app_launcher_drag_handle(group.owner, card, item, group.owner.launcher_grid_view)
if reorder_button {
tile := TreeSubmitted(group.owner.ui.session, TreeCurrentParent(group.owner.ui.session), tile_key, WidgetKindButton)
if tile >= 0 {
tile_card := card
tile_card.key = tile_key
tile_card.bounds = TreeNodeAt(group.owner.ui.session, tile).bounds
app_launcher_drag_handle(group.owner, tile_card, item, group.owner.launcher_grid_view, reorder_key)
}
break
}
name := LauncherLibraryName(item)
hidden := AppPropertiesHidden(name)
visibility: ButtonProps
visibility.key = card.key + cast(u64)30
visibility.label = LocaleText(ifx hidden then "launcher_show_app" else "launcher_hide_app")
visibility.icon_only = true
visibility.icon_shape = ifx hidden then "S1.8rr:M3 12Q12 1 21 12Q12 23 3 12ZM15 12A3 3 0 1 1 9 12A3 3 0 1 1 15 12" else "S1.8rr:M3 12Q12 1 21 12Q12 23 3 12ZM3 3L21 21"
visibility.selected = hidden
visibility.emphasis = cast(ButtonEmphasis)ButtonEmphasis.ButtonEmphasisSoft
visibility.bounds = Rectangle.{card.bounds.x + card.bounds.width - cast(float32)AppScale(44),
card.bounds.y, cast(float32)AppScale(44), cast(float32)AppScale(44)}
if Button(group.owner.ui.session, visibility) != 0 && AppPropertiesSetHidden(name, !hidden) {
if !hidden && item >= 0 && app_launcher_is_favorite(group.owner, item) {
group.owner.launcher_favorite_count = LauncherToggleFavorite(
group.owner.launcher_favorites[:], group.owner.launcher_favorite_count, item)
app_launcher_pins_changed(group.owner)
}
app_block_current_click(group.owner)
}
break
}
return called
@@ -406,13 +439,15 @@ LauncherAppCatalogEntry :: (group: *LauncherAppGroup, bytes: *Vec(u8), route: s3
LauncherAppQuoted(bytes, "icon_choice", AppPropertiesIcon(app_name))
}
favorite := route >= 0 && app_launcher_is_favorite(group.owner, route)
BuilderPrint(bytes, ",\"hidden\":%", AppPropertiesHidden(
ifx route >= 0 then LauncherRouteName(route) else NodeAppOfferName(offer)))
// A blocked frame's actions are rejected in LauncherAppDrain. Marking the
// cards disabled for that one frame changed the catalog twice whenever
// Apps opened, and each change re-parses it in the Apps controller:
// about 0.4 s on a slow phone.
BuilderPrint(bytes, ",\"installed\":%,\"favorite\":%,\"bytes\":%,\"actions\":[\"open\"",
BuilderPrint(bytes, ",\"installed\":%,\"favorite\":%,\"reorderable\":%,\"bytes\":%,\"actions\":[\"open\"",
ifx installed then "true" else "false", ifx favorite then "true" else "false",
size)
group.owner.launcher_editing, size)
if installed {
if !builtin { BuilderPrint(bytes, ",\"uninstall\"") }
BuilderPrint(bytes, ",\"%\"", ifx favorite then "unpin" else "pin")
+14
View File
@@ -137,3 +137,17 @@ AppPropertiesSaveSeen :: (name: string, digest: string) -> bool {
unused CopyCString(digest, app_properties[index].seen[:])
return true
}
// Hiding changes only launcher visibility; packages and saved data remain.
AppPropertiesHidden :: (name: string) -> bool {
value: [8]u8
AppPropertiesRead("app_hidden_", name, value[:])
return TextUntilNul(value[:]) == "1"
}
AppPropertiesSetHidden :: (name: string, hidden: bool) -> bool {
if name.count == 0 || name.count >= 32 {
return false
}
return AppPropertiesStore("app_hidden_", name, ifx hidden then "1" else "0")
}
+4 -1
View File
@@ -2,7 +2,10 @@
// bytes, but cannot select or replace the host's controller trust anchor.
// Collections built before the ZX format carried ZIB controllers, which this
// runtime cannot run; earlier ZX controllers stay trusted for collections.
AppsControllerSha256 :: "a1b56259e0b8581188459cc366736feacda3969b2db3055e8425a81065b065e1"
AppsControllerSha256 :: "a4c32798cb17c56ffe052cd5a35ba800df82674fdf851ab79b00720455d13398"
// Existing collections keep the controller from before the reorder gutter.
AppsControllerBeforeReorderGutter :: "a1b56259e0b8581188459cc366736feacda3969b2db3055e8425a81065b065e1"
// Existing collections keep the controller from before shared saved records.
AppsControllerBeforeSharedRecords :: "a99851fc40d67a8ca820841722ce2ddde5ca51844e0778c4762681570c488289"
+1
View File
@@ -497,6 +497,7 @@ NodeTreeStart :: (runner: *NodeAppRunner, bytes: string, verified: string,
unused AppHostTrustHarness(host, AppsControllerBeforeDownload)
unused AppHostTrustHarness(host, AppsControllerBeforeSeparateDownloads)
unused AppHostTrustHarness(host, AppsControllerBeforeInstalledDownloads)
unused AppHostTrustHarness(host, AppsControllerBeforeReorderGutter)
platform := AppPlatform.{.context = cast(*void)runner, .allows = NodeTreeAllows, .call = NodeTreeCall,
.widgets = NodeTreeWidgets, .save = NodeTreeSave, .state = NodeTreeState,
.effect = NodeTreeEffect, .bundle = NodeChildBundle,
+2 -2
View File
@@ -3,7 +3,7 @@ PackageBundledVersion :: (index: s32) -> string {
if index < 0 || index >= 7 {
return ""
}
versions: [7]string = .["2.1.60", "1.1.26", "1.3.13", "1.6.7", "1.3.23", "1.5.25", "1.0.27"]
versions: [7]string = .["2.1.61", "1.1.27", "1.3.14", "1.6.8", "1.3.24", "1.5.26", "1.0.28"]
return versions[index]
}
@@ -11,7 +11,7 @@ PackageBundledSequence :: (index: s32) -> s32 {
if index < 0 || index >= 7 {
return 0
}
sequences: [7]s32 = .[57, 34, 36, 36, 40, 43, 28]
sequences: [7]s32 = .[58, 35, 37, 37, 41, 44, 29]
return sequences[index]
}
+2 -2
View File
@@ -3,7 +3,7 @@
#define APP_VERSION_MAJOR 2
#define APP_VERSION_MINOR 1
#define APP_VERSION_PATCH 59
#define APP_VERSION_STRING "2.1.59"
#define APP_VERSION_PATCH 60
#define APP_VERSION_STRING "2.1.60"
#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 :: 59
VersionString :: "2.1.59"
VersionPatch :: 60
VersionString :: "2.1.60"
+62 -10
View File
@@ -33,6 +33,7 @@ parser.add_argument("--views-only", action="store_true")
parser.add_argument("--root-bundle", type=Path, help="Exercise an older root with the native launcher")
parser.add_argument("--measure", action="store_true", help="Measure cold Apps opens in disposable profiles")
parser.add_argument("--dock-only", action="store_true")
parser.add_argument("--visibility-only", action="store_true")
parser.add_argument("--properties-only", action="store_true",
help="Rename an app and change its icon in Apps › Properties")
parser.add_argument("--profile-navigation-only", action="store_true",
@@ -189,7 +190,7 @@ with contextlib.ExitStack() as stack:
# Each section's shared Apps group sits inside the page's scroll.
grid = [node for node in tree if node["kind"] == "button"
and under(tree, node, "scroll") and not under(tree, node, "navigation_bar")
and node["label"] not in ("Install", "Download", "App options", "Move app")]
and node["label"] not in ("Install", "Download", "App options", "Move app", "Hide app", "Show app")]
divider = [node for node in tree if node["kind"] == "separator" and under(tree, node, "scroll")]
more_top = divider[0]["y"] if divider else float("inf")
pinned = [node for node in grid if node["y"] < more_top]
@@ -399,9 +400,9 @@ with contextlib.ExitStack() as stack:
assert 0 not in active_pins, "Legacy Profile pin was not removed"
if width == 390 and placement == 4 and not pinned:
capture(window, name)
reveal_action("Connect Account")
driver.press(label="Connect Account", role="button")
driver.wait(contains="Create", role="button")
reveal_action("Import Account Key")
driver.press(label="Import Account Key", role="button")
driver.wait(label="Choose key file", role="button")
one_header("Profile")
driver.press(label="Back", role="button")
driver.wait(label="Change picture", role="button", visible=False)
@@ -409,9 +410,9 @@ with contextlib.ExitStack() as stack:
for label in ("Today", "Active days", "Sessions"):
driver.wait(label=label, role="text", visible=False)
assert not driver.find(label="Activity", role="button"), "Inline Activity still has a route"
reveal_action("Manage data")
driver.press(label="Manage data", role="button")
one_header("Data")
reveal_action("Friends")
driver.press(label="Friends", role="button")
one_header("Friends")
driver.press(label="Back", role="button")
driver.wait(label="Change picture", role="button", visible=False)
one_header("Profile")
@@ -419,7 +420,7 @@ with contextlib.ExitStack() as stack:
driver.wait(label="Pinned")
assert not driver.find(role="title_bar", visible=True)
print(f"{name}: one header and complete Back stack passed", flush=True)
print("Profile: one header, Account/Data Back stack, inline Activity, pinned/unpinned, saved top/bottom/side navigation passed")
print("Profile: one header, account import/Friends Back stack, inline Activity, pinned/unpinned, saved top/bottom/side navigation passed")
if arguments.profile_identity_only:
with tempfile.TemporaryDirectory(prefix="inbe-profile-identity-") as temporary:
@@ -515,6 +516,12 @@ with contextlib.ExitStack() as stack:
wait_setting(profile, "launcher_grid_view", 1)
pinned, more, tree = cards()
assert all(abs(card["height"] - 88) <= 1 for card in pinned + more), cards()
handles = driver.find(label="Move app", role="button", visible=True)
for card in pinned + more:
matches = [node for node in handles
if abs(node["y"] - card["y"]) < 2
and abs(node["x"] + node["width"] - card["x"]) < 2]
assert len(matches) == 1, (card, matches)
if width > 500:
assert abs(pinned[0]["y"] - pinned[1]["y"]) < 1 and pinned[1]["x"] > pinned[0]["x"], pinned
capture(window, f"views-{width}-grid")
@@ -676,7 +683,7 @@ with contextlib.ExitStack() as stack:
print("Fitted dock: 3–5 pins, narrow windows, zoom, top/bottom and both rails passed")
raise SystemExit(0)
if arguments.properties_only:
if arguments.properties_only or arguments.visibility_only:
with tempfile.TemporaryDirectory(prefix="inbe-properties-") as temporary:
profile = Path(temporary)
user = None
@@ -693,6 +700,46 @@ with contextlib.ExitStack() as stack:
def labels():
return [item["label"] for item in navigation()]
if arguments.visibility_only:
def card_names():
pinned, more, _ = cards()
return [node["label"] for node in pinned + more]
def visibility_action(label, action):
pinned, more, tree = cards()
card = next(node for node in pinned + more if node["label"] == label)
buttons = [node for node in tree if node["label"] == action
and card["x"] <= node["x"] < card["x"] + card["width"]
and card["y"] <= node["y"] < card["y"] + card["height"]]
assert len(buttons) == 1, (card, buttons)
press(buttons[0])
with application(profile, "visibility", width=390, height=844):
open_apps()
installed_before = {key: value for key, value in settings(profile).items()
if key.startswith("app_used_")}
driver.press(label="Edit apps", role="button")
driver.wait(label="Done", role="button")
visibility_action("Habits", "Hide app")
wait_setting(profile, "app_hidden_habits", "1")
assert "Habits" in card_names(), "Edit must keep hidden apps reachable"
driver.press(label="Done", role="button")
wait_for(lambda: "Habits" not in card_names(), "Hidden app remains in Apps")
assert "Habits" not in labels(), "Hidden app remains pinned"
with application(profile, "visibility-restart", width=390, height=844):
open_apps()
assert "Habits" not in card_names(), "Restart lost hidden state"
driver.press(label="Edit apps", role="button")
driver.wait(label="Done", role="button")
visibility_action("Habits", "Show app")
wait_setting(profile, "app_hidden_habits", "0")
driver.press(label="Done", role="button")
wait_for(lambda: "Habits" in card_names(), "Restored app is missing")
assert {key: value for key, value in settings(profile).items()
if key.startswith("app_used_")} == installed_before, "Hiding changed app installation"
print("Launcher visibility: Edit, hide, restart and restore passed")
raise SystemExit(0)
def open_properties(label):
pinned, more, tree = cards()
card = next(card for card in pinned + more if card["label"] == label)
@@ -913,6 +960,8 @@ with contextlib.ExitStack() as stack:
assert favorites(profile) == [11, 1, 2], "Restart changed personal pins"
assert settings(profile)["language_setup_done"] == "1"
assert [item["label"] for item in navigation()] == ["Diary", "Habits", "Practice", "Apps"]
if arguments.drag_only:
continue
with application(profile, name + "-manage", width, height) as (window, log):
open_apps()
with database(profile) as db:
@@ -961,4 +1010,7 @@ with contextlib.ExitStack() as stack:
open_profile(log)
assert favorites(profile) == []
check_profile_navigation()
print("Launcher: first-run voice question, desktop defaults, clean sections, click/hold/drag, profile and persistence passed")
if arguments.drag_only:
print("Launcher: click/hold/scroll, edit-only reorder, saved order and Profile navigation passed")
else:
print("Launcher: first-run voice question, desktop defaults, clean sections, click/hold/drag, profile and persistence passed")
+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,59,0
PRODUCTVERSION 2,1,59,0
FILEVERSION 2,1,60,0
PRODUCTVERSION 2,1,60,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -24,11 +24,11 @@ BEGIN
BEGIN
VALUE "CompanyName", "waozi"
VALUE "FileDescription", "Inner Breeze"
VALUE "FileVersion", "2.1.59"
VALUE "FileVersion", "2.1.60"
VALUE "InternalName", "breeze"
VALUE "OriginalFilename", "breeze-windows-x86_64.exe"
VALUE "ProductName", "Inner Breeze"
VALUE "ProductVersion", "2.1.59"
VALUE "ProductVersion", "2.1.60"
END
END
BLOCK "VarFileInfo"
+28 -28
View File
@@ -10,14 +10,6 @@
"source": true,
"url": "https://github.com/raysan5/rini.git"
},
{
"commit": "3a42a897c443e9d008406cca34525373088d5ae4",
"dependencies": {"daochi_client": "pf7b24c15869d6839", "kryon": "p77028198b0e09537", "monocypher": "p809b4d31a48625a3", "qrcode": "p0dfa70137405b096"},
"id": "p0bf36f16ae804efb",
"name": "Entity",
"ref": "master",
"url": "https://github.com/waozixyz/entity.git"
},
{
"commit": "2944b2e668e735438d8ce24e47a39be3f5c36af5",
"dependencies": {},
@@ -28,7 +20,7 @@
},
{
"commit": "1cb9df183089a77c8a16448a556186f30b261a98",
"dependencies": {"kryon": "p77028198b0e09537"},
"dependencies": {"kryon": "p678dfe3877859170"},
"id": "p1b13dda539ed2a39",
"name": "Kss",
"ref": "master",
@@ -36,12 +28,20 @@
},
{
"commit": "bad2caaa84ef3eae61e40c99bf572d2b060d0ca2",
"dependencies": {"kryon": "p77028198b0e09537"},
"dependencies": {"kryon": "p678dfe3877859170"},
"id": "p20eb23d3e6db3711",
"name": "Game2D",
"ref": "master",
"url": "https://github.com/kryonlabs/game2d.git"
},
{
"commit": "d420622f7f530b573d28f52ca5fbebbaa9c3cc24",
"dependencies": {"daochi_client": "pf7b24c15869d6839", "kryon": "p678dfe3877859170", "monocypher": "p809b4d31a48625a3", "qrcode": "p0dfa70137405b096"},
"id": "p2d0aef8034912fe3",
"name": "Entity",
"ref": "master",
"url": "https://github.com/waozixyz/entity.git"
},
{
"commit": "fafa2cea97d0cb379d832086ba45a989fa6f9c8e",
"dependencies": {},
@@ -51,6 +51,14 @@
"source": true,
"url": "https://github.com/raysan5/raylib.git"
},
{
"commit": "2839954d916c614e562d6c25c448928923d4190b",
"dependencies": {"raylib": "p5a77c9c35110e925"},
"id": "p678dfe3877859170",
"name": "kryon",
"ref": "master",
"url": "https://github.com/kryonlabs/kryon.git"
},
{
"commit": "22d2ddbdc236796953c905a05a2cebf5ab1b4ff3",
"dependencies": {"liboqs": "pecdb097af6ab16f7"},
@@ -59,14 +67,6 @@
"ref": "master",
"url": "https://github.com/ziranlang/oqs.git"
},
{
"commit": "1d987043bf1c07bde429d3f8a30b74d5401bea45",
"dependencies": {"raylib": "p5a77c9c35110e925"},
"id": "p77028198b0e09537",
"name": "kryon",
"ref": "master",
"url": "https://github.com/kryonlabs/kryon.git"
},
{
"commit": "f5f0a19a5dc6c14a49adb3cd63ea79a60f6ba77b",
"dependencies": {},
@@ -85,22 +85,22 @@
"source": true,
"url": "https://github.com/waozixyz/practices.git"
},
{
"commit": "becce9220e092d33b26a2ec106b93e43714f3946",
"dependencies": {"crypto": "pc23fbf455e97614d", "kryon": "p678dfe3877859170"},
"id": "p9c41020c62c76410",
"name": "Apps",
"ref": "becce9220e092d33b26a2ec106b93e43714f3946",
"url": "https://github.com/waozixyz/apps.git"
},
{
"commit": "3f888653b6b97010163d824c4cc72476be3214f3",
"dependencies": {"kryon": "p77028198b0e09537"},
"dependencies": {"kryon": "p678dfe3877859170"},
"id": "pab5377a2950368a2",
"name": "plot",
"ref": "master",
"url": "https://github.com/kryonlabs/plot.git"
},
{
"commit": "b31f9528acc99ac13c7d396edaa42c293be1325f",
"dependencies": {"crypto": "pc23fbf455e97614d", "kryon": "p77028198b0e09537"},
"id": "pb79af7eaf6037b09",
"name": "Apps",
"ref": "b31f9528acc99ac13c7d396edaa42c293be1325f",
"url": "https://github.com/waozixyz/apps.git"
},
{
"commit": "944826f70779a6b6cd53f6b06a75b36f4d8a2558",
"dependencies": {},
@@ -154,7 +154,7 @@
}
],
"root": {
"dependencies": {"apps": "pb79af7eaf6037b09", "crypto": "pc23fbf455e97614d", "curl": "pd4bcd11b7d623073", "daochi_client": "pf7b24c15869d6839", "entity": "p0bf36f16ae804efb", "game2d": "p20eb23d3e6db3711", "kryon": "p77028198b0e09537", "kss": "p1b13dda539ed2a39", "liboqs": "pecdb097af6ab16f7", "mingcute": "pe1027b9d16704793", "monocypher": "p809b4d31a48625a3", "oqs": "p7098ac9cd92f7e5f", "plot": "pab5377a2950368a2", "practices": "p9079dde0fcc11248", "qrcode": "p0dfa70137405b096", "rini": "p09fa77e94b0dfc6c", "sqlite": "peaa43c4b7ef72edf"},
"dependencies": {"apps": "p9c41020c62c76410", "crypto": "pc23fbf455e97614d", "curl": "pd4bcd11b7d623073", "daochi_client": "pf7b24c15869d6839", "entity": "p2d0aef8034912fe3", "game2d": "p20eb23d3e6db3711", "kryon": "p678dfe3877859170", "kss": "p1b13dda539ed2a39", "liboqs": "pecdb097af6ab16f7", "mingcute": "pe1027b9d16704793", "monocypher": "p809b4d31a48625a3", "oqs": "p7098ac9cd92f7e5f", "plot": "pab5377a2950368a2", "practices": "p9079dde0fcc11248", "qrcode": "p0dfa70137405b096", "rini": "p09fa77e94b0dfc6c", "sqlite": "peaa43c4b7ef72edf"},
"name": "Inbe"
},
"toolchain": {
+1 -1
View File
@@ -74,7 +74,7 @@ ref = "master"
[dependencies.apps]
git = "https://github.com/waozixyz/apps.git"
ref = "b31f9528acc99ac13c7d396edaa42c293be1325f"
ref = "becce9220e092d33b26a2ec106b93e43714f3946"
# The practices' pictures, course data and recordings (scripts/practice_media.py).
[dependencies.practices]