Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
f28e5a2
feat(ui): design tokens and glass window
imnakul Nov 20, 2026
414eab0
feat(ui): shared Switch, SettingsCard, SettingRow, Segmented, Keycap,…
imnakul Nov 20, 2026
6b14a2a
feat(settings): cards with live summaries, gliding expand, glass sidebar
imnakul Nov 20, 2026
16167da
feat(dashboard): token restyle for tabs, update notice, toolbar and b…
imnakul Nov 20, 2026
a1b5f80
feat(screenshots): PageHeader, tokenised cards, keycap empty state
imnakul Nov 20, 2026
118f7c6
feat(notes): PageHeader, tokenised cards and dialog motion
imnakul Nov 20, 2026
78061eb
feat(record): PageHeader, primary start button, warning token
imnakul Nov 20, 2026
a0a7da3
feat(showcase): tokenise Showcase and Studio, shared Switch, ui tests
imnakul Nov 20, 2026
a380c5a
docs(design): public changelog for the dashboard design system
imnakul Nov 20, 2026
81119d4
feat(settings): custom accent colour picker
imnakul Nov 20, 2026
e115745
fix(settings): space between card header and body
imnakul Nov 20, 2026
2c89eda
fix(settings): tab bar sits on its own rounded container, no full-wid…
imnakul Nov 20, 2026
4a16015
style(dashboard): slim rounded scrollbars with a reserved gutter
imnakul Nov 20, 2026
7fdab77
fix(dashboard): let Mica show through in dark, keep light mode light
imnakul Nov 20, 2026
c9dbd48
feat(desktop): Geist and Geist Mono as the app fonts
imnakul Nov 20, 2026
3d2f2e5
feat(dashboard): real acrylic blur behind the window, tighter page pa…
imnakul Nov 20, 2026
cfe5849
fix(dashboard): let #root go transparent so the blur is visible
imnakul Nov 20, 2026
24be6ac
feat(dashboard): glass strength slider, page-drawn title bar, one sur…
imnakul Nov 20, 2026
3484eb1
fix(settings): clicking the custom accent swatch reopens the color pi…
imnakul Nov 20, 2026
c8b17ae
feat(dashboard): real CapKit logo and tagline in the sidebar
imnakul Nov 20, 2026
813ef3a
feat(dashboard): grids and settings use the full available width
imnakul Nov 20, 2026
160bd1a
style(dashboard): glass tab strip, roomier sidebar for the tagline
imnakul Nov 20, 2026
5562ec0
feat(dashboard): gliding hover pill in the sidebar, Page notes, Hugei…
imnakul Nov 20, 2026
9827948
fix(settings): content fades under the tab strip instead of overlappi…
imnakul Nov 20, 2026
74f2139
feat(dashboard): name captures after the page or app, grouped sidebar…
imnakul Nov 20, 2026
7adbc66
style(screenshots): one folder icon in the save-location bar
imnakul Nov 20, 2026
87d9600
style(notes): wider cards, title left and host right on one line
imnakul Nov 20, 2026
9efd1df
style(notes): cap card width and use a shorter preview
imnakul Nov 20, 2026
2c7cb00
feat(dashboard): copy button morphs to a check with a press dip and s…
imnakul Nov 20, 2026
5c169ea
feat(screenshots): older generic captures show a dated name instead o…
imnakul Nov 20, 2026
45bbca8
feat(dashboard): smoother copy morph, instant click sound, same feel …
imnakul Nov 20, 2026
c2492e0
style(dashboard): icon-only frosted copy button
imnakul Nov 20, 2026
e255103
fix(dashboard): instant copy morph, visible refresh, dated capture na…
imnakul Nov 20, 2026
db80907
style(dashboard): match screenshot and recording cards to note card size
imnakul Nov 20, 2026
be4e697
style(dashboard): card grids fill the row instead of leaving a right gap
imnakul Nov 20, 2026
a999d06
style(dashboard): drop duplicate date row from screenshot cards
imnakul Nov 20, 2026
947edf6
feat(screenshots): favourite star and All/Favourites filter
imnakul Nov 20, 2026
3bf067d
fix(dashboard): always show the main scroll track so tabs don't shift
imnakul Nov 20, 2026
f7325af
chore(release): v0.5.0
imnakul Nov 20, 2026
71e04f1
docs: trim 0.5.0 public changelog
imnakul Nov 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions CHANGELOG-PUBLIC.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

