mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: drag and drop events to reschedule (#2558)
* chore: send DateCellDataPB instead of timestamp * chore: separate event card into own widget * chore: add hover effect to event card itself * feat: draggable event cards * feat: drag target WIP * chore: revert "chore: send DateCellDataPB instead of timestamp" This reverts commit 1faaf21c6a50ac67da70ddf3bcfa8278ca5963d4. * chore: remove timezone from date cell data * fix: #2498 open calendar event faster * chore: remove unused timezone * feat: implement logic for rescheduling events * fix: reschedule doesn't show up on UI * fix: reorganize gesture detection layering * fix: layout fix * test: fix date single sort test * chore: remove unused chrono-tz * chore: add hint to unscheduled event popover * chore: apply suggestions to 3 files * fix: #2569 fix overflow * chore: add timezone data to DateTypeOption * test: make date tests run on Etc/UTC timezone * chore: fix clippy warnings * fix: use the right get db function * chore: code cleanup * test: run tests in utc * test: fix tests --------- Co-authored-by: nathan <nathan@appflowy.io>
This commit is contained in:
@ -33,7 +33,7 @@ A,$1,2022/03/14,,"Google,Facebook",Yes,AppFlowy website - https://www.appflowy.i
|
||||
C,$3,2022/03/14,Completed,Facebook,No,,,2022/03/14,2022/03/14
|
||||
DA,$14,2022/11/17,Completed,,No,,,2022/11/17,2022/11/17
|
||||
AE,,2022/11/13,Planned,,No,,,2022/11/13,2022/11/13
|
||||
AE,$5,2022/12/24,Planned,,Yes,,,2022/12/24,2022/12/24
|
||||
AE,$5,2022/12/25,Planned,,Yes,,,2022/12/25,2022/12/25
|
||||
"#;
|
||||
println!("{}", s);
|
||||
assert_eq!(s, expected);
|
||||
|
Reference in New Issue
Block a user