-
Notifications
You must be signed in to change notification settings - Fork 47
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] Evaluation: Remove old spreaded cells from spread relations #5225
Conversation
0b9b571
to
93adfb2
Compare
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.
small truc louche in the test
LGTM otherwise 👍
expect(model.getters.getCorrespondingFormulaCell({ sheetId, ...toCartesian("B1") })).toBe( | ||
model.getters.getCorrespondingFormulaCell({ sheetId, ...toCartesian("B1") }) |
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.
I fail to understand the purpose of this assertion 😅 It's comparing the same thing to itself.
Most probably you meant writing something else
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.
indeed, a bad move. Thankfully, the corrected version also works!
Currently, the spread relations of a spreaded formula are not invalidated. The evaluated value of the relation is currently properly invalidated so it's not posing any problem during the evaluation/display phase but some features rely specifically on the spreading relation (e.g. the pivot cells highlighting in the top bar) and the current situation leads to false positives (see attached test). Task: 4342240
93adfb2
to
a663403
Compare
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.
robodoo r+
Currently, the spread relations of a spreaded formula are not invalidated. The evaluated value of the relation is currently properly invalidated so it's not posing any problem during the evaluation/display phase but some features rely specifically on the spreading relation (e.g. the pivot cells highlighting in the top bar) and the current situation leads to false positives (see attached test). closes #5225 Task: 4342240 Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
Currently, the spread relations of a spreaded formula are not invalidated. The evaluated value of the relation is currently properly invalidated so it's not posing any problem during the evaluation/display phase but some features rely specifically on the spreading relation (e.g. the pivot cells highlighting in the top bar) and the current situation leads to false positives (see attached test).
Task: 4342240
Description:
description of this task, what is implemented and why it is implemented that way.
Task: TASK_ID
review checklist