Fix/tray single instance and prevent duplicate plan display - #1524
Closed
ArrogHie wants to merge 3 commits into
Closed
Fix/tray single instance and prevent duplicate plan display#1524ArrogHie wants to merge 3 commits into
ArrogHie wants to merge 3 commits into
Annotations
2 errors and 9 warnings
|
Run web UI tests
Process completed with exit code 1.
|
|
Run web UI tests:
src/web-ui/src/app/startup/startupPerformanceContract.test.ts#L203
AssertionError: expected 'pub async fn minimize_to_tray(\n a…' to contain 'crate::tray::setup_tray(&app, &startu…'
- Expected
+ Received
- crate::tray::setup_tray(&app, &startup_trace)
+ pub async fn minimize_to_tray(
+ app: tauri::AppHandle,
+ startup_trace: State<'_, DesktopStartupTrace>,
+ state: State<'_, AppState>,
+ ) -> Result<(), String> {
+ if let Err(error) = crate::tray::setup_tray(&app, &startup_trace, state.is_primary_instance) {
+ log::warn!("Failed to initialize tray before minimizing: {}", error);
+ }
+ if let Some(window) = app.get_webview_window("main") {
+ window.hide().map_err(|e| e.to_string())?;
+ log::info!("Main window minimized to tray via command");
+ }
+ Ok(())
+ }
+
+ /// Initialize the desktop tray after the startup shell has become interactive.
+ #[tauri::command]
+
❯ src/app/startup/startupPerformanceContract.test.ts:203:28
|
|
Lint web UI:
src/web-ui/src/tools/bitfun-canvas/runtime/sdk/types.ts#L101
An interface declaring no members is equivalent to its supertype
|
|
Lint web UI:
src/web-ui/src/tools/bitfun-canvas/runtime/sdk/types.ts#L99
An interface declaring no members is equivalent to its supertype
|
|
Lint web UI:
src/web-ui/src/tools/bitfun-canvas/runtime/sdk/types.ts#L85
An interface declaring no members is equivalent to its supertype
|
|
Lint web UI:
src/web-ui/src/tools/bitfun-canvas/runtime/sdk/types.ts#L83
An interface declaring no members is equivalent to its supertype
|
|
Lint web UI:
src/web-ui/src/tools/bitfun-canvas/runtime/sdk/diagrams.tsx#L25
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
Lint web UI:
src/web-ui/src/tools/bitfun-canvas/runtime/sdk/data-display.tsx#L336
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
Lint web UI:
src/web-ui/src/tools/bitfun-canvas/runtime/CanvasRuntimeApp.tsx#L90
Fast refresh only works when a file only exports components. Move your component(s) to a separate file
|
|
Lint web UI:
src/web-ui/src/tools/bitfun-canvas/runtime/CanvasRuntimeApp.tsx#L64
Fast refresh only works when a file only exports components. Move your component(s) to a separate file
|
|
Lint web UI:
src/web-ui/src/flow_chat/deep-review/launch/commandParser.ts#L309
Unexpected control character(s) in regular expression: \x00
|
background
wait
wait-all
cancel
parallel
Loading