feat(quick-pane): promote chats into full sessions

This commit is contained in:
2026-08-28 13:43:49 +02:00
parent b44b1be4b7
commit 0eb163b6c4
11 changed files with 149 additions and 95 deletions
+4 -4
View File
@@ -334,7 +334,7 @@ fn quick_pane_height(height: f64) -> Result<f64, String> {
if !height.is_finite() {
return Err("Quick Pane height must be finite".to_owned());
}
Ok(height.clamp(240.0, 520.0))
Ok(height.clamp(360.0, 520.0))
}
#[tauri::command]
@@ -891,9 +891,9 @@ mod tests {
.unwrap();
assert_eq!(quick_pane.width, 640.0);
assert_eq!(quick_pane.height, 240.0);
assert_eq!(quick_pane.height, 360.0);
assert_eq!(quick_pane.min_width, Some(520.0));
assert_eq!(quick_pane.min_height, Some(240.0));
assert_eq!(quick_pane.min_height, Some(360.0));
assert_eq!(quick_pane.url.to_string(), "index.html");
assert!(!quick_pane.visible);
assert!(quick_pane.transparent);
@@ -903,7 +903,7 @@ mod tests {
#[test]
fn quick_pane_height_stays_within_content_limit() {
assert_eq!(quick_pane_height(200.0), Ok(240.0));
assert_eq!(quick_pane_height(200.0), Ok(360.0));
assert_eq!(quick_pane_height(420.0), Ok(420.0));
assert_eq!(quick_pane_height(900.0), Ok(520.0));
}
+2 -2
View File
@@ -29,9 +29,9 @@
"label": "quick-pane",
"title": "Pi Quick Pane",
"width": 640,
"height": 240,
"height": 360,
"minWidth": 520,
"minHeight": 240,
"minHeight": 360,
"center": true,
"visible": false,
"decorations": false,