User-facing changes only, grouped by date under Added / Improved / Fixed.

## 0.5.0 — 2026-11-20

### Added

- Star your favourite screenshots. Hover a screenshot and press the star; it fills in and stays visible. Use the All | Favourites switch at the top of the Screenshots page to see only your favourites.
- Screenshots are now named after the page or app you captured, with the date and time, for example `GitHub - capkit - Google Chrome, Nov 20, 11:52 AM`. Older captures that were all called "CapKit" now show a readable date instead.
- Recordings show a thumbnail of their first frame instead of a black box.
- Copy and favourite buttons have a soft click sound and a gentle press effect. The copy icon turns into a check the moment you press it. Settings switches get the same sound and press effect.
- A new left-hand menu groups your work: Screenshots and Screen record at the top, Showcase under Studio, and Settings at the bottom. A soft highlight glides to whatever you point at.

### Improved

- A fresh glass look across the dashboard: frosted buttons and cards that follow your accent colour in light and dark, Geist and Geist Mono as the fonts everywhere, and one consistent set of icons.
- The custom accent colour can be changed by clicking the swatch, and the CapKit logo and tagline are back on the dashboard.
- Screenshot, recording and note cards are the same size, fill each row evenly and no longer leave an odd gap on the right. Screenshot cards no longer repeat the date twice.
- Notes (now called Page notes) show the title and the website on one line, with a shorter preview.
- Settings content now fades softly under the tabs as you scroll instead of overlapping them.
- The page no longer jumps sideways when you switch between tabs of different length.
- "Record" is now called "Screen record". The minimize, maximize and close buttons are visible in light mode.
- Refresh on the Screenshots page now visibly spins, and the file count is no longer stuck at 200 (up to 1000 are shown).
- Your save folder is now `PicturesCapKit`. If you used the old Snaphub or ShotHub folder, CapKit renames it for you and keeps your files.

## 0.4.0 — 2026-11-20

### Added
Expand All @@ -15,6 +37,8 @@ User-facing changes only, grouped by date under Added / Improved / Fixed.

### Improved

- The dashboard has a calmer look: one accent-tinted palette in light and dark, glass behind the window on Windows 11, consistent page headers, and quieter motion. Settings sections open from anywhere on their row, show their current value while closed, and animate smoothly.

- Press 1–9 and 0 to pick a tool in the capture toolbar, and V for Select. Each button shows its number in the corner, like C, S and A.
- Copy, Save and Copy & Save (C, S, A) now deliver your note when the capture has pins, so the separate note buttons are gone.
- Click a note pin with the Select tool to edit its comment, and drag the pin to move its comment with it.
Expand Down
6 changes: 3 additions & 3 deletions apps/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snaphub/desktop",
"version": "0.4.0",
"version": "0.5.0",
"private": true,
"type": "module",
"scripts": {
Expand All @@ -17,8 +17,8 @@
},
"dependencies": {
"@fontsource-variable/caveat": "5.2.8",
"@fontsource-variable/jetbrains-mono": "5.2.8",
"@fontsource-variable/plus-jakarta-sans": "5.2.8",
"@fontsource-variable/geist": "5.3.0",
"@fontsource-variable/geist-mono": "5.3.0",
"@hugeicons/core-free-icons": "4.2.3",
"@hugeicons/react": "1.1.9",
"@snaphub/devtools-protocol": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions apps/desktop/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "capkit-desktop"
version = "0.4.0"
version = "0.5.0"
description = "CapKit lightweight desktop toolkit to capture, record, and showcase"
authors = ["CapKit"]
edition = "2024"
Expand Down Expand Up @@ -50,7 +50,7 @@ windows = { version = "0.62.2", features = [
"Media_Ocr",
# Package identity and the MSIX startup task (Store build only).
"ApplicationModel", "ApplicationModel_Activation",
"Win32_Foundation", "Win32_System_Com", "Win32_UI_Accessibility",
"Win32_Foundation", "Win32_System_Com", "Win32_System_LibraryLoader", "Win32_UI_Accessibility",
"Win32_UI_Input_KeyboardAndMouse", "Win32_UI_Shell", "Win32_UI_WindowsAndMessaging",
# Recording: a Windows Graphics Capture frame pool onto our own D3D11 device.
"Graphics_Capture", "Graphics_DirectX_Direct3D11",
Expand Down
12 changes: 12 additions & 0 deletions apps/desktop/src-tauri/capabilities/dashboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "dashboard-window",
"description": "Lets the dashboard follow its light/dark toggle and drive its own title bar buttons.",
"windows": ["dashboard"],
"permissions": [
"core:window:allow-set-theme",
"core:window:allow-minimize",
"core:window:allow-toggle-maximize",
"core:window:allow-is-maximized"
]
}
48 changes: 48 additions & 0 deletions apps/desktop/src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,44 @@ fn launched_in_background() -> bool {
})
}

