prose-im / prose-app-web

Prose Web application. XMPP client for team messaging.
https://prose.org/downloads
Mozilla Public License 2.0
23 stars 2 forks source link

Tauri improvements #69

Closed dscso closed 6 months ago

dscso commented 6 months ago

Summerized changes: The following changes:

await UtilitiesRuntime.requestFileDownload(
  event.file.url,
  event.file.name,
  (current, total) => console.log(`${Math.round(current/total*100)}% done`)
);
valeriansaliou commented 6 months ago

Merged desktop branch into this one, copying comment from https://github.com/prose-im/prose-app-web/pull/68#issue-2190875427 here:

  1. ✅ When application is closed by hiding, it still thinks it has focus (so it marks any unread as read) — same if minimized
  2. ☑️ Make Download folder bounce when download is done
  3. ☑️ Menu bar for macOS (Settings + Profile buttons, Check for Updates et al)
  4. ☑️ About Prose.app window for macOS (fill it with Prose website and details)

progress

  1. ✅ See if window is in focus (both web and Tauri)
UtilitiesRuntime.registerWindowFocusCallback((focus) => console.log("focus: " + focus))