fix(jetbrains): resolve revert tooltip fallback

This commit is contained in:
kirillk
2026-08-04 10:50:03 -04:00
parent 6414e64b29
commit bfab19c047
6 changed files with 2 additions and 22 deletions
-5
View File
@@ -1,5 +0,0 @@
---
"@kilocode/kilo-jetbrains": patch
---
Update the JetBrains reasoning block icon to a lightbulb shape.
@@ -1,5 +0,0 @@
---
"@kilocode/kilo-jetbrains": patch
---
Render multi-hunk modified-file diffs correctly in the JetBrains diff viewer.
+1 -1
View File
@@ -2,4 +2,4 @@
"@kilocode/kilo-jetbrains": patch
---
Show reverted-card diff actions inline with the session header and open rolled-back changes in the diff viewer.
Improve JetBrains session transcript layout, icons, reverted-change summaries, and multi-hunk diff rendering.
@@ -1,5 +0,0 @@
---
"@kilocode/kilo-jetbrains": patch
---
Show the rolled-back file list when reopening a session whose last message was reverted.
-5
View File
@@ -1,5 +0,0 @@
---
"@kilocode/kilo-jetbrains": patch
---
Sharpen the chat message copy icon in JetBrains.
@@ -198,7 +198,7 @@ class RevertBanner(
val root = model.session?.directory
?.takeIf { it.isNotBlank() }
?.let { runCatching { Path.of(it) }.getOrNull() }
return (root?.resolve(path) ?: path.toAbsolutePath()).normalize().toString()
return root?.resolve(path)?.normalize()?.toString() ?: file
}
/** Height that fits at most [MAX_FILE_ROWS] rows, or 0 when the list is short enough to show in full. */