{
+ hoveredLabelGroupId = null
if (!popoverOpen && !actionBarHovered && !editingSummary) {
hideTimeout = setTimeout(() => {
visibleGroup = undefined
@@ -182,9 +189,33 @@
}
}}
>
-
- {group.summary || 'Group'}
-
+ {#if editingGroupId === group.id}
+
commitSummary(group.id)}
+ onkeydown={(e) => {
+ if (e.key === 'Enter') commitSummary(group.id)
+ if (e.key === 'Escape') {
+ editingGroupId = null
+ }
+ }}
+ autofocus
+ />
+ {:else}
+
+ {group.summary || 'Group'}
+
+ {#if editMode && hoveredLabelGroupId === group.id}
+
+ {/if}
+ {/if}