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

Add support for HYPERLINK (hyperformula) #1216

Merged
merged 16 commits into from
May 6, 2023

Conversation

thilgen
Copy link
Contributor

@thilgen thilgen commented Mar 29, 2023

Context

HYPERLINK is a formula provided by Google Sheets (documentation); MS Excel (documentation); and is included in the Open Document Format for Office Applications (documentation)

For more information

How has this been tested?

Unit Tests (100% coverage for new files and new paths*) and Test Application

Serialization.ts                          |     100 |    97.14 |     100 |     100 | 56                                                                                 
HyperlinkPlugin.ts                        |     100 |      100 |     100 |     100 |                                                                                    
index.ts                                  |     100 |      100 |     100 |     100 |                                                                                    

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. Add HYPERLINK Support #1215

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.

- prev impl did not work for any params to HYPERLINK that were not strings
- was also not a way that i could find to re parse the args from the Ast
- so stuffing the hyperlink into the FormulaCellVertex seemed to be the next best option
src/Serialization.ts Fixed Show fixed Hide fixed
@thilgen thilgen changed the title Add support for HYPERLINK Add support for HYPERLINK (hyperformula) Mar 29, 2023
@sequba sequba linked an issue Mar 29, 2023 that may be closed by this pull request
@sequba sequba changed the base branch from master to develop March 29, 2023 09:29
@sequba sequba added the CLA signed Required for PR label Mar 30, 2023
@sequba
Copy link
Contributor

sequba commented Apr 6, 2023

@thilgen Thank you very much for your involvement in the project. We need to focus on the scope of the upcoming release, and currently, we have no capacity to review your pull request. I can assure you that we will check it out as soon as we can.

@thilgen
Copy link
Contributor Author

thilgen commented Apr 10, 2023

TBD: Keyboard bindings, context menu, and docs

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.

@thilgen thank you. It wasn't clear to me, how to implement HYPERLINK in a headless engine but I like your solution.

src/i18n/languages/csCZ.ts Outdated Show resolved Hide resolved
src/Serialization.ts Show resolved Hide resolved
src/Serialization.ts Show resolved Hide resolved
src/interpreter/plugin/index.ts Outdated Show resolved Hide resolved
src/HyperFormula.ts Show resolved Hide resolved
src/HyperFormula.ts Show resolved Hide resolved
docs/guide/built-in-functions.md Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented May 6, 2023

Codecov Report

Merging #1216 (91b68e3) into develop (052212e) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1216   +/-   ##
========================================
  Coverage    97.18%   97.19%           
========================================
  Files          165      166    +1     
  Lines        14218    14238   +20     
  Branches      2961     2965    +4     
========================================
+ Hits         13818    13838   +20     
  Misses         400      400           
Impacted Files Coverage Δ
src/i18n/languages/csCZ.ts 100.00% <ø> (ø)
src/i18n/languages/daDK.ts 100.00% <ø> (ø)
src/i18n/languages/deDE.ts 100.00% <ø> (ø)
src/i18n/languages/enGB.ts 100.00% <ø> (ø)
src/i18n/languages/esES.ts 100.00% <ø> (ø)
src/i18n/languages/fiFI.ts 100.00% <ø> (ø)
src/i18n/languages/frFR.ts 100.00% <ø> (ø)
src/i18n/languages/huHU.ts 100.00% <ø> (ø)
src/i18n/languages/itIT.ts 100.00% <ø> (ø)
src/i18n/languages/nbNO.ts 100.00% <ø> (ø)
... and 11 more

@sequba sequba merged commit f6f0102 into handsontable:develop May 6, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add HYPERLINK Support
2 participants