From d110c59c50efc6f27766b66740f5fb97b0da83fc Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 3 Feb 2026 11:39:37 -0600 Subject: [PATCH] Website: Update /better page for mobile devices (#39206) Closes: https://github.com/fleetdm/fleet/issues/35101 Changes: - Updated the /better page to show a different list in the "What personal information can Fleet see?" section when users visit the page on a mobile device --- website/assets/js/pages/transparency.page.js | 13 +++- website/assets/styles/pages/transparency.less | 24 ++++--- website/views/pages/transparency.ejs | 66 ++++++++++++++++++- 3 files changed, 88 insertions(+), 15 deletions(-) diff --git a/website/assets/js/pages/transparency.page.js b/website/assets/js/pages/transparency.page.js index fd1a16a5f4..3657f86645 100644 --- a/website/assets/js/pages/transparency.page.js +++ b/website/assets/js/pages/transparency.page.js @@ -6,6 +6,8 @@ parasails.registerPage('transparency', { //… showSecureframeBanner: false, modal: undefined, + isDesktopUser: true, + guessedPlatformName: 'computer',// Default to computer. }, // ╦ ╦╔═╗╔═╗╔═╗╦ ╦╔═╗╦ ╔═╗ @@ -15,7 +17,16 @@ parasails.registerPage('transparency', { //… }, mounted: async function() { - //… + if(bowser.ios && !bowser.ipad) { + this.isDesktopUser = false; + this.guessedPlatformName = 'iPhone'; + } else if(bowser.ipad || (navigator.maxTouchPoints > 1 && bowser.mac)) { + this.isDesktopUser = false; + this.guessedPlatformName = 'iPad'; + } else if(bowser.android) { + this.isDesktopUser = false; + this.guessedPlatformName = 'Android device'; + } }, // ╦╔╗╔╔╦╗╔═╗╦═╗╔═╗╔═╗╔╦╗╦╔═╗╔╗╔╔═╗ diff --git a/website/assets/styles/pages/transparency.less b/website/assets/styles/pages/transparency.less index 10848dcde4..d8cd30220c 100644 --- a/website/assets/styles/pages/transparency.less +++ b/website/assets/styles/pages/transparency.less @@ -429,6 +429,17 @@ } @media (max-width: 575px) { + [purpose='hero-text'] { + + h1 { + font-size: 32px; + } + } + [purpose='feature-text'] { + h2 { + font-size: 24px; + } + } [purpose='page-container'] { padding-top: 32px; padding-left: 24px; @@ -486,18 +497,5 @@ } } - @media (max-width: 375px) { - [purpose='hero-text'] { - - h1 { - font-size: 32px; - } - } - [purpose='feature-text'] { - h2 { - font-size: 24px; - } - } - } } diff --git a/website/views/pages/transparency.ejs b/website/views/pages/transparency.ejs index 027891188f..3b188448fa 100644 --- a/website/views/pages/transparency.ejs +++ b/website/views/pages/transparency.ejs @@ -126,7 +126,7 @@ -
+

What personal information can Fleet see?

Here’s what Fleet can manage on your computer:

@@ -262,6 +262,70 @@

Fleet can't guarantee that other personal data isn't being captured by user activity monitoring or cybersecurity tools like Veriato, CrowdStrike, etc.

+ +
+

What can Fleet see?

+

Here’s what Fleet can manage on your {{guessedPlatformName}}:

+
+
+

+ On/off status + +

+

+ Fleet knows when your device is on or off. This is useful for understanding the state of your device and for troubleshooting should a problem ever arise. +

+
+
+

+ System settings + +

+

+ Fleet can enforce settings like password length on your device. This is useful for IT teams to keep your device up to date so you don’t have to. +

+
+
+

+ Wi-Fi settings + +

+

+ To help connect you to your corporate Wi-Fi or VPN, Fleet can configure Wi-Fi settings and install certificates on your device. +

+
+
+

+ Remote actions + +

+

+ Device actions are helpful for IT teams to troubleshoot your device remotely if you run into any issues. Your device can be restarted, locked or even wiped remotely by your administrator. +

+
+
+

+ Device health & performance + +

+

+ Fleet can see details about your device’s hardware. E.g., what processor is used, how much memory is installed, storage capacity, battery health, etc. This allows IT teams to preemptively address device health problems, which can mitigate data loss and reduce disruption to your workflow caused by IT related issues. +

+
+
+

+ Software + +

+

+ Fleet can add apps and update software. This enables IT teams to better manage software update schedules, and reduce disruption to your workflow. +

+
+
+
+ + +