← Back to projects

Community desktop app

ZTM Desktop App

A desktop app for ZTM Academy students that puts their courses, favourites, and the Academy itself in one window.

My role: Contributor

The problem

ZTM students reach their courses through browser tabs. Getting back to the lesson they were on means finding the right tab or signing in and navigating the Academy again.

The solution

The app opens on a Dashboard with a Resume section and every course as a card. Students can filter and favourite courses, open Academy pages in an embedded Web View, and jump to their Passport or the community Discord.

My contributions

  • Added the collapsible sidebar, with icon-only collapse on desktop and a drawer on narrow windows.
  • Listed ZTM courses on the Dashboard. Rust downloads and caches the course list and syncs it weekly; React only calls Tauri commands.
  • Replaced the plain list with a grid of course cards whose artwork Rust fetches, validates, and caches through a Tauri protocol.
  • Reworked the embedded Academy: a separate window for fullscreen playback, state carried between the two, theme isolation, and course progress restored across navigation.
  • Moved Academy sign-in to a dedicated authentication window and added dismissible error dialogs with Retry when Discord, the Web View, or course loading fails.

Behind the project

The community's desktop app, built with Tauri, React, and TypeScript. All of my work is merged into the main repository.

Engineering decisions

Fullscreen playback needs its own native window, and opening the Academy there as a new page would lose the student's place. I made fullscreen a disposable window and transferred state between it and the embedded view, so switching feels like moving the same session rather than opening a new page.

Repository
ztm-desktop-application/ztm-desktop
Repository updated