claude-code-kanban 3.5.0 → 3.5.1
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 +10 -0
package/package.json
CHANGED
package/public/app.js
CHANGED
|
@@ -504,6 +504,7 @@ async function fetchTasks(sessionId) {
|
|
|
504
504
|
resetAgentState();
|
|
505
505
|
updateUrl();
|
|
506
506
|
renderSession();
|
|
507
|
+
renderSessions();
|
|
507
508
|
fetchAgents(sessionId);
|
|
508
509
|
if (!agentLogMode) fetchMessages(sessionId);
|
|
509
510
|
} catch (error) {
|
|
@@ -4148,6 +4149,8 @@ document.addEventListener('keydown', (e) => {
|
|
|
4148
4149
|
e.preventDefault();
|
|
4149
4150
|
if (_manualRefreshing) return;
|
|
4150
4151
|
_manualRefreshing = true;
|
|
4152
|
+
lastSessionsHash = '';
|
|
4153
|
+
lastTasksHash = '';
|
|
4151
4154
|
const refreshes = [fetchSessions()];
|
|
4152
4155
|
if (currentSessionId) refreshes.push(fetchTasks(currentSessionId));
|
|
4153
4156
|
Promise.all(refreshes)
|
|
@@ -4979,11 +4982,18 @@ async function updateProjectDropdown() {
|
|
|
4979
4982
|
projectsCacheDirty = false;
|
|
4980
4983
|
|
|
4981
4984
|
const cutoff = Date.now() - 24 * 60 * 60 * 1000;
|
|
4985
|
+
const prevRecent = recentProjects;
|
|
4982
4986
|
recentProjects = new Set(
|
|
4983
4987
|
projects.filter((p) => p.modifiedAt && new Date(p.modifiedAt).getTime() > cutoff).map((p) => p.path),
|
|
4984
4988
|
);
|
|
4985
4989
|
|
|
4986
4990
|
renderProjectDropdown(dropdown, projects);
|
|
4991
|
+
|
|
4992
|
+
// recentProjects was empty before — sidebar rendered with __recent__ filter
|
|
4993
|
+
// dropping every session. Re-render now that we know which projects qualify.
|
|
4994
|
+
if (filterProject === '__recent__' && prevRecent.size === 0 && recentProjects.size > 0) {
|
|
4995
|
+
renderSessions();
|
|
4996
|
+
}
|
|
4987
4997
|
}
|
|
4988
4998
|
|
|
4989
4999
|
function renderProjectDropdown(dropdown, projects) {
|