Skip to content

Commit

Permalink
Merge pull request #619 from jetstreamapp/feat/556
Browse files Browse the repository at this point in the history
Add formula editor to create fields
  • Loading branch information
paustint authored Nov 26, 2023
2 parents 0674f36 + ebdec9e commit ad57345
Show file tree
Hide file tree
Showing 25 changed files with 960 additions and 215 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,6 @@ export const AnonymousApex: FunctionComponent<AnonymousApexProps> = () => {
window.open(loginUrl, 'Developer Console', 'height=600,width=600');
}

function handleLogLevelChange(event: React.ChangeEvent<HTMLSelectElement>) {
setLogLevel(event.target.value);
}

return (
<AutoFullHeightContainer fillHeight bottomBuffer={10} setHeightAttr className="slds-p-horizontal_x-small slds-scrollable_none">
<Split
Expand All @@ -230,6 +226,7 @@ export const AnonymousApex: FunctionComponent<AnonymousApexProps> = () => {
<div className="slds-p-horizontal_x-small">
<Card
className="h-100"
icon={{ type: 'standard', icon: 'apex' }}
title={
<Grid vertical>
<div>Anonymous Apex</div>
Expand Down Expand Up @@ -288,6 +285,7 @@ export const AnonymousApex: FunctionComponent<AnonymousApexProps> = () => {
<div className="slds-p-horizontal_x-small slds-is-relative">
<Card
className="h-100"
icon={{ type: 'standard', icon: 'outcome' }}
title={
<div>
Results
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,11 @@ export const CreateFields: FunctionComponent<CreateFieldsProps> = () => {
{rows.map((row, i) => (
<CreateFieldsRow
key={row._key}
rows={rows}
rowIdx={i}
enableDelete={rows.length > 1}
selectedOrg={selectedOrg}
selectedSObjects={selectedSObjects}
values={row}
allValid={row._allValid}
onChange={(field, value) => changeRow(row._key, field, value)}
Expand Down
Loading

0 comments on commit ad57345

Please sign in to comment.