OverviewFilesCommitsIssuesDocsReleasesPeers

godot-keet commits / 84e79dd

Category back, tooltip 50ms, mindmap default, version display
- Restore Category view mode in group bar - Tooltip delay 50ms (was 300ms) - Graph panel defaults to mindmap:category - Identity bar shows daemon version in tooltip - CI writes build timestamp to version.txt (v190-20260223-0930) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
84e79dd8d51d7c7f74a87fbd6172b0144fea45c1
by plankatron <fleeky@gmail.com> · 2026-02-23T14:35:02.000Z

Changed files (5) +31 -4

.pear-git/ci.yaml +2 -1
……@@ -2,7 +2,8 @@ steps:
22 - name: write-version
33 run: |
44 VERSION=$(git rev-list --count HEAD)
5 echo "v${VERSION}" > version.txt
5 BUILD_TS=$(date -u +%Y%m%d-%H%M)
6 echo "v${VERSION}-${BUILD_TS}" > version.txt
67 # Bump package.json version so pear-runtime detects updates
78 sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"0.${VERSION}.0\"/" package.json
89 - name: export-godot
project.godot +1 -1
……@@ -34,7 +34,7 @@ gdscript/warnings/unsafe_call_argument=1
3434
3535[gui]
3636
37timers/tooltip_delay_sec=0.3
37timers/tooltip_delay_sec=0.05
3838
3939[rendering]
4040
scripts/graph_panel.gd +12 -1
……@@ -60,9 +60,20 @@ func _ready() -> void:
6060 algo_btn.add_item("Default", 0)
6161 for i: int in ALGO_PRESETS.size():
6262 algo_btn.add_item(ALGO_PRESETS[i]["name"], i + 1)
63 algo_btn.selected = 0
6463 algo_btn.item_selected.connect(_on_algo_selected)
6564
65 # Default to mindmap:category (more readable than force-directed)
66 var mindmap_idx: int = -1
67 for i: int in ALGO_PRESETS.size():
68 if ALGO_PRESETS[i]["name"] == "mindmap:category":
69 mindmap_idx = i
70 break
71 if mindmap_idx >= 0:
72 algo_btn.selected = mindmap_idx + 1
73 _selected_algo = ALGO_PRESETS[mindmap_idx]
74 else:
75 algo_btn.selected = 0
76
6677 title_label.text = "Graph"
6778
6879 # Initial fetch
scripts/group_bar.gd +1 -0
……@@ -26,6 +26,7 @@ const VIEW_MODES: Array[Dictionary] = [
2626 {"label": "Groups", "algo": {}},
2727 {"label": "People", "algo": {"name": "people", "features": [{"type": "size", "weight": 1.0}], "threshold": 0.1, "minSize": 2}},
2828 {"label": "Topics", "algo": {"name": "topics", "features": [{"type": "topics", "weight": 1.0}], "threshold": 0.3, "minSize": 2}},
29 {"label": "Category", "algo": {"name": "category", "features": [{"type": "category", "weight": 1.0}], "threshold": 0.1, "minSize": 2}},
2930 {"label": "Activity", "algo": {"name": "activity", "features": [{"type": "activity", "weight": 1.0}], "threshold": 0.1, "minSize": 2}},
3031]
3132
scripts/identity_bar.gd +15 -1
……@@ -7,6 +7,7 @@ extends PanelContainer
77
88var _manager_panel: Window = null
99var _app_version: String = "dev"
10var _daemon_version: String = ""
1011
1112
1213func _ready() -> void:
……@@ -41,6 +42,12 @@ func _on_daemon_status(status: String) -> void:
4142func _on_connected() -> void:
4243 _set_status("green", "")
4344 KeetService.identity.get_identity()
45 # Fetch daemon version from status RPC
46 KeetService.client.call_rpc("status", {}, func(result: Variant, _err: Variant) -> void:
47 if result is Dictionary:
48 _daemon_version = str(result.get("daemonVersion", ""))
49 _update_version_display()
50 )
4451
4552
4653func _on_disconnected() -> void:
……@@ -54,7 +61,14 @@ func _on_identity(ident: Dictionary) -> void:
5461 if display_name.length() > 12:
5562 display_name = display_name.substr(0, 12) + "..."
5663 name_label.text = "%s [%s]" % [display_name, _app_version]
57 name_label.tooltip_text = "godot-keet %s" % _app_version
64 _update_version_display()
65
66
67func _update_version_display() -> void:
68 var tip: String = "app %s" % _app_version
69 if _daemon_version != "":
70 tip += " | daemon %s" % _daemon_version
71 name_label.tooltip_text = tip
5872
5973
6074func _set_status(color: String, message: String) -> void: