From c7d0c6343cace84abb3a4bc8af9cd64f2fe4eb1f Mon Sep 17 00:00:00 2001 From: keyos Date: Mon, 18 May 2026 18:10:20 +0000 Subject: [PATCH 1/2] feat(ui): add PWA standalone reload button and pull-to-refresh gesture Adds a reload button to the app titlebar visible only in PWA standalone or fullscreen mode, and a pull-to-refresh gesture on the messages container that smooth-scrolls to the top before activating. The reload button sits next to the message count label and provides a one-tap refresh for users who installed the WebUI as a home-screen app where browser navigation controls are unavailable. The pull-to-refresh gesture detects downward drag at the top of the message list, shows a visual indicator ('Pull to refresh' / 'Release to refresh'), and reloads on release past the 80px threshold. When triggered mid-conversation, it smooth-scrolls to the top first. --- static/index.html | 6 +++++ static/style.css | 12 +++++++++ static/ui.js | 64 ++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 81 insertions(+), 1 deletion(-) diff --git a/static/index.html b/static/index.html index 9682788c94..fb72a251b2 100644 --- a/static/index.html +++ b/static/index.html @@ -138,6 +138,12 @@ +