Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: time field time type and time tracks #5747

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

zoli
Copy link
Contributor

@zoli zoli commented Jul 16, 2024

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

  • 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.

@zoli
Copy link
Contributor Author

zoli commented Jul 16, 2024

IMO this will need a better design later.

Copy link

github-actions bot commented Jul 18, 2024

🥷 Ninja i18n – 🛎️ Translations need to be updated

Project /project.inlang

lint rule new reports level link
Missing translation 540 warning contribute (via Fink 🐦)

@zoli zoli marked this pull request as ready for review July 22, 2024 16:45
* main:
  fix: integration test failed (grid row detail page: hide and show hidden fields) (AppFlowy-IO#5781)
  feat: ai billing (AppFlowy-IO#5741)
  fix: can not display rows when rows overthan 1000 (AppFlowy-IO#5777)
  feat: support publish database on web (AppFlowy-IO#5748)
  feat: publish databse to Web (AppFlowy-IO#5709)
  chore: update Spanish translations (AppFlowy-IO#5742)
  chore: update Chinese translations (AppFlowy-IO#5727)
  fix: Add retry for admin client sign in for test (AppFlowy-IO#5767)
  chore: update Hebrew translation (AppFlowy-IO#5738)
  chore: update German translations (AppFlowy-IO#5722)
  chore: update Russian translations (AppFlowy-IO#5730)
  chore: update build config (AppFlowy-IO#5759)
  chore: enable local ai and local ai chat (AppFlowy-IO#5755)
Copy link

codecov bot commented Jul 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.90%. Comparing base (c122f0a) to head (be7404d).
Report is 499 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #5747       +/-   ##
===========================================
- Coverage   86.74%   72.90%   -13.85%     
===========================================
  Files         217      240       +23     
  Lines        5032     6466     +1434     
  Branches      831     1042      +211     
===========================================
+ Hits         4365     4714      +349     
- Misses        561     1641     +1080     
- Partials      106      111        +5     
Flag Coverage Δ
appflowy_web_app 72.90% <ø> (-13.85%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zoli
Copy link
Contributor Author

zoli commented Jul 22, 2024

Time tracking button preview:

time.tracking.mp4

@zoli
Copy link
Contributor Author

zoli commented Jul 22, 2024

Currently, the mobile app will only view the time field final time in a text field. If the design, functionality, etc is OK, I will also add complete functionality for mobile in the next PRs.

@Xazin Xazin requested a review from LucasXu0 August 2, 2024 14:01
@zoli zoli force-pushed the feat/time-field-type-options branch 2 times, most recently from e0d6a4b to d4f7e8d Compare September 8, 2024 21:37
@zoli zoli force-pushed the feat/time-field-type-options branch from d4f7e8d to 2e88bd5 Compare September 8, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant