[PR #8246] Feat: Added time remaining(deadline countdown) calculation for Date Cells #8313

Open
opened 2026-03-23 23:23:35 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/8246
Author: @ChiragKr04
Created: 10/1/2025
Status: 🔄 Open

Base: mainHead: feat-deadline-countdown


📝 Commits (1)

  • 7e09eb9 feat: add time remaining calculation for date cells

📊 Changes

2 files changed (+52 additions, -1 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/database/widgets/cell/card_cell_skeleton/date_card_cell.dart (+18 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/widgets/cell/editable_cell_skeleton/date.dart (+34 -0)

📄 Description

  • Implemented a new function to calculate and return a human-readable string representing the time remaining until a specified date or how long it is overdue.
  • Updated the DateCardCell widget to display the time remaining or overdue status, enhancing user feedback on date-related cells.
Screenshot 2025-10-01 at 8 44 28 PM

#8205

Summary by Sourcery

Add time remaining calculation and visual countdown/overdue display to date cells

New Features:

  • Calculate a human-readable countdown or overdue message for date cells
  • Display time remaining or overdue status in the DateCardCell UI with contextual styling

🔄 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/AppFlowy-IO/AppFlowy/pull/8246 **Author:** [@ChiragKr04](https://github.com/ChiragKr04) **Created:** 10/1/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat-deadline-countdown` --- ### 📝 Commits (1) - [`7e09eb9`](https://github.com/AppFlowy-IO/AppFlowy/commit/7e09eb9464ab275970372bd3b2e9c46032a46b90) feat: add time remaining calculation for date cells ### 📊 Changes **2 files changed** (+52 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/card_cell_skeleton/date_card_cell.dart` (+18 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/editable_cell_skeleton/date.dart` (+34 -0) </details> ### 📄 Description - Implemented a new function to calculate and return a human-readable string representing the time remaining until a specified date or how long it is overdue. - Updated the DateCardCell widget to display the time remaining or overdue status, enhancing user feedback on date-related cells. <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <img width="1187" height="351" alt="Screenshot 2025-10-01 at 8 44 28 PM" src="https://github.com/user-attachments/assets/6e5c642f-15e3-4b75-ab28-5095c5cc7d29" /> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> --- #8205 ## Summary by Sourcery Add time remaining calculation and visual countdown/overdue display to date cells New Features: - Calculate a human-readable countdown or overdue message for date cells - Display time remaining or overdue status in the DateCardCell UI with contextual styling --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#8313
No description provided.