From e24fbaeefcc418bcf556fb8d14954610916cff2e Mon Sep 17 00:00:00 2001 From: Thomas Honeyman Date: Fri, 16 Sep 2022 11:35:55 -0400 Subject: [PATCH 1/2] Update main example to note the URL contains code --- client/examples/Main.purs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/examples/Main.purs b/client/examples/Main.purs index 264976c9..e7f21d5e 100644 --- a/client/examples/Main.purs +++ b/client/examples/Main.purs @@ -14,7 +14,8 @@ main = , h2 (text "Examples") , list (map fromExample examples) , h2 (text "Share Your Code") - , p (text "A PureScript file can be loaded from GitHub from a gist or a repository. To share code using a gist, simply include the gist ID in the URL as follows:") + , p (text "The contents of the text editor are stored in the URL. To share your code you can simply copy the URL.") + , p (text "Additionally, a PureScript file can be loaded from GitHub from a gist or a repository. To share code using a gist, include the gist ID in the URL as follows:") , indent (p (code (text " try.purescript.org?gist="))) , p (fold [ text "The gist should contain PureScript module named " From fb91c6d7ca5559be8695efc52ee8df315dd13383 Mon Sep 17 00:00:00 2001 From: Thomas Honeyman Date: Fri, 16 Sep 2022 11:37:57 -0400 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52fe88b6..f976dc31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ New features: Bugfixes: Other improvements: +- Update main example to note that editor state is persisted in the URL (#300 by @thomashoneyman) ## [v2022-09-10.1](https://github.com/purescript/trypurescript/releases/tag/v2022-09-10.1)