mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-14 09:50:49 +00:00
* Open apps from the embedded app browser at their own URL Selecting an app in the /embed/apps browser now opens it in a new tab at its index_url, with the same launch params the dashboard's tab launch uses, instead of the GUI's /app/<name> landing. The tab is opened inside the click and without noopener; the app's SDK asks the embed for its token through the opener, so the token stays out of the URL. Apps that need the desktop (built-in and godmode apps, private apps the user can't open, or a failed token request) still open /app/<name>, with the tab's opener cleared. Website shortcuts are unchanged. The app URL, the app token request and the /rao report move out of launch_app into helpers without desktop globals (appLaunchUrl.js, appLaunchApi.js), so launch_app and the embed build the same URL. uuidv4 moves to a helper the embed can import. * Tag app launches with utm_medium and a utm_campaign naming the launch surface Apps now get utm_medium=referral and utm_campaign=desktop, dashboard, or app_browser_embed alongside utm_source=puter.com, so their analytics can tell where in Puter they were opened from.