Skip to content

Conversation

@jonnyhork
Copy link
Contributor

What does this PR do?

Use Custom Select in the where component

What issues does this PR fix or reference?

@W-8616121@

@codecov
Copy link

codecov bot commented Feb 3, 2021

Codecov Report

Merging #161 (a6832d4) into develop (5bfbb2a) will decrease coverage by 0.25%.
The diff coverage is 97.29%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #161      +/-   ##
===========================================
- Coverage    94.69%   94.43%   -0.26%     
===========================================
  Files           64       64              
  Lines         2505     2517      +12     
  Branches       636      645       +9     
===========================================
+ Hits          2372     2377       +5     
- Misses         131      138       +7     
  Partials         2        2              
Flag Coverage Δ
language-server 98.32% <ø> (ø)
soql-builder-ui 90.74% <97.29%> (-0.59%) ⬇️
soql-model 96.39% <ø> (ø)

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

Impacted Files Coverage Δ
...rybuilder/whereModifierGroup/whereModifierGroup.ts 87.17% <97.29%> (-2.99%) ⬇️

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 5bfbb2a...a6832d4. Read the comment docs.

if (isMultiInput) {
const rawValues = splitMultiInputValues(normalizedInput);
const values = rawValues.map(value => {
const values = rawValues.map((value) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still wondering why your PR has added parens around these single argument values.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah we need to compare prettier/linter rules

|| operatorValue === 'NOT_IN'
|| operatorValue === 'INCLUDES'
|| operatorValue === 'EXCLUDES');
return (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

linter / prettier differences? Not the end of the world but seems like we keep having these type of diffs.

@dehru dehru merged commit 01e7bcb into develop Feb 3, 2021
@dehru dehru deleted the jhork/where_custom-select branch February 3, 2021 20:10
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.

2 participants