Skip to content

JS Export Missing: CellError - #1233

Merged
sequba merged 3 commits into
handsontable:developfrom
thilgen:missing-export-cell-error
Apr 7, 2023
Merged

sequba merged 3 commits into
handsontable:developfrom
thilgen:missing-export-cell-error

Conversation

@thilgen

@thilgen thilgen commented Apr 7, 2023 •

Copy link
Copy Markdown
Contributor

Context

CellError is missing from JS exports.

This means that if your solution is developed entirely in the front-end you cannot properly make us of CellError when implementing a Custom Function / FunctionPlugin per these instructions in the HyperFormula Guide: Custom Functions

Steps to reproduce

  1. JSFiddle: hyperformula-cell-error-export

  2. Modify the zero-check in the checkValue function to observe the error

    Note: JSFiddle doesn't show the full error in their console. However you can see the error more clearly when running in Chrome

    image

How did you test your changes?

  • npm:test / npm:bundle-all
  • Verified that CellError is now included in HyperFormulaNS in dist/hyperformula.full.js

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. JS Export Missing: CellError #1232

Checklist:

  • My change is compliant with the OpenDocument standard.
  • My change is compatible with Microsoft Excel.
  • My change is compatible with Google Sheets.
  • My code follows the code style of this project.
  • I described my changes in the CHANGELOG.md file.
  • My changes require a documentation update.
  • My changes require a migration guide.

@codecov

codecov Bot commented Apr 7, 2023

Copy link
Copy Markdown

Codecov Report

Merging #1233 (c685a62) into develop (5524348) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1233   +/-   ##
========================================
  Coverage    96.70%   96.70%           
========================================
  Files          165      165           
  Lines        14218    14219    +1     
  Branches      2961     3021   +60     
========================================
+ Hits         13749    13750    +1     
+ Misses         469      455   -14     
- Partials         0       14   +14     
Impacted Files Coverage Δ
src/index.ts 100.00% <100.00%> (ø)

... and 5 files with indirect coverage changes

@sequba sequba added the CLA signed Required for PR label Apr 7, 2023
@sequba sequba linked an issue Apr 7, 2023 that may be closed by this pull request

@sequba sequba left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Thanks @thilgen

@sequba
sequba merged commit 084e858 into handsontable:develop Apr 7, 2023
@thilgen
thilgen deleted the missing-export-cell-error branch April 26, 2023 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA signed Required for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JS Export Missing: CellError

2 participants