Show disabled refetch button with tooltip for Android hosts#42165
Draft
kilo-code-bot[bot] wants to merge 5 commits intomainfrom
Draft
Show disabled refetch button with tooltip for Android hosts#42165kilo-code-bot[bot] wants to merge 5 commits intomainfrom
kilo-code-bot[bot] wants to merge 5 commits intomainfrom
Conversation
Android uses a declarative/push-based MDM protocol where the device sends updates when they happen, so Fleet can't request updates on demand. Instead of hiding the refetch button entirely for Android hosts, show it as disabled with a tooltip explaining that Android devices sync automatically and how to trigger a manual sync on the device itself.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #42165 +/- ##
==========================================
+ Coverage 66.49% 66.52% +0.02%
==========================================
Files 2516 2532 +16
Lines 202010 202435 +425
Branches 9071 9299 +228
==========================================
+ Hits 134331 134667 +336
- Misses 55544 55634 +90
+ Partials 12135 12134 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Updated tooltip copy to: 'Android hosts sync data automatically when they change, but changes may not appear immediately due to Google rate limiting.' - Added 'Learn how to manually sync' as a CustomLink with newTab and tooltip-link variant (URL left as TODO placeholder) - Updated test to verify new tooltip text and link behavior
| <br /> | ||
| due to Google rate limiting.{" "} | ||
| <CustomLink | ||
| url="TODO" |
Member
There was a problem hiding this comment.
TODO: Add a link to a guide that explains how to manually trigger a re-push from a the device. It's somewhere in the Android device's settings...
Member
There was a problem hiding this comment.
Awesome! Added a "learn more" link for the guide.
1 task
noahtalerman
reviewed
Apr 9, 2026
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
noahtalerman
reviewed
Apr 9, 2026
| 'GET /learn-more-about/unlock-ios-ipados': 'https://fleetdm.com/guides/lock-wipe-hosts#how-to-unlock-offline-ios-and-ipados-hosts', | ||
| 'GET /learn-more-about/certificates': '/guides/connect-end-user-to-wifi-with-certificate', | ||
| 'GET /learn-more-about/enrollment-profiles': 'https://developer.apple.com/documentation/devicemanagement/profile?changes=l_11_5', | ||
| 'GET /learn-more-about/android-manual-sync': '/guides/how-to-manually-sync-an-android-device' |
Member
There was a problem hiding this comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
helpers.tsx: Updated the"android"entry inREFETCH_TOOLTIP_MESSAGESwith new copy and added aCustomLinkcomponent ("Learn how to manually sync") withvariant="tooltip-link",newTab, andurl="TODO"placeholderHostHeader.tsx: (unchanged from prior commit) Renders a<RefetchButton>withisDisabledand the Android tooltip messageHostHeader.tests.tsx: Updated the Android test to verify new tooltip text ("Android hosts sync data automatically"), the presence of the "Learn how to manually sync" link, and that it opens in a new tab (target="_blank")Testing
All 9 HostHeader tests should pass (Babel version mismatch in CI-less environment prevented local run; changes are straightforward text + component updates).
Built for ntalerman by Kilo for Slack