[PR #2558] [MERGED] feat: drag and drop events to reschedule #5299

Closed
opened 2026-03-23 22:18:07 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/2558
Author: @richardshiue
Created: 5/18/2023
Status: Merged
Merged: 5/31/2023
Merged by: @appflowy

Base: developHead: drag-drop


📝 Commits (10+)

  • 58ada7b chore: send DateCellDataPB instead of timestamp
  • ae5f70b chore: separate event card into own widget
  • d4a6e89 chore: add hover effect to event card itself
  • 03f05c0 feat: draggable event cards
  • fc08c62 feat: drag target WIP
  • 18bb1d7 chore: revert "chore: send DateCellDataPB instead of timestamp"
  • 60f5e7c chore: remove timezone from date cell data
  • f266c5a fix: #2498 open calendar event faster
  • 69ef386 chore: remove unused timezone
  • 095a2f2 feat: implement logic for rescheduling events

📊 Changes

26 files changed (+619 additions, -652 deletions)

View changed files

📝 frontend/appflowy_flutter/assets/translations/en.json (+2 -2)
📝 frontend/appflowy_flutter/lib/plugins/database_view/calendar/application/calendar_bloc.dart (+89 -50)
📝 frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_day.dart (+295 -210)
📝 frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_page.dart (+17 -3)
📝 frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/toolbar/calendar_toolbar.dart (+27 -34)
📝 frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/card.dart (+26 -6)
📝 frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/container/card_container.dart (+11 -11)
📝 frontend/rust-lib/flowy-database2/Cargo.toml (+1 -1)
📝 frontend/rust-lib/flowy-database2/src/entities/calendar_entities.rs (+3 -4)
📝 frontend/rust-lib/flowy-database2/src/entities/type_option_entities/date_entities.rs (+5 -6)
📝 frontend/rust-lib/flowy-database2/src/event_handler.rs (+23 -1)
📝 frontend/rust-lib/flowy-database2/src/event_map.rs (+1 -0)
📝 frontend/rust-lib/flowy-database2/src/services/cell/cell_operation.rs (+0 -1)
📝 frontend/rust-lib/flowy-database2/src/services/database_view/view_editor.rs (+2 -3)
📝 frontend/rust-lib/flowy-database2/src/services/field/type_options/date_type_option/date_tests.rs (+10 -121)
📝 frontend/rust-lib/flowy-database2/src/services/field/type_options/date_type_option/date_type_option.rs (+50 -51)
📝 frontend/rust-lib/flowy-database2/src/services/field/type_options/date_type_option/date_type_option_entities.rs (+1 -15)
📝 frontend/rust-lib/flowy-database2/src/services/field/type_options/text_type_option/text_tests.rs (+0 -1)
📝 frontend/rust-lib/flowy-database2/src/services/field/type_options/type_option.rs (+2 -3)
📝 frontend/rust-lib/flowy-database2/tests/database/database_editor.rs (+0 -2)

...and 6 more files

📄 Description

fixes #2498
fixes #2483
fixes #2569
fixes #2600

Feature Preview


PR Checklist

  • My code adheres to the AppFlowy Style Guide
  • 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/2558 **Author:** [@richardshiue](https://github.com/richardshiue) **Created:** 5/18/2023 **Status:** ✅ Merged **Merged:** 5/31/2023 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `develop` ← **Head:** `drag-drop` --- ### 📝 Commits (10+) - [`58ada7b`](https://github.com/AppFlowy-IO/AppFlowy/commit/58ada7bbeb89ee033c43e6e04fe30dc6de5f33fe) chore: send DateCellDataPB instead of timestamp - [`ae5f70b`](https://github.com/AppFlowy-IO/AppFlowy/commit/ae5f70bb0404760af9d08737e522b222ada51fd1) chore: separate event card into own widget - [`d4a6e89`](https://github.com/AppFlowy-IO/AppFlowy/commit/d4a6e89bea22f56b8a8b3a3577086dbf98da7019) chore: add hover effect to event card itself - [`03f05c0`](https://github.com/AppFlowy-IO/AppFlowy/commit/03f05c056bca8bd70d5448bafc4fea2ec8cced16) feat: draggable event cards - [`fc08c62`](https://github.com/AppFlowy-IO/AppFlowy/commit/fc08c62dceee5d226264ad8b6ce5d9bf85a992b6) feat: drag target WIP - [`18bb1d7`](https://github.com/AppFlowy-IO/AppFlowy/commit/18bb1d7005fea60c795f3ac9fc53d41726943c7f) chore: revert "chore: send DateCellDataPB instead of timestamp" - [`60f5e7c`](https://github.com/AppFlowy-IO/AppFlowy/commit/60f5e7cc0bf3f6d5886ee644aa220649aa887ba2) chore: remove timezone from date cell data - [`f266c5a`](https://github.com/AppFlowy-IO/AppFlowy/commit/f266c5a611cc0cef3f013f25023ff7b093ab261f) fix: #2498 open calendar event faster - [`69ef386`](https://github.com/AppFlowy-IO/AppFlowy/commit/69ef3867a10a74587d087befa61d3c9cf75150ec) chore: remove unused timezone - [`095a2f2`](https://github.com/AppFlowy-IO/AppFlowy/commit/095a2f20dd0b6d4d67d9441a5519c4cf75c4d9f3) feat: implement logic for rescheduling events ### 📊 Changes **26 files changed** (+619 additions, -652 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/assets/translations/en.json` (+2 -2) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/calendar/application/calendar_bloc.dart` (+89 -50) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_day.dart` (+295 -210) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_page.dart` (+17 -3) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/toolbar/calendar_toolbar.dart` (+27 -34) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/card.dart` (+26 -6) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/widgets/card/container/card_container.dart` (+11 -11) 📝 `frontend/rust-lib/flowy-database2/Cargo.toml` (+1 -1) 📝 `frontend/rust-lib/flowy-database2/src/entities/calendar_entities.rs` (+3 -4) 📝 `frontend/rust-lib/flowy-database2/src/entities/type_option_entities/date_entities.rs` (+5 -6) 📝 `frontend/rust-lib/flowy-database2/src/event_handler.rs` (+23 -1) 📝 `frontend/rust-lib/flowy-database2/src/event_map.rs` (+1 -0) 📝 `frontend/rust-lib/flowy-database2/src/services/cell/cell_operation.rs` (+0 -1) 📝 `frontend/rust-lib/flowy-database2/src/services/database_view/view_editor.rs` (+2 -3) 📝 `frontend/rust-lib/flowy-database2/src/services/field/type_options/date_type_option/date_tests.rs` (+10 -121) 📝 `frontend/rust-lib/flowy-database2/src/services/field/type_options/date_type_option/date_type_option.rs` (+50 -51) 📝 `frontend/rust-lib/flowy-database2/src/services/field/type_options/date_type_option/date_type_option_entities.rs` (+1 -15) 📝 `frontend/rust-lib/flowy-database2/src/services/field/type_options/text_type_option/text_tests.rs` (+0 -1) 📝 `frontend/rust-lib/flowy-database2/src/services/field/type_options/type_option.rs` (+2 -3) 📝 `frontend/rust-lib/flowy-database2/tests/database/database_editor.rs` (+0 -2) _...and 6 more files_ </details> ### 📄 Description fixes #2498 fixes #2483 fixes #2569 fixes #2600 ### Feature Preview --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [x] My code adheres to the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [x] 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:18:07 +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#5299
No description provided.