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: calculations #4473

Merged
merged 31 commits into from
Feb 3, 2024
Merged

Conversation

Xazin
Copy link
Collaborator

@Xazin Xazin commented Jan 23, 2024

Relates: AppFlowy-IO/AppFlowy-Collab#152

Feature Preview


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.

) -> FlowyResult<()> {
self
.delegate
.remove_calculation(&params.view_id, &params.calculation_id);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about returning the Calculation after calling the remove_calculation

@Xazin Xazin force-pushed the feat/calculation-controller branch from 8b18e18 to 7c20f14 Compare January 25, 2024 21:34
@Xazin Xazin requested a review from appflowy January 25, 2024 21:43
@appflowy appflowy marked this pull request as ready for review January 30, 2024 18:35
@appflowy appflowy merged commit 5cbc8b1 into AppFlowy-IO:main Feb 3, 2024
16 checks passed
LucasXu0 pushed a commit to LucasXu0/AppFlowy that referenced this pull request Feb 18, 2024
* feat: initial calculation controller

* fix: entities

* feat: calculations

* fix: review comments and support floats

* fix: abstract business logic into calculations service

* fix: clean calculation entities after merge

* feat: react to changes to row/cell/field_type

* chore: changes after merging main

* feat: handle delete field

* test: add grid calculations tests

* fix: add validation + format numbers

* refactor: get cell number

* chore: bump collab

* chore: fix clippy

* chore: update docs

* chore: update docs

* chore: fmt

* chore: fix flutter

* chore: collab rev

* fix: cleanup and hover to show

* fix: localization

* test: add basic rust test

* fix: clippy

* fix: support updating calculation on duplicate row

---------

Co-authored-by: nathan <nathan@appflowy.io>
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.

2 participants