mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[PR #5747] feat: time field time type and time tracks #6985
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#6985
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5747
Author: @zoli
Created: 7/16/2024
Status: 🔄 Open
Base:
main← Head:feat/time-field-type-options📝 Commits (10+)
a15d012feat: time field time type and time tracks backend293493afix: calculate timer and timer_start based on precision8f62cf7feat: time field time type and time tracks frontend75982adfix: no need to convert precision on apply changeset955db64style: merge mainbb9aa69fix: plain time time type fix updatinge3cf316feat: wip time field time tracking button9b132cefeat: time track button31305d2feat: on tracking periodically update time cell41c3225feat: use translation📊 Changes
46 files changed (+2711 additions, -507 deletions)
View changed files
📝
frontend/appflowy_flutter/integration_test/desktop/board/board_field_test.dart(+37 -2)📝
frontend/appflowy_flutter/integration_test/desktop/board/board_group_test.dart(+58 -3)📝
frontend/appflowy_flutter/integration_test/desktop/board/board_row_test.dart(+0 -54)📝
frontend/appflowy_flutter/integration_test/desktop/board/board_test_runner.dart(+2 -0)➕
frontend/appflowy_flutter/integration_test/desktop/database/database_time_field_test.dart(+301 -0)📝
frontend/appflowy_flutter/integration_test/desktop_runner_2.dart(+3 -0)📝
frontend/appflowy_flutter/integration_test/shared/common_operations.dart(+0 -1)📝
frontend/appflowy_flutter/integration_test/shared/database_test_op.dart(+39 -2)📝
frontend/appflowy_flutter/lib/mobile/presentation/database/field/mobile_field_bottom_sheets.dart(+1 -1)📝
frontend/appflowy_flutter/lib/plugins/database/application/cell/bloc/time_cell_bloc.dart(+86 -28)➕
frontend/appflowy_flutter/lib/plugins/database/application/cell/bloc/time_cell_editor_bloc.dart(+134 -0)📝
frontend/appflowy_flutter/lib/plugins/database/application/cell/cell_controller.dart(+2 -2)📝
frontend/appflowy_flutter/lib/plugins/database/application/field/type_option/type_option_data_parser.dart(+7 -0)➕
frontend/appflowy_flutter/lib/plugins/database/domain/time_cell_service.dart(+83 -0)📝
frontend/appflowy_flutter/lib/plugins/database/grid/presentation/widgets/filter/filter_menu_item.dart(+2 -2)📝
frontend/appflowy_flutter/lib/plugins/database/widgets/cell/desktop_grid/desktop_grid_time_cell.dart(+202 -4)📝
frontend/appflowy_flutter/lib/plugins/database/widgets/cell/desktop_row_detail/desktop_row_detail_time_cell.dart(+55 -21)📝
frontend/appflowy_flutter/lib/plugins/database/widgets/cell/editable_cell_skeleton/time.dart(+22 -6)📝
frontend/appflowy_flutter/lib/plugins/database/widgets/cell/mobile_grid/mobile_grid_time_cell.dart(+7 -1)📝
frontend/appflowy_flutter/lib/plugins/database/widgets/cell/mobile_row_detail/mobile_row_detail_time_cell.dart(+7 -1)...and 26 more files
📄 Description
Continuing on #4083 I added time type and precision for time field type. Now you can choose from edit property that the time type is "Plain Time", "Stopwatch" (count up), "Timer" (count down).
It's not completed yet tracking feature is missing plus some bug fixes. So I will make this a draft PR. Just wanted to add a preview here and maybe discuss some specifics.
IMO time field with tracking, count up, count down features along with some other features (i.e. calculating the total time of all rows) will help users to use AppFlowy as a To-do list with time tracking included.
Feature Preview
VID_20240716_213606_047.webm
PR Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.