From 0450ee674247bb429972d0b696024eb0b515f258 Mon Sep 17 00:00:00 2001 From: soetop <81572453+soetop@users.noreply.github.com> Date: Sun, 31 Oct 2021 00:27:13 +0630 Subject: [PATCH] Flip issue #21, milestone #1 by Squidplay team Flip issue #21, milestone #1 by Squidplay team --- .../squidplay/flip-21-ms1-squidplay.md | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 submissions/issue-21/milestone-1/squidplay/flip-21-ms1-squidplay.md diff --git a/submissions/issue-21/milestone-1/squidplay/flip-21-ms1-squidplay.md b/submissions/issue-21/milestone-1/squidplay/flip-21-ms1-squidplay.md new file mode 100644 index 00000000..081dabcf --- /dev/null +++ b/submissions/issue-21/milestone-1/squidplay/flip-21-ms1-squidplay.md @@ -0,0 +1,21 @@ +# UI for multiple contracts + +Contracts are proposed to be put as horizontal tabs above the Cadence editor following familiar UX of various code editors such as VS Code. It is also to overloading links on the sidebar along with accounts, transaction templates and script templates. + +- Initial mockup: https://user-images.githubusercontent.com/81572453/139025502-7b69fe75-8be4-4255-95c5-a8efa6f2f0de.png +- Prototype: https://youtu.be/Od1YxuHA0iA + +# Backend changes + +New contract schema will be introduced and relevant code changes will be made. + +''' +type Contract { + id: UUID! + accountId: UUID + index: Int! + title: String! + script: String! + deployedScript: String +} +''' \ No newline at end of file