From 111458c1e39e0dcbec8c81193463534c4fc2a50b Mon Sep 17 00:00:00 2001 From: rupesh-kumar-sah Date: Wed, 7 Oct 2026 23:30:30 +0545 Subject: [PATCH] feat(workspaces): show import source, linked URL, indexed-at timestamp, and error hints - Display source type badge and linked external source URL - Include default branch tag and indexed-at timestamp when present - Retain stored failure error message with actionable retry guidance Closes #92 --- app/templates/workspaces/project.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/app/templates/workspaces/project.html b/app/templates/workspaces/project.html index d0b4742..b88b3ba 100644 --- a/app/templates/workspaces/project.html +++ b/app/templates/workspaces/project.html @@ -11,10 +11,25 @@

/ {{ project.name }}

- {{ project.source }}{% if project.source_url %} · {{ project.source_url }}{% endif %} + {{ project.source }} + {% if project.source_url %} + · {% if project.source_url.startswith('http://') or project.source_url.startswith('https://') %} + {{ project.source_url }} + {% else %} + {{ project.source_url }} + {% endif %} + {% endif %} + {% if project.default_branch %} · branch: {{ project.default_branch }}{% endif %} · {{ project.status }} + {% if project.indexed_at %} · Indexed {% endif %} {% if project.status == 'ready' %} · {{ project.file_count }} files{% endif %}

+ {% if project.status == 'failed' %} +
+ Import failed: {{ project.error_message or "An unexpected error occurred during import." }} + Hint: Check your repository URL, branch name, or archive contents, then click Refresh or re-import the project. +
+ {% endif %}
{% if project.status != 'indexing' %}