Desktop widgets that tell me what needs me
A few small Übersicht widgets put code reviews, machine health and maintenance status on my desktop, so I stop checking tabs.
I used to keep a browser tab open just to see which merge requests were waiting for me. I’d check it, forget it, and check it again an hour later. Now that list sits on my desktop, under my windows, and I glance at it the way I glance at a clock.
The widgets run on Übersicht, a free macOS app that draws small React components on the desktop. Each widget is one index.jsx file: a shell command, a refresh interval and a render function that turns the command’s output into markup.
Code reviews, sorted by what needs me

The GitLab widget calls the GitLab API through the glab CLI three times: merge requests where I’m a reviewer, ones assigned to me, and ones I’ve already approved. It joins the three into one JSON object, and the widget does the rest.
- The order follows my attention. Anything that needs me comes first, then what I’ve already approved, and drafts go last. My own drafts fold away under one line, because they’re reminders, not someone waiting on me.
- Age turns into colour. A review untouched for two days turns amber, and after a week it turns red.
- Badges replace a click. Conflicts, a pipeline still running, a needed rebase or unresolved threads each get a badge. Anything that mentions Snyk, a CVE or a vulnerability gets a red “security” badge, so it never sinks to the bottom.
- It fails loudly. The three API calls are chained with
&&. If the network or my token fails, the widget shows a red error line instead of quietly showing half the list.
Clicking a row opens the merge request, and a ↻ button refreshes it right away. Otherwise it refreshes every 30 minutes, which is often enough for reviews and kind to the API.
(The merge requests in the screenshot are made up. The real ones are work.)
Machine health at a glance

The System widget shows CPU, memory and network speed every two seconds, using only built-in macOS commands such as iostat, memory_pressure and netstat. On battery it adds the three apps using the most energy, which is usually the answer to “why is my battery draining?”.
Maintenance status, with a run button
The third widget shows my laptop’s scheduled maintenance tasks: when each last ran, whether it passed and when it runs next, with a ▶ button to run one now. That one has its own post.
One odd trick: a widget that draws nothing
macOS sometimes drops the frosted-glass blur behind every widget whenever one of them re-renders, so they flicker. The fix is a fourth widget that draws a single one-pixel dot and ticks twice a second. It looks pointless, and the folder’s README says so: delete it and the widgets flicker.
Restoring it on a new Mac
The repository is the widgets folder. On a fresh Mac I install Übersicht, clone the repository into Übersicht’s widgets folder before opening the app, log glab in, and everything is back. The code is on GitHub: ubersicht-widgets.