diff --git a/src/serena/dashboard.py b/src/serena/dashboard.py index 7f90d1e2..6b38b38b 100644 --- a/src/serena/dashboard.py +++ b/src/serena/dashboard.py @@ -156,6 +156,7 @@ class SerenaDashboardAPI: project_info = { "name": active_project_name, "language": project.project_config.language.value if project else None, + "path": str(project.project_root) if project else None, } # Get context info diff --git a/src/serena/resources/dashboard/dashboard.js b/src/serena/resources/dashboard/dashboard.js index a5c72de9..e63fdd29 100644 --- a/src/serena/resources/dashboard/dashboard.js +++ b/src/serena/resources/dashboard/dashboard.js @@ -229,7 +229,12 @@ class Dashboard { // Project info html += '
Active Project:
'; - html += '
' + (config.active_project.name || 'None') + '
'; + if (config.active_project.name && config.active_project.path) { + const configPath = config.active_project.path + '/.serena/project.yml'; + html += '
' + config.active_project.name + '
'; + } else { + html += '
' + (config.active_project.name || 'None') + '
'; + } html += '
Language:
'; html += '
' + (config.active_project.language || 'N/A') + '
'; @@ -253,6 +258,12 @@ class Dashboard { html += ''; + // Configuration help link + html += '
'; + html += '📖'; + html += 'View Configuration Guide'; + html += '
'; + // Active tools - collapsible html += '
'; html += '

';