Skip to content

Commit 74e5b4f

Browse files
committed
Collapse 'done' column by default in Kanban board
Changed the default collapsed column from 'review' to 'done' in both the HTML and JavaScript. This updates the initial UI state to have the 'done' column collapsed when the page loads.
1 parent 9e8cd08 commit 74e5b4f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ <h4 class="font-medium text-gray-900 mb-1">Status</h4>
385385
</div>
386386

387387
<!-- Done Column -->
388-
<div class="flex-1 column-expanded" data-column="done">
388+
<div class="flex-1 column-collapsed" data-column="done">
389389
<div class="bg-white rounded-lg shadow-sm border border-gray-200">
390390
<div class="px-4 py-3 border-b border-gray-200 column-header">
391391
<div class="flex items-center justify-between">

src/kanban.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ document.addEventListener('DOMContentLoaded', function() {
372372
style.textContent = '.column-collapsed { transition: none !important; }';
373373
document.head.appendChild(style);
374374

375-
// Collapse the review column by default
376-
collapseColumn('review');
375+
// Collapse the done column by default
376+
collapseColumn('done');
377377

378378
// Re-enable transitions after a brief delay
379379
setTimeout(() => {

0 commit comments

Comments
 (0)