Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add formula editor to create fields #619

Merged
merged 1 commit into from
Nov 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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