Fix tmux popup title flag for service logs feature
All checks were successful
Build and Release / build-and-release (push) Successful in 1m47s

Fix journalctl popup that was failing with 'can't find session' error:

Issue Resolution:
- Change tmux display-popup flag from -t to -T for setting popup title
- -t flag was incorrectly trying to target a session named 'Logs: servicename'
- -T flag correctly sets the popup window title

The J key (Shift+j) service logs feature now works properly, opening
an 80% tmux popup with journalctl -f for real-time log viewing.

Bump version to v0.1.49
This commit is contained in:
Christoffer Martinsson 2025-10-30 12:42:58 +01:00
parent 4f4c3b0d6e
commit 1b64fbde3d
5 changed files with 7 additions and 7 deletions

6
Cargo.lock generated
View File

@ -270,7 +270,7 @@ checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d"
[[package]] [[package]]
name = "cm-dashboard" name = "cm-dashboard"
version = "0.1.47" version = "0.1.48"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"chrono", "chrono",
@ -291,7 +291,7 @@ dependencies = [
[[package]] [[package]]
name = "cm-dashboard-agent" name = "cm-dashboard-agent"
version = "0.1.47" version = "0.1.48"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-trait", "async-trait",
@ -314,7 +314,7 @@ dependencies = [
[[package]] [[package]]
name = "cm-dashboard-shared" name = "cm-dashboard-shared"
version = "0.1.47" version = "0.1.48"
dependencies = [ dependencies = [
"chrono", "chrono",
"serde", "serde",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "cm-dashboard-agent" name = "cm-dashboard-agent"
version = "0.1.48" version = "0.1.49"
edition = "2021" edition = "2021"
[dependencies] [dependencies]

View File

@ -1,6 +1,6 @@
[package] [package]
name = "cm-dashboard" name = "cm-dashboard"
version = "0.1.48" version = "0.1.49"
edition = "2021" edition = "2021"
[dependencies] [dependencies]

View File

@ -301,7 +301,7 @@ ssh -tt {}@{} 'bash -ic {}'",
.arg("80%") .arg("80%")
.arg("-h") .arg("-h")
.arg("80%") .arg("80%")
.arg("-t") .arg("-T")
.arg(format!("Logs: {}", service_name)) .arg(format!("Logs: {}", service_name))
.arg(&journalctl_command) .arg(&journalctl_command)
.spawn() .spawn()

View File

@ -1,6 +1,6 @@
[package] [package]
name = "cm-dashboard-shared" name = "cm-dashboard-shared"
version = "0.1.48" version = "0.1.49"
edition = "2021" edition = "2021"
[dependencies] [dependencies]