Commit Graph
77 Commits
Author SHA1 Message Date
Sprite bb978fd6de Fix widget resizing handles, edge anchoring, scroll sync, and axis limits
Launcher / test (pull_request) Successful in 1m19s
Launcher / apk (pull_request) Skipped
2026-11-23 05:29:33 +00:00
Sprite 216c80252d Fix wallpaper transparency, Recents setup guide, and drawer animation
Launcher / test (pull_request) Successful in 1m12s
Launcher / apk (pull_request) Skipped
2026-11-23 04:55:23 +00:00
nandi 2fa7bd745b Rewrite the launcher in MoonBit (old code moves to legacy/) (#1)
Launcher / test (push) Successful in 1m20s
Launcher / apk (push) Successful in 37s
build-29923469
2026-11-23 01:57:10 +00:00
nandi 7d2bf5996f Add home search pill that opens the app drawer
Launcher / apk (push) Failing after 2m47s
2026-11-18 22:18:50 +00:00
nandi 02ce0491c1 Install OpenGL dev headers for desktop Qt test in CI
Launcher / apk (push) Successful in 3m54s
build-29917201
2026-11-18 20:01:16 +00:00
nandi a01baa661d Check out with git in the JDK container (no Node)
Launcher / apk (push) Failing after 55s
2026-11-18 19:59:13 +00:00
nandi 72c5f75939 Move build and releases to the Gitea forge
Launcher / apk (push) Failing after 7s
2026-11-18 19:57:20 +00:00
nandi c89c6a7e53 Enable LATHA_GUI_TEXT_INPUT so soft keyboard opens on Search apps 2026-11-13 12:43:44 -08:00
nandi fda509190a Add hidden EditText IME bridge for drawer search input 2026-11-13 12:26:53 -08:00
nandi f4e4cd3884 Use dispatchTouchEvent for widget drag and prioritize widgets in layout 2026-11-13 12:12:32 -08:00
nandi 3cf65af790 Fix widget drag visibility and top-left grid snapping 2026-11-13 11:55:37 -08:00
nandi 52d03decbd Support long-press drag-to-move for home icons and widgets 2026-11-13 11:15:34 -08:00
nandi f5c3b8ac60 Add AppWidgetHost support, translucent wallpaper compositing, and home layout parity 2026-11-13 11:05:09 -08:00
nandi 72b0d7d896 Wire top Windows button to Android Recents via RecentsService 2026-11-13 10:50:46 -08:00
nandi babced838b Port launcher to WASI component and wasmtime Android runtime APK 2026-11-13 10:45:57 -08:00
nandi 24336b9016 Evict stale LauncherActivityInfo on package changes and bump icon cache key 2026-11-13 10:26:27 -08:00
Claude 68e4c74410 Build and release from the fileapi forge only
The forge repo is the one releases come from: it no longer follows GitHub,
and GitHub Actions no longer builds or publishes the Qt APK (its tests
still run there).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-06 08:21:50 +00:00
Claude a7591db522 Forge APK build: install the libraries the host Qt tools need
qmlimportscanner failed to start without libglib-2.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-06 08:19:56 +00:00
Claude 0b268c5298 Drop a stale comment
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-06 08:14:32 +00:00
Claude f69cb74ce7 Release the Qt launcher from the fileapi forge
.forge/jobs.toml follows GitHub's main and, on each commit, builds the Qt
APK on Depot (ci/forge-apk.sh: Qt 6.8.3 via aqt, SDK/NDK 26.1, the
committed key) and publishes it as a forge release build-<versionCode>,
drafted until the APK and version.json are both up. versionCode is minutes
since the epoch, above every GitHub run number. The in-app updater now
reads releases/latest on the forge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-06 08:14:21 +00:00
Claude 35b4c44168 Qt: log icon and window timings to find the icon lag on the phone
Each icon request logs its key and how long it took (ultra.icon), each icon
logs when it shows, and the app state, scene graph and first frames are
logged too, so logcat shows where the time goes when icons appear late.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-04 16:19:45 +00:00
Claude 5b09f66a78 CI: run the WebView test on ubuntu-24.04
ubuntu-latest became 26.04, where Playwright has no Chromium.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-03 20:46:06 +00:00
Claude 56a4ae4347 Qt: faster app icons on start
Three things still held icons up:
- The app list was built on Qt's thread, so nothing on screen could paint
  (icons included) until every app was listed and labelled. HomeActivity
  now lists apps on its own thread and answers through Native.appList.
- Each icon was drawn, PNG-encoded in Java and decoded again in C++. Icons
  now cross as raw premultiplied RGBA, and drawn ones are kept in the cache
  dir, keyed by the app's last update, so a fresh start just reads them.
- The closed drawer made its icons at the same time as home. It now waits
  1.5s, or until it opens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-03 20:42:04 +00:00
Claude 8abe104dda Qt: show home icons at once on start, and keep them when other apps change
Home app tiles waited for the full app list (every app listed and labelled
over JNI, slow on a phone) before they showed, while widgets showed at once.
The last app list is now kept and the home starts from it; nothing on home
is hidden until the fresh list has loaded. A package change used to reload
every icon on screen; now only that package's icons are drawn again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-03 01:20:22 +00:00
Claude 2028bf7a29 Qt: name the app plain ultra Home
It is the launcher now, not a side-by-side test app.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 06:02:52 +00:00
Claude 70fb8ee633 Qt: bring over the WebView build's home screen
The WebView build saved its home in its page's localStorage, which stays in
the app's data now that the Qt build is dev.ultra.launcher. On first start
HomeActivity reads the ultra.home.* keys through a throwaway WebView on the
same origin and hands them to QML: apps by component, widgets with their px
heights turned into rows, pins kept when the Qt home is still empty. The
widget host id goes back to the WebView build's, so its widgets stay bound.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 05:49:32 +00:00
Claude e89d447b8f CI: replace release files in place instead of deleting the release
Deleting and recreating launcher-qt-latest left a window with no release,
so a phone checking for updates then got a 404 ("couldn't check"), and two
runs racing could leave it missing. Now the APK and then version.json are
uploaded over the old ones, and publishes run one at a time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 05:46:18 +00:00
Claude 41f4a05a90 Qt build takes over dev.ultra.launcher
Same package and signing key as the WebView build, so the Qt APK installs
over it in place for testing on the phone. It keeps updating itself from
launcher-qt-latest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 05:42:36 +00:00
Claude 68c82a97f4 Qt: draw the search clear button, fade home out under the drawer
The phone's font has no ✕, so the clear button showed as a missing-glyph
box; it is now two drawn strokes. The home screen showed through the
drawer's backdrop; it now fades out as the drawer slides over it, leaving
only the wallpaper behind the app list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 05:39:56 +00:00
Claude bc37c623c8 Qt: keep widgets under menus, and clear the search reliably
A sheet (the long-press menus, the widget picker) used to take every native
widget off the screen, since Qt can't draw over them. Now they stay: the
widget layer hides them below the sheet's top edge as it rises and dims
the rest like the sheet's backdrop, which takes their touches.

The search boxes ask for no suggestions, so Android keyboards type straight
in instead of composing words, and the clear button commits and clears
again once a late commit has landed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 05:37:02 +00:00
Claude e050f52417 Qt: fix the clear button in the search boxes
On Android the keyboard keeps the word being typed out of TextInput.text
until it is committed, so the clear button didn't show for it and clearing
left the composing word behind. The box now filters and shows the clear
button by displayText, and clearing resets the input method first. The
button is a 44px target that keeps its press.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 05:27:37 +00:00
Claude 0367ff5e73 Qt build: QtActivity's lifecycle overrides are public
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 05:00:37 +00:00
Claude 84ca4827dc Qt build: no install rule on Android
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 04:51:31 +00:00
Claude 74ddcfeab6 Start the Qt Quick rewrite of the launcher in qt/
A QML UI with feature parity as the goal: home grid that fills the screen with
dense packing and pinned cells, drag to reorder or into an empty cell, widget
resize handles snapping to the grid, the app drawer with search and long-press
menu, sheets, and the widget picker. HomeActivity (a QtActivity) keeps the
Android parts and hosts native widget views over the QML slots, as the WebView
shell did. A desktop backend serves the demo data, so qt/tests/e2e.cpp drives
the UI end to end offscreen; CI runs it and builds an APK that installs next to
the current launcher as ultra Home (Qt).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
2026-11-02 04:40:25 +00:00
Claude a880573afb Keep widgets until the app drawer slides over them
Opening the drawer unmarked the widget slots, so the native widget views
were hidden at once, before the drawer had painted. Now the widgets stay
put under the drawer and the shell clips them above its edge each frame
as it slides down, hiding them once it covers the screen. On close they
come back only after the page has painted without the drawer.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NFvkdqdrRGWHGq1LUzzK7L
2026-10-26 05:14:04 +00:00
Claude 8e2f2e8192 Long-press menu in the app drawer, with Uninstall
Long-pressing an app in the drawer now opens a menu (Add to home or
Remove from home, App info, Uninstall) instead of adding it straight to
home. Uninstall fires ACTION_DELETE for the app's package (needs
REQUEST_DELETE_PACKAGES) and is hidden for system apps, which apps.json
now flags. When the uninstalled app leaves the reloaded list, its home
slot is removed too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XicVK7N1cmDdm1ZwpHAxFD
2026-10-22 07:30:57 +00:00
Claude c3f3e4eedb Let a widget be dragged onto any row, including the top
Dragging a widget over apps used to move it in the order, but a wide widget
can't fit beside earlier apps, so the packed flow kept pushing it below them.
A widget now always goes to the cell under it (MOVE_CELL) and the apps flow
around it; apps still reorder by dragging over each other.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NYASJ6JNxhYwNNJK7ypK2V
2026-10-22 06:53:31 +00:00
Claude d782c9c645 Let apps be dropped into empty rows below, keeping the rest packed
The page measures how many rows fit down to the bottom of the screen (GRID)
and app.py lays out that many, so the space below the apps is real cells.
Apps and widgets still pack in order with no holes; dragging one over another
moves it in the order as before. Dragging it over an empty cell (MOVE_CELL)
leaves it pinned there (saved as ultra.home.cx/cy, new keys so build 21's
pins are ignored); dropping it moves anything pinned underneath back into the
flow, and dragging it back over an app returns it to the order.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NYASJ6JNxhYwNNJK7ypK2V
2026-10-22 06:36:25 +00:00
Claude b031cff81e Back to five home columns
This reverts commit 146c735. V wants more rows, not more columns.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NYASJ6JNxhYwNNJK7ypK2V
2026-10-22 06:33:39 +00:00
Claude 146c735b1b Six home columns with smaller tiles
The home grid gets 6 columns (7 on wider screens), 60px rows, 36px icons and
smaller labels, so more icons fit in each row and on the screen.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NYASJ6JNxhYwNNJK7ypK2V
2026-10-22 06:30:09 +00:00
Claude 20b2cf199c Remove the drawer pull bar from the top of the home screen
Swipe down still opens the drawer; the bar was only a hint.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016tBSNsqzyqdsTFC7hq9LUg
2026-10-22 06:23:40 +00:00
Claude 68c8cf6aa3 Fit more rows on one screen: 64px rows, 8px gaps, tighter top
Home rows shrink to 64px with 8px gaps and 40px icons, and the space above
and below the Windows panel is trimmed, so about two more rows of apps fit
on a phone screen. widget_rows and the resize test follow the new rows.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NYASJ6JNxhYwNNJK7ypK2V
2026-10-22 06:22:49 +00:00
Claude 0b4bf7bf63 Revert pinned home cells: apps flow into free space again
This reverts commit 5682d51. Pinning every slot on the first drag left apps
stranded alone in rows on the phone; V wants the home to pack apps densely
with no holes, as before.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NYASJ6JNxhYwNNJK7ypK2V
2026-10-22 06:20:07 +00:00
Claude 5682d51a56 Make the home grid run to the bottom of the screen with cells you drop into
The page measures how many rows fit down to the bottom of the screen (GRID)
and app.py lays the grid out with that many, so the empty space is real cells.
Each slot can be pinned to a cell (hx, hy, saved); dragging pins every slot
where it shows, carries the lifted one to the cell under the finger
(MOVE_CELL), and on drop moves whatever it covers to the first free cells.
Unpinned slots (new apps, displaced ones) flow densely into free cells. The
Move earlier/later menu items go, since order no longer sets the place.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NYASJ6JNxhYwNNJK7ypK2V
2026-10-22 06:14:04 +00:00
Claude de8edd6c88 Let native widgets fill their slot with no default padding
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TY1LTqiYKXmSUTpLTrJMgF
2026-10-22 06:08:01 +00:00
Claude 205c7dbed2 Start a new widget at its natural width in whole columns
The shell's widgetLimits now reports the provider's natural width ("w"), and
when a widget is added the page turns it into grid columns (WIDGET_COLS), so a
small widget takes the columns it needs instead of the whole row. Resizing
still snaps to whole columns and rows.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NYASJ6JNxhYwNNJK7ypK2V
2026-10-22 06:02:10 +00:00
Claude 43cb884a5d Hide a live widget's label so it can't peek out beside the native view
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ScMbiX5uANzSZVWSQdXdtQ
2026-10-22 06:00:04 +00:00
Claude b4e2d8618e Fit more rows on the home screen and let it hold 200 slots
Rows shrink to 72px with 12px gaps (tiles are 70px), and the home screen's
slot limit goes from 40 to 200 (its arrays are already 512 long).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NYASJ6JNxhYwNNJK7ypK2V
2026-10-22 05:58:37 +00:00
Claude 8dd46b20a5 Fit more on the home screen: five columns, shorter rows, smaller icons
The home grid gets one more column than the drawer (5 on a phone, 6 on wider
screens), 76px rows with 16px gaps and 44px icons. Widgets still snap to whole
rows; widget_rows and the resize test follow the new row size.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NYASJ6JNxhYwNNJK7ypK2V
2026-10-22 05:47:42 +00:00
Claude 3f64b32df8 Snap widgets to whole rows and let apps fill the cells beside them
Home rows now share one height (an app tile's) and widgets span whole rows of
it, so they line up with the apps. The grid packs densely, so apps fill free
cells next to a widget instead of leaving holes. Resizing snaps to whole rows.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NYASJ6JNxhYwNNJK7ypK2V
2026-10-22 02:17:11 +00:00