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
Array CRUDs improvements (part #1) #708
Conversation
@@ -151,6 +160,11 @@ export class MatrixVertex extends FormulaVertex { | |||
} | |||
} | |||
|
|||
setNoSpace(): InterpreterValue { | |||
this.matrix = new ErroredMatrix(new CellError(ErrorType.REF, ErrorMessage.NoSpaceForArrayResult), MatrixSize.error()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we provide some additional info to the error, as width
and height
that would allow to display it as shown on the screenshot?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be a SPILL error type?
GS would return REF and that's what I followed. Do we want to introduce new error type at this moment?
Can we provide some additional info to the error, as width and height that would allow to display it as shown on the screenshot?
It would be a nice feature indeed but right now we do not store any additional data inside errors except address of a root of a problem. I would save it for the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be a SPILL error type?
GS would return REF and that's what I followed. Do we want to introduce new error type at this moment?
Yes, please. It will be an additional information that helps to differentiate them. ODFF allows vendors to introduce custom errors.
Can we provide some additional info to the error, as width and height that would allow to display it as shown on the screenshot?
It would be a nice feature indeed but right now we do not store any additional data inside errors except address of a root of a problem. I would save it for the future.
Ok 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
This pull request introduces 1 alert when merging b5b2318 into cc23e19 - view on LGTM.com new alerts:
|
b5b2318
to
c027918
Compare
This pull request introduces 1 alert when merging c027918 into cc23e19 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 92a04a2 into cc23e19 - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you 🏆
This pull request introduces 1 alert and fixes 2 when merging 878265a into 8914f4a - view on LGTM.com new alerts:
fixed alerts:
|
This pull request fixes 2 alerts when merging a58b89f into 8914f4a - view on LGTM.com fixed alerts:
|
This pull request fixes 2 alerts when merging 0a3ca63 into 880126e - view on LGTM.com fixed alerts:
|
Context
This is a first part of improvements of CRUD operations with array formulas.
Splitted, as it is already huge PR. Should be merged with second part (#732).
How has this been tested?
Types of changes
Related issue(s):
Checklist: