Skip to content

Commit 5c33e6d

Browse files
committed
Add keyboard shortcuts, notifications, accessibility, and PR CI workflow
- Add native app menu with Cmd+Q to quit and Cmd+W to hide to tray - Add macOS notifications for mount/unmount results when window is hidden - Add role="alert" to all error banners for screen reader announcements - Add aria-current="page" to active nav items in sidebar - Add screen reader text for status icons and spinners in MountStatus - Add role="status" to loading indicators in DiskList and MountStatus - Add CI workflow (cargo check + svelte-check) for PRs and main branch
1 parent 3f51333 commit 5c33e6d

22 files changed

Lines changed: 1051 additions & 20 deletions

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
push:
7+
branches: [main]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
check:
14+
runs-on: macos-15
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v6
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v6
22+
with:
23+
node-version: '24'
24+
cache: 'npm'
25+
26+
- name: Setup Rust
27+
uses: dtolnay/rust-toolchain@stable
28+
29+
- name: Install dependencies
30+
run: npm ci
31+
32+
- name: Rust check
33+
run: cd src-tauri && cargo check
34+
35+
- name: Svelte check
36+
run: npx svelte-check

package-lock.json

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@tauri-apps/api": "^2",
1717
"@tauri-apps/plugin-autostart": "^2.5.1",
1818
"@tauri-apps/plugin-log": "^2.8.0",
19+
"@tauri-apps/plugin-notification": "^2.3.3",
1920
"@tauri-apps/plugin-process": "^2.3.1",
2021
"@tauri-apps/plugin-shell": "^2.3.5",
2122
"@xterm/addon-fit": "^0.11.0",

0 commit comments

Comments
 (0)