[PR #2692] [MERGED] refactor: updated at and created at #5367

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/2692
Author: @appflowy
Created: 6/3/2023
Status: Merged
Merged: 6/3/2023
Merged by: @appflowy

Base: developHead: fix/auto_fill_create_time


📝 Commits (4)

  • feebb18 refactor: updated at and created at
  • 538c0cb chore: update patch ref
  • df0259e ci: fix tests
  • 93dfa6a Merge branch 'develop' into fix/auto_fill_create_time

📊 Changes

15 files changed (+210 additions, -135 deletions)

View changed files

📝 frontend/appflowy_tauri/src-tauri/Cargo.toml (+6 -6)
📝 frontend/rust-lib/Cargo.lock (+10 -10)
📝 frontend/rust-lib/Cargo.toml (+5 -5)
📝 frontend/rust-lib/flowy-database2/src/entities/field_entities.rs (+23 -20)
📝 frontend/rust-lib/flowy-database2/src/event_handler.rs (+5 -5)
📝 frontend/rust-lib/flowy-database2/src/services/cell/cell_operation.rs (+4 -20)
📝 frontend/rust-lib/flowy-database2/src/services/database/database_editor.rs (+91 -39)
📝 frontend/rust-lib/flowy-database2/src/services/database/util.rs (+3 -2)
📝 frontend/rust-lib/flowy-database2/src/services/field/type_options/date_type_option/date_type_option_entities.rs (+9 -0)
📝 frontend/rust-lib/flowy-database2/src/services/field/type_options/type_option.rs (+10 -3)
📝 frontend/rust-lib/flowy-database2/tests/database/block_test/row_test.rs (+27 -12)
📝 frontend/rust-lib/flowy-database2/tests/database/cell_test/test.rs (+5 -1)
📝 frontend/rust-lib/flowy-database2/tests/database/database_editor.rs (+2 -2)
📝 frontend/rust-lib/flowy-document2/src/parser/json/parser.rs (+5 -4)
📝 frontend/rust-lib/flowy-folder2/src/user_default.rs (+5 -6)

📄 Description

refactor:
The updatedAt and createdAt are reading the timestamp from the row instead of inserting a cell data.

fix #2643

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/2692 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 6/3/2023 **Status:** ✅ Merged **Merged:** 6/3/2023 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `develop` ← **Head:** `fix/auto_fill_create_time` --- ### 📝 Commits (4) - [`feebb18`](https://github.com/AppFlowy-IO/AppFlowy/commit/feebb183b8a87ac9d05a0e4bb7f664bdd3f4ae1d) refactor: updated at and created at - [`538c0cb`](https://github.com/AppFlowy-IO/AppFlowy/commit/538c0cb7e9014aca5f69fcb4b13d84722b73f8c0) chore: update patch ref - [`df0259e`](https://github.com/AppFlowy-IO/AppFlowy/commit/df0259e9b94f8f6ddf9b3ec582805852db16d132) ci: fix tests - [`93dfa6a`](https://github.com/AppFlowy-IO/AppFlowy/commit/93dfa6a4037ce0168690c29387c6e6215d53b9c6) Merge branch 'develop' into fix/auto_fill_create_time ### 📊 Changes **15 files changed** (+210 additions, -135 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_tauri/src-tauri/Cargo.toml` (+6 -6) 📝 `frontend/rust-lib/Cargo.lock` (+10 -10) 📝 `frontend/rust-lib/Cargo.toml` (+5 -5) 📝 `frontend/rust-lib/flowy-database2/src/entities/field_entities.rs` (+23 -20) 📝 `frontend/rust-lib/flowy-database2/src/event_handler.rs` (+5 -5) 📝 `frontend/rust-lib/flowy-database2/src/services/cell/cell_operation.rs` (+4 -20) 📝 `frontend/rust-lib/flowy-database2/src/services/database/database_editor.rs` (+91 -39) 📝 `frontend/rust-lib/flowy-database2/src/services/database/util.rs` (+3 -2) 📝 `frontend/rust-lib/flowy-database2/src/services/field/type_options/date_type_option/date_type_option_entities.rs` (+9 -0) 📝 `frontend/rust-lib/flowy-database2/src/services/field/type_options/type_option.rs` (+10 -3) 📝 `frontend/rust-lib/flowy-database2/tests/database/block_test/row_test.rs` (+27 -12) 📝 `frontend/rust-lib/flowy-database2/tests/database/cell_test/test.rs` (+5 -1) 📝 `frontend/rust-lib/flowy-database2/tests/database/database_editor.rs` (+2 -2) 📝 `frontend/rust-lib/flowy-document2/src/parser/json/parser.rs` (+5 -4) 📝 `frontend/rust-lib/flowy-folder2/src/user_default.rs` (+5 -6) </details> ### 📄 Description refactor: The updatedAt and createdAt are reading the timestamp from the row instead of inserting a cell data. fix #2643 #### PR Checklist - [ ] My code adheres to the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [ ] 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:25 +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#5367
No description provided.