From 077035fa84d8515d1b9e858b8555992ba3f13ad5 Mon Sep 17 00:00:00 2001 From: Hop Date: Sat, 11 Jul 2026 18:56:15 -0700 Subject: [PATCH] Publish GitHop prompt records and space the Prompts tab label Hop-State: A_06FN82GSYZVJMDTTZ3Q0NBG Hop-Proposal: R_06FN82F935KCS76N3W8G61R Hop-Task: T_06FN81VCJ19AK73YNFEFK3R Hop-Attempt: AT_06FN81VCJ2T1EHWHQTR0TX0 --- .../prompts/P_06FN81VCJ1XX2PT0S6HF180.json | 17 +++++++++++++++++ deploy/gitea/install-hop-native.sh | 3 +++ deploy/gitea/public/assets/css/hop-prompts.css | 4 ++++ deploy/gitea/public/assets/js/hop-native.js | 2 +- deploy/gitea/templates/custom/footer.tmpl | 4 ++-- 5 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 .hop/records/prompts/P_06FN81VCJ1XX2PT0S6HF180.json diff --git a/.hop/records/prompts/P_06FN81VCJ1XX2PT0S6HF180.json b/.hop/records/prompts/P_06FN81VCJ1XX2PT0S6HF180.json new file mode 100644 index 0000000..b1e0e68 --- /dev/null +++ b/.hop/records/prompts/P_06FN81VCJ1XX2PT0S6HF180.json @@ -0,0 +1,17 @@ +{ + "id": "P_06FN81VCJ1XX2PT0S6HF180", + "task_id": "T_06FN81VCJ19AK73YNFEFK3R", + "attempt_id": "AT_06FN81VCJ2T1EHWHQTR0TX0", + "state_id": "P_06FN81VCJ1XX2PT0S6HF180", + "prompt": "# Files mentioned by the user:\n\n## Screenshot 2026-07-11 at 6.52.26 PM.png: /var/folders/58/b6yn15tx3jb7_6lw9m67f89m0000gn/T/TemporaryItems/NSIRD_screencaptureui_WwfSmM/Screenshot 2026-07-11 at 6.52.26 PM.png\n\n## My request for Codex:\nwhy arent the prompts for githop showing in the repos prompts tab? also there needs to be a space between the icon and the word prompts", + "agent_name": "codex", + "status": "proposed", + "response_summary": "Publish GitHop prompt records and space the Prompts tab label", + "created_at": "2026-07-12T01:53:20.528796Z", + "metadata": { + "source_tree": "065792a07e78097e9cdf367663fc990f7fe5abe0", + "git_commit": "11b75c76650e3b91f97836b065953ac0c0d03be7", + "attempt_head": "C_06FN82CSESVQ54SPK1H3X4G", + "attempt_head_kind": "checkpoint" + } +} diff --git a/deploy/gitea/install-hop-native.sh b/deploy/gitea/install-hop-native.sh index 7c0018e..1e9ff41 100755 --- a/deploy/gitea/install-hop-native.sh +++ b/deploy/gitea/install-hop-native.sh @@ -32,6 +32,9 @@ docker compose --env-file "$env_file" cp \ docker compose --env-file "$env_file" cp \ deploy/gitea/public/assets/js/hop-native.js \ gitea:/data/gitea/public/assets/js/hop-native-v13.js +docker compose --env-file "$env_file" cp \ + deploy/gitea/public/assets/js/hop-native.js \ + gitea:/data/gitea/public/assets/js/hop-native-v14.js docker compose --env-file "$env_file" cp \ deploy/gitea/public/assets/css/hop-home.css \ gitea:/data/gitea/public/assets/css/hop-home.css diff --git a/deploy/gitea/public/assets/css/hop-prompts.css b/deploy/gitea/public/assets/css/hop-prompts.css index f91da2c..df6797b 100644 --- a/deploy/gitea/public/assets/css/hop-prompts.css +++ b/deploy/gitea/public/assets/css/hop-prompts.css @@ -1,3 +1,7 @@ +.hop-native-prompts-tab svg { + margin-right: 0.4rem; +} + .hop-prompts { margin: 0 auto; max-width: 1080px; diff --git a/deploy/gitea/public/assets/js/hop-native.js b/deploy/gitea/public/assets/js/hop-native.js index 0cdf841..3987f48 100644 --- a/deploy/gitea/public/assets/js/hop-native.js +++ b/deploy/gitea/public/assets/js/hop-native.js @@ -131,7 +131,7 @@ link.className = tasks.className; link.classList.add('hop-native-prompts-tab'); link.append(promptsIcon()); - link.append(document.createTextNode(' Prompts')); + link.append(document.createTextNode('Prompts')); navigation.insertBefore(link, tasks); } link.href = href; diff --git a/deploy/gitea/templates/custom/footer.tmpl b/deploy/gitea/templates/custom/footer.tmpl index 90711ef..610e7b3 100644 --- a/deploy/gitea/templates/custom/footer.tmpl +++ b/deploy/gitea/templates/custom/footer.tmpl @@ -1,3 +1,3 @@ - - + +