-
Notifications
You must be signed in to change notification settings - Fork 39
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
188497528 case tile filter formula editor #1617
Conversation
Adds new formula editor modal to the map inspector panel Note that filtering isn't implemented
…nd function in their elements.
codap-v3 Run #5210
Run Properties:
|
Project |
codap-v3
|
Branch Review |
main
|
Run status |
Passed #5210
|
Run duration | 01m 52s |
Commit |
dc370b988e: 188497528 case tile filter formula editor (#1617)
|
Committer | Evangeline Ireland |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
3
|
View all changes introduced in this branch ↗︎ |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1617 +/- ##
==========================================
- Coverage 85.68% 85.54% -0.14%
==========================================
Files 600 600
Lines 30332 30337 +5
Branches 7749 7760 +11
==========================================
- Hits 25989 25951 -38
+ Misses 4188 4004 -184
- Partials 155 382 +227
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
👍 Looks good -- nice cleanup
// addNewAttribute(collectionIndex = 1) { | ||
// table.addNewAttribute(collectionIndex) | ||
// }, | ||
// renameAttribute(currentAttributeName: string, newAttributeName: string, collectionIndex = 1) { | ||
// table.renameAttribute(currentAttributeName, newAttributeName, collectionIndex) | ||
// }, | ||
// deleteAttribute(attributeName: string, collectionIndex = 1) { | ||
// table.deleteAttribute(attributeName, collectionIndex) | ||
// }, | ||
// addFormula(attributeName: string, formula: string, collectionIndex = 1) { | ||
// table.addFormula(attributeName, formula, collectionIndex) | ||
// }, | ||
// verifyValues(attributeName: string, values: Array<any>, collectionIndex = 1) { | ||
// table.verifyFormulaValues(attributeName, values, collectionIndex) | ||
// }, | ||
// checkFormulaExists(attributeName: string, formula: string, collectionIndex = 1) { | ||
// table.checkFormulaExists(attributeName, formula, collectionIndex) | ||
// }, | ||
// editFormula(attributeName: string, formula: string, collectionIndex = 1) { | ||
// table.editFormula(attributeName, formula, collectionIndex) | ||
// }, | ||
// createNewDataset() { | ||
// table.createNewTableFromToolShelf() | ||
// }, | ||
// insertCases(rowIndex: number, numOfCases: number) { | ||
// table.openIndexMenuForRow(rowIndex) | ||
// table.insertCases(numOfCases, "after") | ||
// }, | ||
// changeSliderVariableName(sliderVariableName: string) { | ||
// slider.changeVariableName(sliderVariableName) | ||
// }, | ||
// changeSliderValue(sliderValue: string) { | ||
// slider.changeVariableValue(sliderValue) | ||
// }, | ||
// addSlider() { | ||
// c.getIconFromToolShelf("slider").click() | ||
// }, | ||
// deleteSlider() { | ||
// c.closeComponent("slider") | ||
// }, |
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.
// addNewAttribute(collectionIndex = 1) { | |
// table.addNewAttribute(collectionIndex) | |
// }, | |
// renameAttribute(currentAttributeName: string, newAttributeName: string, collectionIndex = 1) { | |
// table.renameAttribute(currentAttributeName, newAttributeName, collectionIndex) | |
// }, | |
// deleteAttribute(attributeName: string, collectionIndex = 1) { | |
// table.deleteAttribute(attributeName, collectionIndex) | |
// }, | |
// addFormula(attributeName: string, formula: string, collectionIndex = 1) { | |
// table.addFormula(attributeName, formula, collectionIndex) | |
// }, | |
// verifyValues(attributeName: string, values: Array<any>, collectionIndex = 1) { | |
// table.verifyFormulaValues(attributeName, values, collectionIndex) | |
// }, | |
// checkFormulaExists(attributeName: string, formula: string, collectionIndex = 1) { | |
// table.checkFormulaExists(attributeName, formula, collectionIndex) | |
// }, | |
// editFormula(attributeName: string, formula: string, collectionIndex = 1) { | |
// table.editFormula(attributeName, formula, collectionIndex) | |
// }, | |
// createNewDataset() { | |
// table.createNewTableFromToolShelf() | |
// }, | |
// insertCases(rowIndex: number, numOfCases: number) { | |
// table.openIndexMenuForRow(rowIndex) | |
// table.insertCases(numOfCases, "after") | |
// }, | |
// changeSliderVariableName(sliderVariableName: string) { | |
// slider.changeVariableName(sliderVariableName) | |
// }, | |
// changeSliderValue(sliderValue: string) { | |
// slider.changeVariableValue(sliderValue) | |
// }, | |
// addSlider() { | |
// c.getIconFromToolShelf("slider").click() | |
// }, | |
// deleteSlider() { | |
// c.closeComponent("slider") | |
// }, |
Changes case table/card edit filter formula modal to use the regular formula editor modal.
Refactored Cypress formula-helper.ts to avoid circular reference between table and the helper.