From 8144cc47ad39fa97aca452b20935ce5450dafca8 Mon Sep 17 00:00:00 2001 From: josephjclark Date: Wed, 12 Jun 2024 10:44:35 +0100 Subject: [PATCH] update default step text (#2196) * update default step text * fix case --- CHANGELOG.md | 1 + assets/js/editor/Editor.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35f6836e85..3285fa3669 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ and this project adheres to [#2066](https://github.com/OpenFn/lightning/issues/2066) - Return 415s when Webhooks are sent Content-Types what are not supported. [#2180](https://github.com/OpenFn/lightning/issues/2180) +- Updated the default step text ### Fixed diff --git a/assets/js/editor/Editor.tsx b/assets/js/editor/Editor.tsx index 50718b1d97..fa9a456b87 100644 --- a/assets/js/editor/Editor.tsx +++ b/assets/js/editor/Editor.tsx @@ -9,10 +9,10 @@ import { initiateSaveAndRun } from '../common'; // static imports for core lib import dts_es5 from './lib/es5.min.dts'; -export const DEFAULT_TEXT = `// Use pure JavaScript to add operations to your -// step. Click Docs to see list of operations or visit -// https://bit.ly/OFNJWG for our job writing guide -// and example job codes.\n`; +export const DEFAULT_TEXT = ` +// Check out the Job Writing Guide for help getting started: +// https://docs.openfn.org/documentation/jobs/job-writing-guide +`; type EditorProps = { source?: string;