Skip to content

Commit

Permalink
Added formula editor to create fields
Browse files Browse the repository at this point in the history
Allow evaluating formula fields when creating new fields to make it more likely the formula is valid

Added icons to all card pages

resolves #556
  • Loading branch information
paustint committed Nov 26, 2023
1 parent 0674f36 commit ebdec9e
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 ebdec9e

Please sign in to comment.