diff --git a/static/js/research/panel.js b/static/js/research/panel.js
index 3abf75fb1..8861dfddf 100644
--- a/static/js/research/panel.js
+++ b/static/js/research/panel.js
@@ -366,20 +366,13 @@ function _buildPanelHTML() {
-
Research
+
Research
Multi-step web research with an LLM-in-the-loop agent
- — past runs in
+ — past runs in
-
-
-
-
-
-
-
@@ -787,6 +780,21 @@ function _renderJobs() {
+ ''
+ ''
+ '';
+ if (key === 'past') {
+ const hint = document.createElement('span');
+ hint.className = 'research-library-hint';
+ hint.innerHTML = 'Multi-step web research with an LLM-in-the-loop agent ';
+ hint.querySelector('.research-library-link').addEventListener('click', (e) => {
+ e.stopPropagation();
+ // Close the research panel first so the Library opens ABOVE it on mobile
+ // (otherwise it stacks under the full-screen panel).
+ closePanel();
+ if (window.documentModule && window.documentModule.openLibrary) {
+ window.documentModule.openLibrary({ tab: 'research' });
+ }
+ });
+ header.appendChild(hint);
+ }
header.addEventListener('click', () => {
const nowCollapsed = sec.classList.toggle('collapsed');
if (nowCollapsed) _collapsedSections.add(key); else _collapsedSections.delete(key);
@@ -803,27 +811,6 @@ function _renderJobs() {
});
const body = document.createElement('div');
body.className = 'research-section-body';
- // Past Research header: link goes INLINE next to the title instead
- // of on a second row. Append it to the title span as a small chip.
- if (key === 'past') {
- const titleEl = header.querySelector('.research-section-title');
- if (titleEl) {
- const hint = document.createElement('span');
- hint.className = 'research-library-hint research-library-hint-inline';
- hint.style.cssText = 'margin-left:8px;font-size:10.5px;opacity:0.65;font-weight:normal;';
- hint.innerHTML = '— all in ';
- hint.querySelector('.research-library-link').addEventListener('click', (e) => {
- e.stopPropagation();
- // Close the research panel first so the Library opens ABOVE it on mobile
- // (otherwise it stacks under the full-screen panel).
- closePanel();
- if (window.documentModule && window.documentModule.openLibrary) {
- window.documentModule.openLibrary({ tab: 'research' });
- }
- });
- titleEl.appendChild(hint);
- }
- }
arr.forEach(j => body.appendChild(_buildJobCard(j)));
sec.appendChild(header);
sec.appendChild(body);
@@ -1014,9 +1001,9 @@ function _buildJobCard(job) {