Skip to content

Conversation

@dehru
Copy link
Contributor

@dehru dehru commented Feb 2, 2021

What does this PR do?

This is the pull request to add all the feature/where work to the ui.

What issues does this PR fix or reference?

@W-8801812@
@W-8675683@
@W-8675699@
...plus many others

jonnyhork and others added 9 commits December 16, 2020 10:58
…105)

* reducing the need to re-render the ui if soql statement has not changed
* move check to reduce message parsing
* Utility to return field type from SObject metadata
* type-aware input validation
* boolean input initialization
* integer and float input validation
* Validation for picklists and dates
* validation of currency literals
* Recognize recoverable WHERE clause errors
* update script to handle missing orderBy
* tooltip with animation

* remove unnecessary things
* Support IN, NOT IN, INCLUDES, EXCLUDES in model
* Use SOQL model in UI for WHERE
* Validation for multi-value operators
@codecov
Copy link

codecov bot commented Feb 2, 2021

Codecov Report

Merging #154 (9c89026) into develop (4ebe551) will increase coverage by 6.11%.
The diff coverage is 94.86%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #154      +/-   ##
===========================================
+ Coverage    88.55%   94.66%   +6.11%     
===========================================
  Files           48       61      +13     
  Lines         1773     2456     +683     
  Branches       418      627     +209     
===========================================
+ Hits          1570     2325     +755     
+ Misses         201      129      -72     
  Partials         2        2              
Flag Coverage Δ
language-server 98.25% <ø> (ø)
soql-builder-ui 91.50% <91.40%> (-0.46%) ⬇️
soql-model 96.29% <98.29%> (+15.97%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...rc/modules/querybuilder/services/telemetryUtils.ts 100.00% <ø> (ø)
packages/soql-model/src/model/impl/index.ts 100.00% <ø> (ø)
packages/soql-model/src/model/util.ts 96.25% <33.33%> (-2.47%) ⬇️
...-ui/src/modules/querybuilder/services/soqlUtils.ts 84.87% <76.05%> (-11.68%) ⬇️
...rybuilder/whereModifierGroup/whereModifierGroup.ts 90.16% <90.16%> (ø)
...kages/soql-model/src/validators/stringValidator.ts 94.73% <94.73%> (ø)
packages/soql-model/src/validators/validator.ts 95.45% <95.45%> (ø)
packages/soql-model/src/validators/inputUtils.ts 96.87% <96.87%> (ø)
...kages/soql-model/src/serialization/deserializer.ts 94.37% <99.21%> (+31.33%) ⬆️
...oql-builder-ui/src/modules/querybuilder/app/app.ts 87.85% <100.00%> (+1.11%) ⬆️
... and 36 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ebe551...9c89026. Read the comment docs.

@dehru dehru merged commit 128cfd3 into develop Feb 2, 2021
@dehru dehru deleted the feature/where branch February 2, 2021 22:33
dehru added a commit that referenced this pull request Feb 2, 2021
dehru added a commit that referenced this pull request Feb 2, 2021
@dehru dehru restored the feature/where branch February 2, 2021 23:08
dehru added a commit that referenced this pull request Feb 5, 2021
* Jhork: Support for Simple WHERE Expressions (#101)
* move rule to css common (#108)
* Preventing webview re-rendering when soql statement has not changed (#105)
* Revert "Disable WHERE in model (#113)"
* Type-aware where (#109)
* Fix preview not updating when autosave is off - issue 120 (#125)
* Recognize recoverable where errors (#116)
* Operator and Criteria Error Tooltips (#122)
* Support IN, NOT IN, INCLUDES, EXCLUDE operators (#123)
* Add smarter completin on GROUP BY clause and WHERE literals (#126)
* Feature/custom select (#148)
* Jhork/custom select fields (#111)
* Jhork/custom select from (#130)
* Jhork/custom select order by (#134)
* set the error overlay to be on top of all other form elements (#150)
* prepare to publish 0 .0.30 (#151)
* Feature/where (#154)
* Jhork: Support for Simple WHERE Expressions (#101)
* move rule to css common (#108)
* Preventing webview re-rendering when soql statement has not changed (#105)
* Revert "Disable WHERE in model (#113)"
* Type-aware where (#109)
* Recognize recoverable where errors (#116)
* Operator and Criteria Error Tooltips (#122)
* Support IN, NOT IN, INCLUDES, EXCLUDE operators (#123)
* Revert "Feature/where (#154)" (#157)
* Add support for line comments ( `//` ) at the top of SOQL files (#132)
* Jhork/where custom select (#161)
* Fix: 'undefined' in SOQL string (#162)
* Clear tooltip when object changes, fix empty soql statement error blocker (#165)
* Track to force render on condition change - fix rebase conflict (#166)
* do not send event when user still adding input' (#169)
* Jhork/clear modifier field bug fix (#168)
* handle a option selection event (#178)
* cler tooltip error when X is clicked (#180)
* Jhork/workflow updates (#163)
* Bump versions for release (#181)

Co-authored-by: Jonny Hork <jhork@salesforce.com>
Co-authored-by: dehru <599418+dehru@users.noreply.github.com>
Co-authored-by: Dehru Cromer <dehru.cromer@salesforce.com>
Co-authored-by: Fernando Dobladez <fernandodobladez@salesforce.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants