[PR #5349] [MERGED] feat: timer field #6774

Closed
opened 2026-03-23 23:16:36 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5349
Author: @zoli
Created: 5/16/2024
Status: Merged
Merged: 6/13/2024
Merged by: @Xazin

Base: mainHead: feat/time-field-type-2


📝 Commits (10+)

  • ea3bd9d feat: wip timer field
  • 464d18b style: merge main resolve conflict
  • fcff838 feat: timer field fixing errors
  • d1feb83 feat: wip timer field frontend
  • ec757ba fix: parsing TimerCellDataPB
  • 90ce5f1 feat: parse time string to minutes
  • ecb58e1 fix: don't allow none number input
  • 7be4b1e fix: timer filter
  • 22b845f style: Merge branch 'main' into feat/time-field-type-2
  • 50e890a Merge branch 'main' into feat/time-field-type-2

📊 Changes

57 files changed (+1579 additions, -26 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/mobile/presentation/database/field/mobile_field_bottom_sheets.dart (+1 -0)
📝 frontend/appflowy_flutter/lib/mobile/presentation/database/field/mobile_full_field_editor.dart (+1 -0)
frontend/appflowy_flutter/lib/plugins/database/application/cell/bloc/time_cell_bloc.dart (+117 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/application/cell/cell_controller_builder.dart (+13 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/application/cell/cell_data_loader.dart (+15 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/application/field/field_info.dart (+2 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/domain/filter_service.dart (+24 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/application/filter/filter_create_bloc.dart (+5 -0)
frontend/appflowy_flutter/lib/plugins/database/grid/application/filter/time_filter_editor_bloc.dart (+111 -0)
frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/time.dart (+227 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/filter_info.dart (+6 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/filter_menu_item.dart (+5 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/widgets/cell/card_cell_builder.dart (+12 -4)
frontend/appflowy_flutter/lib/plugins/database/widgets/cell/card_cell_skeleton/time_card_cell.dart (+62 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/widgets/cell/card_cell_style_maps/desktop_board_card_cell_style.dart (+7 -1)
📝 frontend/appflowy_flutter/lib/plugins/database/widgets/cell/card_cell_style_maps/mobile_board_card_cell_style.dart (+7 -1)
frontend/appflowy_flutter/lib/plugins/database/widgets/cell/desktop_grid/desktop_grid_time_cell.dart (+37 -0)
frontend/appflowy_flutter/lib/plugins/database/widgets/cell/desktop_row_detail/desktop_row_detail_time_cell.dart (+40 -0)
📝 frontend/appflowy_flutter/lib/plugins/database/widgets/cell/editable_cell_builder.dart (+17 -1)
frontend/appflowy_flutter/lib/plugins/database/widgets/cell/editable_cell_skeleton/time.dart (+120 -0)

...and 37 more files

📄 Description

Timer field type which stores time in minutes. More details about this feature on the related issue #4083.
Resolves #4083.

Feature Preview

PR Checklist

  • My code adheres to AppFlowy's Conventions
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

🔄 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/5349 **Author:** [@zoli](https://github.com/zoli) **Created:** 5/16/2024 **Status:** ✅ Merged **Merged:** 6/13/2024 **Merged by:** [@Xazin](https://github.com/Xazin) **Base:** `main` ← **Head:** `feat/time-field-type-2` --- ### 📝 Commits (10+) - [`ea3bd9d`](https://github.com/AppFlowy-IO/AppFlowy/commit/ea3bd9db437fa818a9d6bb43d8dc2b29109d1e72) feat: wip timer field - [`464d18b`](https://github.com/AppFlowy-IO/AppFlowy/commit/464d18b24207b94196697106db9e0c76fbfc12eb) style: merge main resolve conflict - [`fcff838`](https://github.com/AppFlowy-IO/AppFlowy/commit/fcff838ad911fb4b17c024d13d71e372a8191b47) feat: timer field fixing errors - [`d1feb83`](https://github.com/AppFlowy-IO/AppFlowy/commit/d1feb83b50df187387ccc7dbf506640132c8e012) feat: wip timer field frontend - [`ec757ba`](https://github.com/AppFlowy-IO/AppFlowy/commit/ec757baba295c90032a8e452248c96bf094f9baf) fix: parsing TimerCellDataPB - [`90ce5f1`](https://github.com/AppFlowy-IO/AppFlowy/commit/90ce5f1f5e9ee320cd5e772b4132a9e091f9f7d2) feat: parse time string to minutes - [`ecb58e1`](https://github.com/AppFlowy-IO/AppFlowy/commit/ecb58e1373e25b5523af4a66f429e1857d8a1dbd) fix: don't allow none number input - [`7be4b1e`](https://github.com/AppFlowy-IO/AppFlowy/commit/7be4b1e9bf582afe3c26ee231ed204dbe21f6617) fix: timer filter - [`22b845f`](https://github.com/AppFlowy-IO/AppFlowy/commit/22b845f200d78f1f3bcd28f1fd956c79626b1170) style: Merge branch 'main' into feat/time-field-type-2 - [`50e890a`](https://github.com/AppFlowy-IO/AppFlowy/commit/50e890a6c7a35c14f9cc9e921dc72ac7129a9b69) Merge branch 'main' into feat/time-field-type-2 ### 📊 Changes **57 files changed** (+1579 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/field/mobile_field_bottom_sheets.dart` (+1 -0) 📝 `frontend/appflowy_flutter/lib/mobile/presentation/database/field/mobile_full_field_editor.dart` (+1 -0) ➕ `frontend/appflowy_flutter/lib/plugins/database/application/cell/bloc/time_cell_bloc.dart` (+117 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/application/cell/cell_controller_builder.dart` (+13 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/application/cell/cell_data_loader.dart` (+15 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/application/field/field_info.dart` (+2 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/domain/filter_service.dart` (+24 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/application/filter/filter_create_bloc.dart` (+5 -0) ➕ `frontend/appflowy_flutter/lib/plugins/database/grid/application/filter/time_filter_editor_bloc.dart` (+111 -0) ➕ `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/choicechip/time.dart` (+227 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/filter_info.dart` (+6 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/filter_menu_item.dart` (+5 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/card_cell_builder.dart` (+12 -4) ➕ `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/card_cell_skeleton/time_card_cell.dart` (+62 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/card_cell_style_maps/desktop_board_card_cell_style.dart` (+7 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/card_cell_style_maps/mobile_board_card_cell_style.dart` (+7 -1) ➕ `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/desktop_grid/desktop_grid_time_cell.dart` (+37 -0) ➕ `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/desktop_row_detail/desktop_row_detail_time_cell.dart` (+40 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/editable_cell_builder.dart` (+17 -1) ➕ `frontend/appflowy_flutter/lib/plugins/database/widgets/cell/editable_cell_skeleton/time.dart` (+120 -0) _...and 37 more files_ </details> ### 📄 Description Timer field type which stores time in minutes. More details about this feature on the related issue #4083. Resolves #4083. ### Feature Preview #### PR Checklist - [x] My code adheres to [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [x] I've listed at least one issue that this PR fixes in the description above. - [x] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [x] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 23:16:36 +00:00
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#6774
No description provided.