Reconcile the new Prompts icon with the latest shared navigation update

Hop-State: A_06FN70N4H5GHEPN2J1H0MJR
Hop-Proposal: R_06FN70KCN1YVY92ZHPYBP3R
Hop-Task: T_06FN6VQDZET3E5FH6B4D4N8
Hop-Attempt: AT_06FN70A6M65ZVCJ8K8D7TJ0
This commit is contained in:
Hop
2026-07-11 16:28:18 -07:00
parent a472191bad
commit 57ced914be
7 changed files with 81 additions and 4 deletions
@@ -10,7 +10,7 @@
"metadata": {
"source_tree": "52af5215fd39264d091a5b5845e03dd555e725de",
"git_commit": "dfadc6717580793891db495e5729d98511dd0fed",
"attempt_head": "P_06FN6VQDZFJ89DSE4820W98",
"attempt_head": "P_06FN6ZY23MT9R7JTGM9BTMR",
"attempt_head_kind": "prompt"
}
}
@@ -0,0 +1,16 @@
{
"id": "P_06FN6WQYKZQT1JJFQBJFJER",
"task_id": "T_06FN6VQDZET3E5FH6B4D4N8",
"attempt_id": "AT_06FN6VQDZFXVAK8NJXBZ8H0",
"state_id": "P_06FN6WQYKZQT1JJFQBJFJER",
"prompt": "the credential is in my mac os keychain",
"agent_name": "codex",
"status": "active",
"created_at": "2026-07-11T23:11:13.055531Z",
"metadata": {
"source_tree": "52af5215fd39264d091a5b5845e03dd555e725de",
"git_commit": "761432f96e2ebfabbb5d5529bfcd4c4353e27d99",
"attempt_head": "P_06FN6ZY23MT9R7JTGM9BTMR",
"attempt_head_kind": "prompt"
}
}
@@ -0,0 +1,16 @@
{
"id": "P_06FN6X888F2XCVJN4C3KMTR",
"task_id": "T_06FN6VQDZET3E5FH6B4D4N8",
"attempt_id": "AT_06FN6VQDZFXVAK8NJXBZ8H0",
"state_id": "P_06FN6X888F2XCVJN4C3KMTR",
"prompt": "its called githop-release-token",
"agent_name": "codex",
"status": "active",
"created_at": "2026-07-11T23:13:26.595875Z",
"metadata": {
"source_tree": "52af5215fd39264d091a5b5845e03dd555e725de",
"git_commit": "f4386318554c8969e5a00f7a1b655a5743c9e412",
"attempt_head": "P_06FN6ZY23MT9R7JTGM9BTMR",
"attempt_head_kind": "prompt"
}
}
@@ -0,0 +1,16 @@
{
"id": "P_06FN6ZY23MT9R7JTGM9BTMR",
"task_id": "T_06FN6VQDZET3E5FH6B4D4N8",
"attempt_id": "AT_06FN6VQDZFXVAK8NJXBZ8H0",
"state_id": "P_06FN6ZY23MT9R7JTGM9BTMR",
"prompt": "can we choose a different icon for the prompts tab. its using the same as tasks",
"agent_name": "codex",
"status": "active",
"created_at": "2026-07-11T23:25:09.533475Z",
"metadata": {
"source_tree": "52af5215fd39264d091a5b5845e03dd555e725de",
"git_commit": "657bc3cef08a240134f7e64900ecedbcfdf558a4",
"attempt_head": "P_06FN6ZY23MT9R7JTGM9BTMR",
"attempt_head_kind": "prompt"
}
}
@@ -0,0 +1,17 @@
{
"id": "P_06FN70A6M7ZW50T52HXH3DR",
"task_id": "T_06FN6VQDZET3E5FH6B4D4N8",
"attempt_id": "AT_06FN70A6M65ZVCJ8K8D7TJ0",
"state_id": "P_06FN70A6M7ZW50T52HXH3DR",
"prompt": "Resolve proposal R_06FN7084GN5GMBHX5WCP5YG (Give the Prompts navigation tab a distinct prompt-bubble icon) against accepted state A_06FN6YW9ZERA9DGEPBNNXX8 (Force the latest Prompts client to load after partial-page navigation). Preserve both compatible intents. Inspect both input states for structural, delete/rename, mode, symlink, or binary conflicts that may have no text markers; resolve every conflict intentionally, remove all merge markers, run hop check, propose the result, and land it without asking the user to coordinate the merge. Conflict candidates: .hop/records/prompts/P_06FN6VQDZFJ89DSE4820W98.json, deploy/gitea/templates/custom/footer.tmpl",
"agent_name": "codex",
"status": "reconciling",
"response_summary": "hop-reconciliation-conflicts:[\".hop/records/prompts/P_06FN6VQDZFJ89DSE4820W98.json\",\"deploy/gitea/templates/custom/footer.tmpl\"]",
"created_at": "2026-07-11T23:26:48.993725Z",
"metadata": {
"source_tree": "48a0ecdbb41a845a70f061b183565ab15ae21ad3",
"git_commit": "cc9878066ed488dd3a54f349d87d98345262ccb5",
"attempt_head": "P_06FN70A6M7ZW50T52HXH3DR",
"attempt_head_kind": "prompt"
}
}
+14 -2
View File
@@ -106,6 +106,19 @@
return new URLSearchParams(window.location.search).get('hop') === 'prompts';
}
function promptsIcon() {
const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
svg.setAttribute('viewBox', '0 0 16 16');
svg.setAttribute('width', '16');
svg.setAttribute('height', '16');
svg.setAttribute('aria-hidden', 'true');
const path = document.createElementNS('http://www.w3.org/2000/svg', 'path');
path.setAttribute('fill', 'currentColor');
path.setAttribute('d', 'M2 2.75A1.75 1.75 0 0 1 3.75 1h8.5A1.75 1.75 0 0 1 14 2.75v6.5A1.75 1.75 0 0 1 12.25 11H7.6l-2.82 2.1A.5.5 0 0 1 4 12.7V11h-.25A1.75 1.75 0 0 1 2 9.25Zm1.75-.75a.75.75 0 0 0-.75.75v6.5c0 .414.336.75.75.75H4.5a.5.5 0 0 1 .5.5v1.2l2.15-1.6A.5.5 0 0 1 7.45 10h4.8a.75.75 0 0 0 .75-.75v-6.5a.75.75 0 0 0-.75-.75Z');
svg.append(path);
return svg;
}
function addPromptsNavigation() {
const navigation = repoNavigation();
const tasks = navigationLink('/issues');
@@ -117,8 +130,7 @@
link = document.createElement('a');
link.className = tasks.className;
link.classList.add('hop-native-prompts-tab');
const icon = tasks.querySelector('svg');
if (icon) link.append(icon.cloneNode(true));
link.append(promptsIcon());
link.append(document.createTextNode(' Prompts'));
navigation.insertBefore(link, tasks);
}
+1 -1
View File
@@ -1,3 +1,3 @@
<link rel="stylesheet" href="{{AssetUrlPrefix}}/css/hop-home.css?v=4">
<link rel="stylesheet" href="{{AssetUrlPrefix}}/css/hop-prompts.css?v=1">
<script src="{{AssetUrlPrefix}}/js/hop-native-v12.js?v=1"></script>
<script src="{{AssetUrlPrefix}}/js/hop-native.js?v=12"></script>