Skip to content

Commit

Permalink
fix css apex runner and cleanup TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
dufoli committed Mar 28, 2024
1 parent dba632e commit cf1b318
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions addon/apex-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -936,9 +936,9 @@ class App extends React.Component {
h("div", {className: "area"},
h("div", {className: "area-header"},
),
h("div", {className: "script-controls"},
h("div", {className: "query-controls"},
h("h1", {}, "Execute Script"),
h("div", {className: "script-history-controls"},
h("div", {className: "query-history-controls"},
h("select", {value: "", onChange: this.onSelectScriptTemplate, className: "script-history", title: "Check documentation to customize templates"},
h("option", {value: null, disabled: true, defaultValue: true, hidden: true}, "Templates"),
model.scriptTemplates.map(q => h("option", {key: q, value: q}, q))
Expand Down
2 changes: 0 additions & 2 deletions addon/data-export.js
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,6 @@ class Model {
}
}
if (beforeSel.toUpperCase().startsWith("WITH")) {
//TODO detailed all case of intellisens around WITH
vm.autocompleteResults = {
sobjectName: "",
title: "Suggestions:",
Expand Down Expand Up @@ -1335,7 +1334,6 @@ class Model {
return formatedQuery;
}
cleanupQuery(query) {
// TODO we need real parsing because if comment is inside string we need to skip it
if (query && !query.includes("//") && !query.includes("/*")) {
return query;
}
Expand Down
4 changes: 2 additions & 2 deletions addon/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ class Model {
}
}
//TODO l[2] =line number
//TODO l[3] =log level
//l[3] =log level
switch (l[1]) {
//EXECUTION_STARTED EXECUTION_FINISHED
case "CODE_UNIT_STARTED": {
Expand Down Expand Up @@ -486,7 +486,7 @@ class Model {
}
break;
} case "LIMIT_USAGE_FOR_NS": {
//TODO parse
//for human read only
/*
LIMIT_USAGE_FOR_NS|(default)|
Number of SOQL queries: 0 out of 100
Expand Down

0 comments on commit cf1b318

Please sign in to comment.