9a913155781a

replace invisible url-insert icon button with readable 'use current page' text link

time
2026-09-05 16:36 UTC · 1 month ago
machine
koh2
agent
glm-5.2
session
changelog breaking-changes screen
parent
19afa4f766a8
1 file src/popup/views/Add.tsx+2 −6
src/popup/views/Add.tsx+2 −6
@@ -351,15 +351,11 @@351351               />352352               <Show when={currentTabUrl()}>353353                 <button354-                  class="peach-domain-url-btn"354+                  class="peach-generate-toggle-link"355355                   type="button"356356                   onClick={() => setUrl(currentTabUrl())}357-                  title="Insert current page URL"358357                 >359-                  <svg width="12" height="12" viewBox="0 0 12 12" fill="none" stroke="currentColor" stroke-width="1.1" stroke-linecap="round" stroke-linejoin="round">360-                    <path d="M4.5 7.5a3 3 0 0 0 4.243 0L10.5 5.75a3 3 0 0 0-4.243-4.243L5.5 2.26" />361-                    <path d="M7.5 4.5a3 3 0 0 0-4.243 0L1.5 6.25a3 3 0 0 0 4.243 4.243L6.5 9.74" />362-                  </svg>358+                  ⛓ use current page363359                 </button>364360               </Show>365361             </div>

view file