feat: add character avatars with upload and zoom functionality

- Add avatar upload with file picker dialog
- Display avatars in header, chat messages, and settings
- Implement clickable avatars with full-screen zoom modal
- Enable asset protocol for local file access in Tauri config
- Add tauri-plugin-dialog for native file selection
- Store avatars in ~/.config/claudia/avatars/
- Support PNG, JPG, JPEG, and WEBP formats
- Modal closes on overlay click or ESC key
This commit is contained in:
2025-10-13 18:49:34 -07:00
parent 6a8f1e0996
commit 90bbeb4468
7 changed files with 595 additions and 5 deletions

View File

@@ -24,7 +24,11 @@
}
],
"security": {
"csp": null
"csp": null,
"assetProtocol": {
"enable": true,
"scope": ["$HOME/.config/claudia/**"]
}
}
},
"bundle": {