claude-code-kanban 7.35.0 → 7.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/app.js +78 -75
- package/public/index.html +7 -1
- package/public/style.css +10 -10
package/package.json
CHANGED
package/public/app.js
CHANGED
|
@@ -2255,6 +2255,7 @@ function showPinnedSessions(added) {
|
|
|
2255
2255
|
const known = new Set(sessions.map((s) => s.id));
|
|
2256
2256
|
if (added.some((id) => !known.has(id))) fetchSessions(false);
|
|
2257
2257
|
else renderSessions();
|
|
2258
|
+
updatePinBtnsState();
|
|
2258
2259
|
}
|
|
2259
2260
|
|
|
2260
2261
|
function sendPinChange(sessionId) {
|
|
@@ -2283,40 +2284,43 @@ function clearSessionPin(sessionId) {
|
|
|
2283
2284
|
deferredPinPlacement.delete(sessionId);
|
|
2284
2285
|
}
|
|
2285
2286
|
|
|
2286
|
-
|
|
2287
|
+
// A sticky that `session open` added is only this page's, so only an unpin drops it.
|
|
2288
|
+
function putSessionPin(sessionId, state) {
|
|
2289
|
+
const opened = openedStickyIds.has(sessionId);
|
|
2287
2290
|
clearSessionPin(sessionId);
|
|
2291
|
+
if (state === 'none') return;
|
|
2292
|
+
pinnedSessionIds.add(sessionId);
|
|
2293
|
+
if (state === 'sticky') stickySessionIds.add(sessionId);
|
|
2294
|
+
else if (opened) {
|
|
2295
|
+
stickySessionIds.add(sessionId);
|
|
2296
|
+
openedStickyIds.add(sessionId);
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
function setSessionPinState(sessionId, state) {
|
|
2301
|
+
putSessionPin(sessionId, state);
|
|
2302
|
+
if (state === 'sticky' && sessionId === currentSessionId) deferredPinPlacement.add(sessionId);
|
|
2288
2303
|
sendPinChange(sessionId);
|
|
2289
2304
|
renderSessions();
|
|
2305
|
+
updatePinBtnsState();
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
function unpinSession(sessionId) {
|
|
2309
|
+
setSessionPinState(sessionId, 'none');
|
|
2290
2310
|
}
|
|
2291
2311
|
|
|
2292
2312
|
function toggleSessionPin(sessionId) {
|
|
2293
|
-
|
|
2294
|
-
pinnedSessionIds.add(sessionId);
|
|
2295
|
-
sendPinChange(sessionId);
|
|
2296
|
-
renderSessions();
|
|
2313
|
+
setSessionPinState(sessionId, pinnedSessionIds.has(sessionId) ? 'none' : 'pinned');
|
|
2297
2314
|
}
|
|
2298
2315
|
|
|
2299
2316
|
function toggleSessionSticky(sessionId) {
|
|
2300
|
-
|
|
2301
|
-
clearSessionPin(sessionId);
|
|
2302
|
-
} else {
|
|
2303
|
-
pinnedSessionIds.add(sessionId);
|
|
2304
|
-
stickySessionIds.add(sessionId);
|
|
2305
|
-
if (sessionId === currentSessionId) deferredPinPlacement.add(sessionId);
|
|
2306
|
-
}
|
|
2307
|
-
sendPinChange(sessionId);
|
|
2308
|
-
renderSessions();
|
|
2317
|
+
setSessionPinState(sessionId, stickySessionIds.has(sessionId) ? 'none' : 'sticky');
|
|
2309
2318
|
}
|
|
2310
2319
|
|
|
2311
2320
|
// The echo of this page's own change is a no-op, so the selected session keeps its deferred place.
|
|
2312
2321
|
function handleSessionPinEvent({ id, state }) {
|
|
2313
2322
|
if (!id || getSessionPinState(id, { saved: true }) === state) return;
|
|
2314
|
-
|
|
2315
|
-
if (state === 'pinned') pinnedSessionIds.add(id);
|
|
2316
|
-
if (state === 'sticky') {
|
|
2317
|
-
pinnedSessionIds.add(id);
|
|
2318
|
-
stickySessionIds.add(id);
|
|
2319
|
-
}
|
|
2323
|
+
putSessionPin(id, state);
|
|
2320
2324
|
showPinnedSessions(isAnyPinned(id) ? [id] : []);
|
|
2321
2325
|
}
|
|
2322
2326
|
|
|
@@ -2816,10 +2820,12 @@ function createResizeGrip({ onReset, ...drag }) {
|
|
|
2816
2820
|
|
|
2817
2821
|
const MODAL_ZOOM_KEY = 'modal-zoom';
|
|
2818
2822
|
const SHOW_ZOOM_KEY = 'show-zoom';
|
|
2823
|
+
const URL_ZOOM_KEY = 'url-zoom';
|
|
2819
2824
|
const ZOOM_MIN = 0.7;
|
|
2820
2825
|
const ZOOM_MAX = 2.0;
|
|
2821
2826
|
let modalZoom = readZoom(MODAL_ZOOM_KEY);
|
|
2822
2827
|
let showZoom = readZoom(SHOW_ZOOM_KEY);
|
|
2828
|
+
let urlZoom = readZoom(URL_ZOOM_KEY);
|
|
2823
2829
|
|
|
2824
2830
|
function clampZoom(v) {
|
|
2825
2831
|
return Math.min(ZOOM_MAX, Math.max(ZOOM_MIN, v));
|
|
@@ -2833,10 +2839,6 @@ function zoomLabel(z) {
|
|
|
2833
2839
|
return `${Math.round(z * 100)}%`;
|
|
2834
2840
|
}
|
|
2835
2841
|
|
|
2836
|
-
function modalZoomLabel() {
|
|
2837
|
-
return zoomLabel(modalZoom);
|
|
2838
|
-
}
|
|
2839
|
-
|
|
2840
2842
|
// delta 0 resets to 100%. At a limit it returns z as is; else it saves and toasts the new zoom.
|
|
2841
2843
|
function stepZoom(z, delta, key, label) {
|
|
2842
2844
|
const next = delta === 0 ? 1 : clampZoom(Math.round((z + delta) * 10) / 10);
|
|
@@ -2848,8 +2850,7 @@ function stepZoom(z, delta, key, label) {
|
|
|
2848
2850
|
|
|
2849
2851
|
function applyModalZoom() {
|
|
2850
2852
|
document.documentElement.style.setProperty('--modal-zoom', String(modalZoom));
|
|
2851
|
-
|
|
2852
|
-
postToShowFrames(() => ({ type: `${SHOW_MSG}zoom`, z: modalZoom }), document.querySelectorAll(PANE_SHOW_FRAMES));
|
|
2853
|
+
postToShowFrames(() => ({ type: `${SHOW_MSG}zoom`, z: modalZoom }), document.querySelectorAll(TEXT_ZOOM_FRAMES));
|
|
2853
2854
|
}
|
|
2854
2855
|
|
|
2855
2856
|
function adjustModalZoom(delta) {
|
|
@@ -2857,6 +2858,17 @@ function adjustModalZoom(delta) {
|
|
|
2857
2858
|
applyModalZoom();
|
|
2858
2859
|
}
|
|
2859
2860
|
|
|
2861
|
+
// URL and app panes keep their own zoom: a web page wants another scale than the board's text.
|
|
2862
|
+
function applyUrlZoom() {
|
|
2863
|
+
document.documentElement.style.setProperty('--url-zoom', String(urlZoom));
|
|
2864
|
+
for (const el of document.querySelectorAll('.pane-zoom-val')) el.textContent = zoomLabel(urlZoom);
|
|
2865
|
+
}
|
|
2866
|
+
|
|
2867
|
+
function adjustUrlZoom(delta) {
|
|
2868
|
+
urlZoom = stepZoom(urlZoom, delta, URL_ZOOM_KEY, 'Page');
|
|
2869
|
+
applyUrlZoom();
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2860
2872
|
// The show card above the terminal keeps its own text zoom: it sits beside a pane, so one
|
|
2861
2873
|
// shared scale would resize both.
|
|
2862
2874
|
function applyShowZoom() {
|
|
@@ -2885,7 +2897,9 @@ function zoomTarget() {
|
|
|
2885
2897
|
if (isAnyModalOpen()) return isZoomableModalOpen() ? adjustModalZoom : null;
|
|
2886
2898
|
if (isAskOnScreen()) return adjustModalZoom;
|
|
2887
2899
|
if (isShowCardFocused()) return adjustShowZoom;
|
|
2888
|
-
|
|
2900
|
+
const view = activePaneView();
|
|
2901
|
+
if (view?.querySelector('.pane-url-frame')) return adjustUrlZoom;
|
|
2902
|
+
return view?.querySelector('.modal-zoomable') ? adjustModalZoom : null;
|
|
2889
2903
|
}
|
|
2890
2904
|
|
|
2891
2905
|
const ZOOM_KEYS = { '+': 0.1, '=': 0.1, NumpadAdd: 0.1, '-': -0.1, _: -0.1, NumpadSubtract: -0.1, 0: 0, Numpad0: 0 };
|
|
@@ -2896,7 +2910,6 @@ function zoomDelta(e) {
|
|
|
2896
2910
|
}
|
|
2897
2911
|
|
|
2898
2912
|
let _toastTimer = null;
|
|
2899
|
-
let _manualRefreshing = false;
|
|
2900
2913
|
//#endregion
|
|
2901
2914
|
|
|
2902
2915
|
//#region TOAST
|
|
@@ -7203,7 +7216,6 @@ const SHORTCUT_TABS = [
|
|
|
7203
7216
|
{ keys: ['E'], label: 'Expand / restore task detail panel' },
|
|
7204
7217
|
{ keys: ['N'], label: 'Toggle scratchpad (in the sidebar: the item under the cursor)' },
|
|
7205
7218
|
{ keys: ['Ctrl', 'E'], combo: true, label: 'Set the session scratchpad emoji (in the scratchpad)' },
|
|
7206
|
-
{ keys: ['R'], label: 'Refresh data' },
|
|
7207
7219
|
{ keys: ['Esc'], label: 'Close panel / clear selection' },
|
|
7208
7220
|
],
|
|
7209
7221
|
},
|
|
@@ -8950,22 +8962,6 @@ document.addEventListener('keydown', (e) => {
|
|
|
8950
8962
|
copyText(text, label, `Copied ${label}: ${e.ctrlKey ? text : text.slice(0, 8)}`);
|
|
8951
8963
|
return;
|
|
8952
8964
|
}
|
|
8953
|
-
if (matchKey(e, 'KeyR')) {
|
|
8954
|
-
e.preventDefault();
|
|
8955
|
-
if (_manualRefreshing) return;
|
|
8956
|
-
_manualRefreshing = true;
|
|
8957
|
-
lastSessionsHash = '';
|
|
8958
|
-
lastTasksHash = '';
|
|
8959
|
-
const refreshes = [fetchSessions()];
|
|
8960
|
-
if (currentSessionId) refreshes.push(fetchTasks(currentSessionId));
|
|
8961
|
-
refreshRateLimits();
|
|
8962
|
-
Promise.all(refreshes)
|
|
8963
|
-
.then(() => showToast('Data refreshed', 'success'))
|
|
8964
|
-
.finally(() => {
|
|
8965
|
-
_manualRefreshing = false;
|
|
8966
|
-
});
|
|
8967
|
-
return;
|
|
8968
|
-
}
|
|
8969
8965
|
if (matchKey(e, 'KeyH')) {
|
|
8970
8966
|
e.preventDefault();
|
|
8971
8967
|
goHome();
|
|
@@ -9085,7 +9081,7 @@ function startReview(opts) {
|
|
|
9085
9081
|
hot: null,
|
|
9086
9082
|
};
|
|
9087
9083
|
if (!frame) {
|
|
9088
|
-
|
|
9084
|
+
document.addEventListener('mouseup', () => setTimeout(offerReviewComment, 0), { signal });
|
|
9089
9085
|
contentEl.addEventListener('mousemove', (e) => queueReviewHover(e.clientX, e.clientY), { signal });
|
|
9090
9086
|
}
|
|
9091
9087
|
window.addEventListener('message', onReviewFrameMessage, { signal });
|
|
@@ -9184,11 +9180,14 @@ function setReviewHot(c, fromText) {
|
|
|
9184
9180
|
function reviewSelection() {
|
|
9185
9181
|
const sel = window.getSelection();
|
|
9186
9182
|
if (!activeReview || !sel || sel.isCollapsed || !sel.rangeCount) return null;
|
|
9187
|
-
const
|
|
9188
|
-
|
|
9189
|
-
|
|
9183
|
+
const { contentEl } = activeReview;
|
|
9184
|
+
const range = sel.getRangeAt(0).cloneRange();
|
|
9185
|
+
if (!contentEl.contains(range.startContainer)) return null;
|
|
9186
|
+
const pastEnd = !contentEl.contains(range.endContainer);
|
|
9187
|
+
if (pastEnd) range.setEnd(contentEl, contentEl.childNodes.length);
|
|
9188
|
+
const quote = (pastEnd ? range : sel).toString().trim();
|
|
9190
9189
|
if (!quote) return null;
|
|
9191
|
-
return { quote, range
|
|
9190
|
+
return { quote, range, rect: range.getBoundingClientRect() };
|
|
9192
9191
|
}
|
|
9193
9192
|
|
|
9194
9193
|
// A re-render replaces the nodes a range points at, so a comment keeps its text and the
|
|
@@ -9297,7 +9296,13 @@ function onReviewFrameMessage(e) {
|
|
|
9297
9296
|
if (type !== 'select' || typeof e.data.quote !== 'string' || !e.data.quote.trim()) return;
|
|
9298
9297
|
const box = activeReview.frame.getBoundingClientRect();
|
|
9299
9298
|
const r = e.data.rect || {};
|
|
9300
|
-
|
|
9299
|
+
// The frame reports its own CSS px; a zoomed ancestor (the modal zoom) scales them on the board.
|
|
9300
|
+
const z = activeReview.frame.currentCSSZoom || 1;
|
|
9301
|
+
const rect = {
|
|
9302
|
+
left: box.left + (r.left || 0) * z,
|
|
9303
|
+
top: box.top + (r.top || 0) * z,
|
|
9304
|
+
bottom: box.top + (r.bottom || 0) * z,
|
|
9305
|
+
};
|
|
9301
9306
|
const c = e.data.context || {};
|
|
9302
9307
|
const context = { heading: c.heading, element: c.element, selector: c.selector };
|
|
9303
9308
|
const pos = Number.isFinite(e.data.pos) ? e.data.pos : 0;
|
|
@@ -13124,15 +13129,20 @@ let _infoModalSessionId = null;
|
|
|
13124
13129
|
let _pendingPlanContent = null;
|
|
13125
13130
|
let _pendingPlanPath = null;
|
|
13126
13131
|
|
|
13127
|
-
function
|
|
13132
|
+
function setPinBtnState(btn, on, onTitle, offTitle) {
|
|
13133
|
+
btn.style.display = '';
|
|
13134
|
+
btn.classList.toggle('active', on);
|
|
13135
|
+
btn.title = on ? onTitle : offTitle;
|
|
13136
|
+
btn.querySelector('svg')?.setAttribute('fill', on ? 'currentColor' : 'none');
|
|
13137
|
+
}
|
|
13138
|
+
|
|
13139
|
+
function updatePinBtnsState() {
|
|
13140
|
+
const pinBtn = document.getElementById('session-info-pin-btn');
|
|
13128
13141
|
const stickyBtn = document.getElementById('session-info-sticky-btn');
|
|
13129
|
-
if (!stickyBtn || !_infoModalSessionId) return;
|
|
13130
|
-
const
|
|
13131
|
-
|
|
13132
|
-
stickyBtn
|
|
13133
|
-
stickyBtn.title = isSticky ? 'Remove sticky pin' : 'Sticky pin — always show in the list';
|
|
13134
|
-
const svg = stickyBtn.querySelector('svg');
|
|
13135
|
-
if (svg) svg.setAttribute('fill', isSticky ? 'currentColor' : 'none');
|
|
13142
|
+
if (!pinBtn || !stickyBtn || !_infoModalSessionId) return;
|
|
13143
|
+
const state = getSessionPinState(_infoModalSessionId);
|
|
13144
|
+
setPinBtnState(pinBtn, state === 'pinned', 'Unpin session', 'Pin session');
|
|
13145
|
+
setPinBtnState(stickyBtn, state === 'sticky', 'Remove sticky pin', 'Sticky pin — always show in the list');
|
|
13136
13146
|
}
|
|
13137
13147
|
|
|
13138
13148
|
// Purely cosmetic: the tmp root is identical for every session and the encoded
|
|
@@ -13330,8 +13340,10 @@ function showInfoModal(session, teamConfig, tasks, planContent, parentInfo) {
|
|
|
13330
13340
|
// would stack up once per open and fire the click handler N times.
|
|
13331
13341
|
bindLinkedDocsHandlers(bodyEl.querySelector('.linked-docs-section'), session.id);
|
|
13332
13342
|
_infoModalSessionId = session.id;
|
|
13333
|
-
|
|
13343
|
+
updatePinBtnsState();
|
|
13334
13344
|
updateDismissBtnState();
|
|
13345
|
+
const agentsBtn = document.getElementById('session-info-agents-btn');
|
|
13346
|
+
if (agentsBtn) agentsBtn.style.display = session.id === currentSessionId && currentAgents.length ? '' : 'none';
|
|
13335
13347
|
const costBtn = document.getElementById('session-info-cost-btn');
|
|
13336
13348
|
if (costBtn) costBtn.style.display = hub.can('session.cost') ? '' : 'none';
|
|
13337
13349
|
const mkBtn = document.getElementById('session-info-marketplace-btn');
|
|
@@ -13455,13 +13467,6 @@ const SP_COMMANDS = [
|
|
|
13455
13467
|
when: terminalAvailable,
|
|
13456
13468
|
run: openTerminalManager,
|
|
13457
13469
|
},
|
|
13458
|
-
{
|
|
13459
|
-
id: 'hub.restart',
|
|
13460
|
-
title: 'Restart Hub',
|
|
13461
|
-
general: true,
|
|
13462
|
-
when: () => hub.can('hub.restart'),
|
|
13463
|
-
run: () => hub.invoke('hub.restart'),
|
|
13464
|
-
},
|
|
13465
13470
|
];
|
|
13466
13471
|
const SP_COMMAND_KEYS = new Map(
|
|
13467
13472
|
SHORTCUT_TABS.flatMap((t) => t.groups.flatMap((g) => g.rows))
|
|
@@ -14994,7 +14999,7 @@ function watchScrollFades(el) {
|
|
|
14994
14999
|
// keys zoom the whole window and the pane keys do nothing. The bar zooms without keys and
|
|
14995
15000
|
// says when the page has the keyboard; a click on it gives the keys back.
|
|
14996
15001
|
function paneUrlBarHtml() {
|
|
14997
|
-
return `<div class="pane-url-bar"><button class="icon-btn pane-keys" title="The page has keyboard focus. Click to turn the board shortcuts back on">Board shortcuts off · click to turn on</button><button class="icon-btn" data-pane-zoom="-0.1" title="Smaller" aria-label="Smaller">−</button><button class="icon-btn pane-zoom-val" data-pane-zoom="0" title="Reset size">${
|
|
15002
|
+
return `<div class="pane-url-bar"><button class="icon-btn pane-keys" title="The page has keyboard focus. Click to turn the board shortcuts back on">Board shortcuts off · click to turn on</button><button class="icon-btn" data-pane-zoom="-0.1" title="Smaller" aria-label="Smaller">−</button><button class="icon-btn pane-zoom-val" data-pane-zoom="0" title="Reset size">${zoomLabel(urlZoom)}</button><button class="icon-btn" data-pane-zoom="0.1" title="Larger" aria-label="Larger">+</button></div>`;
|
|
14998
15003
|
}
|
|
14999
15004
|
|
|
15000
15005
|
function markPaneFrameFocus() {
|
|
@@ -15068,7 +15073,7 @@ function paneUrlFrame(pane, className) {
|
|
|
15068
15073
|
}
|
|
15069
15074
|
|
|
15070
15075
|
function mountPaneUrlFrame(pane, view) {
|
|
15071
|
-
const frame = paneUrlFrame(pane, 'pane-frame pane-url-frame
|
|
15076
|
+
const frame = paneUrlFrame(pane, 'pane-frame pane-url-frame');
|
|
15072
15077
|
frame.addEventListener('load', () => view.classList.remove('keys-bridged'));
|
|
15073
15078
|
view.appendChild(frame);
|
|
15074
15079
|
view.insertAdjacentHTML('beforeend', paneUrlBarHtml());
|
|
@@ -15337,10 +15342,6 @@ function focusPaneTarget(target) {
|
|
|
15337
15342
|
shellFrames.get(target)?.post('focus');
|
|
15338
15343
|
}
|
|
15339
15344
|
|
|
15340
|
-
function isPaneDocOnScreen() {
|
|
15341
|
-
return !!activePaneView()?.querySelector('.modal-zoomable');
|
|
15342
|
-
}
|
|
15343
|
-
|
|
15344
15345
|
function attachPaneReview(view, sessionId, opts) {
|
|
15345
15346
|
if (!opts) return;
|
|
15346
15347
|
const panelEl = document.createElement('aside');
|
|
@@ -16297,7 +16298,7 @@ function applySplitRatio() {
|
|
|
16297
16298
|
paneViews.addEventListener('click', (e) => {
|
|
16298
16299
|
if (e.target.closest('[data-pane-open]')) openPaneExternally();
|
|
16299
16300
|
const zoom = e.target.closest('[data-pane-zoom]');
|
|
16300
|
-
if (zoom)
|
|
16301
|
+
if (zoom) adjustUrlZoom(Number(zoom.dataset.paneZoom));
|
|
16301
16302
|
});
|
|
16302
16303
|
bindPreviewRelativeLinks(paneViews, (a) => a.closest('.pane-doc')?.dataset.path);
|
|
16303
16304
|
watchScrollFades(paneTabs);
|
|
@@ -18760,7 +18761,8 @@ new MutationObserver(() => {
|
|
|
18760
18761
|
});
|
|
18761
18762
|
}).observe(document.body, { attributes: true, attributeFilter: ['class', 'data-color-theme', 'style'] });
|
|
18762
18763
|
|
|
18763
|
-
const
|
|
18764
|
+
const TEXT_ZOOM_FRAMES = '.show-pane-frame, .themed-frame, .ask-frame, .dock-addon-frame';
|
|
18765
|
+
const PANE_SHOW_FRAMES = `${TEXT_ZOOM_FRAMES}, .pane-url-frame`;
|
|
18764
18766
|
|
|
18765
18767
|
// Builds the message only when a frame is there, because showTokens forces a style recalc.
|
|
18766
18768
|
function postToShowFrames(makeMsg, frames = [showState.frame, ...document.querySelectorAll(PANE_SHOW_FRAMES)]) {
|
|
@@ -20269,6 +20271,7 @@ for (const k of readStoredList(ACTIVITY_FILTER_KEY)) activityFilter.add(k);
|
|
|
20269
20271
|
initSidebarResize();
|
|
20270
20272
|
applyModalZoom();
|
|
20271
20273
|
applyShowZoom();
|
|
20274
|
+
applyUrlZoom();
|
|
20272
20275
|
loadModalFullscreen();
|
|
20273
20276
|
initModalResize();
|
|
20274
20277
|
loadPanelWidths();
|
package/public/index.html
CHANGED
|
@@ -603,9 +603,15 @@
|
|
|
603
603
|
<div class="modal-header">
|
|
604
604
|
<h3 id="team-modal-title" class="modal-title">Team</h3>
|
|
605
605
|
<div style="display:flex;align-items:center;gap:4px;">
|
|
606
|
-
<button id="session-info-
|
|
606
|
+
<button id="session-info-pin-btn" class="icon-btn" style="display:none" title="Pin session" onclick="setSessionPinState(_infoModalSessionId, getSessionPinState(_infoModalSessionId) === 'pinned' ? 'none' : 'pinned')">
|
|
607
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"/></svg>
|
|
608
|
+
</button>
|
|
609
|
+
<button id="session-info-sticky-btn" class="icon-btn" style="display:none" title="Sticky pin — always show in the list" onclick="toggleSessionSticky(_infoModalSessionId)">
|
|
607
610
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2 L15 9 L22 9 L17 14 L19 22 L12 18 L5 22 L7 14 L2 9 L9 9 Z"/></svg>
|
|
608
611
|
</button>
|
|
612
|
+
<button id="session-info-agents-btn" class="icon-btn" style="display:none" title="Agents timeline and map" onclick="closeTeamModal(); showAgentViews()">
|
|
613
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="5" cy="12" r="2.5"/><circle cx="19" cy="5" r="2.5"/><circle cx="19" cy="19" r="2.5"/><path d="M7.5 12h4M11.5 12V5h5M11.5 12v7h5"/></svg>
|
|
614
|
+
</button>
|
|
609
615
|
<button id="session-info-cost-btn" class="icon-btn" style="display:none" title="Open in Cost (Shift: Cost tab)" onclick="openAppForInfoModal(openCost, event)">
|
|
610
616
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8"/><path d="M12 18V6"/></svg>
|
|
611
617
|
</button>
|
package/public/style.css
CHANGED
|
@@ -8802,6 +8802,10 @@ body.light .msg-assistant .msg-text {
|
|
|
8802
8802
|
zoom: var(--modal-zoom, 1);
|
|
8803
8803
|
}
|
|
8804
8804
|
|
|
8805
|
+
.pane-url-frame {
|
|
8806
|
+
zoom: var(--url-zoom, 1);
|
|
8807
|
+
}
|
|
8808
|
+
|
|
8805
8809
|
/* Height is left to the flex column under `.storage-modal`'s 85vh cap — a `vh`
|
|
8806
8810
|
cap here would be multiplied by the zoom above. */
|
|
8807
8811
|
#storage-modal-body {
|
|
@@ -11310,7 +11314,7 @@ pre.mermaid[data-mermaid-error]::before {
|
|
|
11310
11314
|
display: flex;
|
|
11311
11315
|
align-items: center;
|
|
11312
11316
|
gap: 6px;
|
|
11313
|
-
padding:
|
|
11317
|
+
padding: 6px 10px;
|
|
11314
11318
|
margin-top: 8px;
|
|
11315
11319
|
cursor: pointer;
|
|
11316
11320
|
user-select: none;
|
|
@@ -11329,9 +11333,11 @@ pre.mermaid[data-mermaid-error]::before {
|
|
|
11329
11333
|
|
|
11330
11334
|
.project-group-header.kb-selected,
|
|
11331
11335
|
.pinned-sub-header.kb-selected,
|
|
11332
|
-
.sg-section-toggle.kb-selected
|
|
11336
|
+
.sg-section-toggle.kb-selected,
|
|
11337
|
+
.session-group-header.kb-selected {
|
|
11333
11338
|
color: var(--text-primary);
|
|
11334
|
-
background: var(--bg
|
|
11339
|
+
background: var(--session-active-bg);
|
|
11340
|
+
box-shadow: 0 1px 3px color-mix(in srgb, var(--text-primary) 18%, transparent);
|
|
11335
11341
|
border-radius: 4px;
|
|
11336
11342
|
}
|
|
11337
11343
|
|
|
@@ -11566,7 +11572,7 @@ pre.mermaid[data-mermaid-error]::before {
|
|
|
11566
11572
|
|
|
11567
11573
|
/* #region SESSION_GROUPS */
|
|
11568
11574
|
.sg-section-label {
|
|
11569
|
-
padding:
|
|
11575
|
+
padding: 7px 10px;
|
|
11570
11576
|
margin-top: 10px;
|
|
11571
11577
|
font-size: 11px;
|
|
11572
11578
|
font-weight: 600;
|
|
@@ -11582,7 +11588,6 @@ pre.mermaid[data-mermaid-error]::before {
|
|
|
11582
11588
|
display: flex;
|
|
11583
11589
|
align-items: center;
|
|
11584
11590
|
gap: 4px;
|
|
11585
|
-
padding-bottom: 4px;
|
|
11586
11591
|
cursor: pointer;
|
|
11587
11592
|
}
|
|
11588
11593
|
|
|
@@ -11609,11 +11614,6 @@ pre.mermaid[data-mermaid-error]::before {
|
|
|
11609
11614
|
background: var(--bg-hover);
|
|
11610
11615
|
}
|
|
11611
11616
|
|
|
11612
|
-
.session-group-header.kb-selected {
|
|
11613
|
-
outline: 1px solid var(--accent);
|
|
11614
|
-
outline-offset: -1px;
|
|
11615
|
-
}
|
|
11616
|
-
|
|
11617
11617
|
.session-group-header.sg-zen,
|
|
11618
11618
|
.project-group-header.sg-zen {
|
|
11619
11619
|
color: var(--accent-text);
|