/// Whether the dashboard's blurred backdrop exists on this OS (Windows 11, build
/// 22000 or later). Elsewhere the page keeps an opaque background, because a
/// transparent window without a backdrop would show the desktop through it.
#[tauri::command]
fn dashboard_supports_glass() -> bool {
#[cfg(target_os = "windows")]
{
#[repr(C)]
struct OsVersionInfo {
size: u32,
major: u32,
minor: u32,
build: u32,
platform: u32,
service_pack: [u16; 128],
}
#[link(name = "ntdll")]
unsafe extern "system" {
fn RtlGetVersion(info: *mut OsVersionInfo) -> i32;
}
let mut info = OsVersionInfo {
size: std::mem::size_of::<OsVersionInfo>() as u32,
major: 0,
minor: 0,
build: 0,
platform: 0,
service_pack: [0; 128],
};
// SAFETY: `info` is a correctly sized, writable OSVERSIONINFOW and `size` is set.
let status = unsafe { RtlGetVersion(&mut info) };
status == 0 && info.build >= 22000
}
#[cfg(not(target_os = "windows"))]
{
false
}
}

#[tauri::command]
fn dashboard_ready(
app: AppHandle,
Expand Down Expand Up @@ -2886,6 +2924,7 @@ pub fn run() {
begin_capture,
show_capture_surface,
dashboard_ready,
dashboard_supports_glass,
open_in_showcase,
take_pending_showcase,
on_screen_session,
Expand Down Expand Up @@ -2992,6 +3031,15 @@ pub fn run() {
.set_notes_images_directory(notes.images_directory());
app.manage(notes);

// Frosted glass behind the dashboard. The page asks `dashboard_supports_glass`
// and stays opaque where the blur is unavailable.
#[cfg(target_os = "windows")]
if let Some(window) = app.get_webview_window("dashboard")
&& let Ok(hwnd) = window.hwnd()
{
platform::windows_glass::apply_blur(hwnd.0);
}

if launched_in_background()
&& let Some(window) = app.get_webview_window("dashboard")
{
Expand Down
4 changes: 4 additions & 0 deletions apps/desktop/src-tauri/src/platform/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ pub(crate) mod plugin_startup;
#[cfg(target_os = "windows")]
pub(crate) mod windows_display;
#[cfg(target_os = "windows")]
pub(crate) mod windows_foreground;
#[cfg(target_os = "windows")]
pub(crate) mod windows_glass;
#[cfg(target_os = "windows")]
pub(crate) mod windows_ocr;
#[cfg(target_os = "windows")]
pub(crate) mod windows_recorder;
Expand Down
21 changes: 21 additions & 0 deletions apps/desktop/src-tauri/src/platform/windows_foreground.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
//! Names a capture after what is on screen.

use windows::Win32::UI::WindowsAndMessaging::{GetForegroundWindow, GetWindowTextW};

/// Title of the window that has focus, which for a browser is the page title and
/// for other apps the document and app name. `None` when nothing has focus or the
/// window has no title.
pub(crate) fn foreground_window_title() -> Option<String> {
// SAFETY: both calls only read window state; the buffer outlives the call and its
// length is passed, so Windows cannot write past it.
unsafe {
let window = GetForegroundWindow();
if window.is_invalid() {
return None;
}
let mut buffer = [0_u16; 256];
let length = usize::try_from(GetWindowTextW(window, &mut buffer)).ok()?;
let title = String::from_utf16_lossy(buffer.get(..length)?);
(!title.trim().is_empty()).then_some(title)
}
}
81 changes: 81 additions & 0 deletions apps/desktop/src-tauri/src/platform/windows_glass.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
//! Frosted glass behind the dashboard window.
//!
//! The window is transparent; this asks the compositor to blur whatever sits
//! behind it, and the page paints translucent, accent-tinted surfaces on top.
//! Blurring is done by Windows, so it costs this process nothing per frame.
//!
//! It uses the accent policy (`SetWindowCompositionAttribute`) rather than the
//! documented system backdrop (Mica, or `DWMSBT_TRANSIENTWINDOW` acrylic): those
//! drop to a flat colour whenever the window loses focus, and the dashboard is
//! unfocused whenever the user is capturing. The accent policy keeps blurring
//! regardless, on Windows 10 as well as 11.

use std::ffi::c_void;

use windows::{
Win32::{
Foundation::HWND,
System::LibraryLoader::{GetModuleHandleW, GetProcAddress},
},
core::{BOOL, s, w},
};

/// `WCA_ACCENT_POLICY`.
const ACCENT_POLICY: u32 = 19;
/// `ACCENT_ENABLE_ACRYLICBLURBEHIND`: blur plus the acrylic noise layer.
const ACCENT_ACRYLIC: u32 = 4;
/// `0xAABBGGRR`, nearly clear. The real tint is painted by the page, so a
/// change of accent or theme is a repaint rather than another call here.
const NEARLY_CLEAR_TINT: u32 = 0x10_10_10_10;

#[repr(C)]
struct AccentPolicy {
state: u32,
flags: u32,
gradient: u32,
animation: u32,
}

#[repr(C)]
struct CompositionData {
attribute: u32,
data: *mut c_void,
size: usize,
}

type SetWindowCompositionAttribute = unsafe extern "system" fn(HWND, *mut CompositionData) -> BOOL;

/// Blurs the desktop behind `hwnd`. Returns whether the blur took; when it did
/// not, the page keeps its opaque background.
pub(crate) fn apply_blur(hwnd: *mut c_void) -> bool {
let hwnd = HWND(hwnd);
// SAFETY: `user32.dll` is always loaded in a GUI process. The export is
// undocumented, so it is looked up rather than linked, and the transmute
// matches its long-stable signature
// `BOOL SetWindowCompositionAttribute(HWND, WINDOWCOMPOSITIONATTRIBDATA*)`.
// `policy` and `data` outlive the call.
unsafe {
let Ok(user32) = GetModuleHandleW(w!("user32.dll")) else {
return false;
};
let Some(proc) = GetProcAddress(user32, s!("SetWindowCompositionAttribute")) else {
return false;
};
let set = std::mem::transmute::<
unsafe extern "system" fn() -> isize,
SetWindowCompositionAttribute,
>(proc);
let mut policy = AccentPolicy {
state: ACCENT_ACRYLIC,
flags: 0,
gradient: NEARLY_CLEAR_TINT,
animation: 0,
};
let mut data = CompositionData {
attribute: ACCENT_POLICY,
data: (&raw mut policy).cast::<c_void>(),
size: std::mem::size_of::<AccentPolicy>(),
};
set(hwnd, &mut data).as_bool()
}
}
Loading
Loading