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

Fix missing exported changes when batching operations #1294

Merged
merged 9 commits into from
Aug 3, 2023

Conversation

BrianHung
Copy link
Contributor

@BrianHung BrianHung commented Jul 31, 2023

Context

Fixes an issue where the wrong address key was being used (col, row) instead of (row, col).

72862d7#diff-85d401cfd01ec0afae371f4af4e54e3a13cc6bcefe1e2d411671c013acc8a8f6R67-R70

How did you test your changes?

Added two tests, one in content-changes.spec.ts and another in computation-suspension.spec.ts.

Types of changes

  • Breaking change (a fix or a feature because of which an existing functionality doesn't work as expected anymore)
  • New feature or improvement (a non-breaking change that adds functionality)
  • Bug fix (a non-breaking change that fixes an issue)
  • Additional language file, or a change to an existing language file (translations)
  • Change to the documentation

Related issues:

  1. Fixes [Bug]: Missing exported changes when batching operations #1291

Checklist:

  • I have reviewed the guidelines about Contributing to HyperFormula and I confirm that my code follows the code style of this project.
  • I have signed the Contributor License Agreement.
  • My change is compliant with the OpenDocument standard.
  • My change is compatible with Microsoft Excel.
  • My change is compatible with Google Sheets.
  • I described my changes in the CHANGELOG.md file.
  • My changes require a documentation update.
  • My changes require a migration guide.

Copy link
Contributor

@sequba sequba left a comment

Choose a reason for hiding this comment

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

Thank you for this contribution. Good job!

Just a few formalities before we can merge the pull request:

  • please add a changelog entry
  • please add a unit test that demonstrates the bug (it should fail before applying your fix). File computation-suspension.spec.ts seems to be the best place for it.

@sequba sequba added the CLA signed Required for PR label Aug 2, 2023
@sequba sequba changed the base branch from master to develop August 2, 2023 13:26
@sequba sequba changed the title fix address key bug in content changes Fix missing exported changes when batching operations Aug 2, 2023
@@ -8,7 +8,7 @@ more details.
## Demo

<iframe
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/2.5.x/angular-demo?autoresize=1
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/2.4.x/angular-demo?autoresize=1
Copy link
Contributor

Choose a reason for hiding this comment

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

Please pull the latest changes from develop

@BrianHung BrianHung requested a review from sequba August 3, 2023 01:17
@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Merging #1294 (f44381a) into develop (2b8e92e) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1294   +/-   ##
========================================
  Coverage    97.20%   97.20%           
========================================
  Files          167      167           
  Lines        14295    14295           
  Branches      3064     3064           
========================================
  Hits         13895    13895           
  Misses         395      395           
  Partials         5        5           
Files Changed Coverage Δ
src/ContentChanges.ts 100.00% <100.00%> (ø)

Copy link
Contributor

@sequba sequba left a comment

Choose a reason for hiding this comment

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

Great job, thank you!

@sequba sequba merged commit d076d1e into handsontable:develop Aug 3, 2023
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA signed Required for PR Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Missing exported changes when batching operations
3 participants