[PR #1332] [MERGED] fix: restore due date completion #1275

Closed
opened 2026-02-04 22:00:53 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/plankanban/planka/pull/1332
Author: @StevenJCorreia
Created: 9/5/2025
Status: Merged
Merged: 9/5/2025
Merged by: @meltyshev

Base: masterHead: fix/restore-due-date-completion


📝 Commits (5)

📊 Changes

14 files changed (+140 additions, -17 deletions)

View changed files

📝 client/src/components/cards/Card/ProjectContent.jsx (+6 -1)
📝 client/src/components/cards/CardModal/ProjectContent.jsx (+28 -9)
📝 client/src/components/cards/CardModal/ProjectContent.module.scss (+6 -0)
📝 client/src/components/cards/DueDateChip/DueDateChip.jsx (+20 -6)
📝 client/src/components/cards/DueDateChip/DueDateChip.module.scss (+5 -0)
📝 client/src/models/Card.js (+12 -0)
📝 server/api/controllers/cards/create.js (+5 -0)
📝 server/api/controllers/cards/update.js (+6 -0)
📝 server/api/helpers/boards/import-from-trello.js (+1 -1)
📝 server/api/helpers/cards/create-one.js (+8 -0)
📝 server/api/helpers/cards/duplicate-one.js (+1 -0)
📝 server/api/helpers/cards/update-one.js (+14 -0)
📝 server/api/models/Card.js (+5 -0)
server/db/migrations/20250905101408_restore_toggleable_due_dates.js (+23 -0)

📄 Description

The completion feature of the due date component was inadvertently removed during the v2 refactor.

Regression testing checklist

  • Completion toggle works
  • Green checkmark icon appears for completed due dates
  • Red hourglass icon appears for overdue dates
  • Orange hourglass icon appears for due soon dates
  • No icon appears for future dates not due soon
  • Background colors remain correct for all states in both card and card list views
  • No regression in existing functionality
  • Migrations work
image image

Kudos to the author of the original implementation @glorpen in PR #845 - this is a feature that I and all of my instance's users, including myself, love.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/plankanban/planka/pull/1332 **Author:** [@StevenJCorreia](https://github.com/StevenJCorreia) **Created:** 9/5/2025 **Status:** ✅ Merged **Merged:** 9/5/2025 **Merged by:** [@meltyshev](https://github.com/meltyshev) **Base:** `master` ← **Head:** `fix/restore-due-date-completion` --- ### 📝 Commits (5) - [`0dd1203`](https://github.com/plankanban/planka/commit/0dd120355643704b845ca1e4864b3494168546e5) fix: Restore due date completion functionality - [`91a7444`](https://github.com/plankanban/planka/commit/91a744415ba7cb9baaf915719a8200eb62fcbc7d) Merge branch 'master' of https://github.com/StevenJCorreia/planka into fix/restore-due-date-completion - [`ba4d9c9`](https://github.com/plankanban/planka/commit/ba4d9c99175202a8d2d232e2281cbd448a283882) Moved migration to end of sequence - [`2826c53`](https://github.com/plankanban/planka/commit/2826c538e3e8dba0206d182e2282ad74af0c2eda) fix: Rework - [`e1ddec2`](https://github.com/plankanban/planka/commit/e1ddec2049577ca7c784a6217f9ec74f65579971) refactor: Keep alphabetical order for consistency ### 📊 Changes **14 files changed** (+140 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `client/src/components/cards/Card/ProjectContent.jsx` (+6 -1) 📝 `client/src/components/cards/CardModal/ProjectContent.jsx` (+28 -9) 📝 `client/src/components/cards/CardModal/ProjectContent.module.scss` (+6 -0) 📝 `client/src/components/cards/DueDateChip/DueDateChip.jsx` (+20 -6) 📝 `client/src/components/cards/DueDateChip/DueDateChip.module.scss` (+5 -0) 📝 `client/src/models/Card.js` (+12 -0) 📝 `server/api/controllers/cards/create.js` (+5 -0) 📝 `server/api/controllers/cards/update.js` (+6 -0) 📝 `server/api/helpers/boards/import-from-trello.js` (+1 -1) 📝 `server/api/helpers/cards/create-one.js` (+8 -0) 📝 `server/api/helpers/cards/duplicate-one.js` (+1 -0) 📝 `server/api/helpers/cards/update-one.js` (+14 -0) 📝 `server/api/models/Card.js` (+5 -0) ➕ `server/db/migrations/20250905101408_restore_toggleable_due_dates.js` (+23 -0) </details> ### 📄 Description The completion feature of the due date component was inadvertently removed during the `v2` refactor. # Regression testing checklist - Completion toggle works - Green checkmark icon appears for completed due dates - Red hourglass icon appears for overdue dates - Orange hourglass icon appears for due soon dates - No icon appears for future dates not due soon - Background colors remain correct for all states in both card and card list views - No regression in existing functionality - Migrations work <img width="1911" height="523" alt="image" src="https://github.com/user-attachments/assets/3d7e897b-50ab-496e-8bea-a3060161af25" /> <img width="1905" height="376" alt="image" src="https://github.com/user-attachments/assets/9e04d90d-0393-4d4d-8a1d-21e1c2e585a7" /> --- Kudos to the author of the original implementation @glorpen in PR #845 - this is a feature that I and all of my instance's users, including myself, love. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 22:00:53 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#1275