From a5d829066377d4be2b2ca4b28759ecafe62e2624 Mon Sep 17 00:00:00 2001 From: Eric Allam Date: Wed, 1 Feb 2023 14:11:33 +0000 Subject: [PATCH 001/232] New emoji and fixed the runs image --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c3cb6e018..3954fda90 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ -# **⚑️ Trigger.dev** +# **✨ Trigger.dev** ### **The developer-first open source Zapier alternative.** @@ -172,7 +172,7 @@ new Trigger({ One of the most powerful features of Trigger.dev is the [runs page](https://docs.trigger.dev/viewing-runs). All of the steps in a workflow, including the initial event, can be viewed in detail. See the status / output of each step, the logs, rich previews, errors and much more. -![Viewing runs](https://mintlify.s3-us-west-1.amazonaws.com/api-hero/images/run-succeeded.png) +![Viewing runs](https://github.com/triggerdotdev/trigger.dev/raw/main/apps/docs/images/run-succeeded.png)   From ad70dbc5dd33ed0e10cef86dbbf1486cd4c33c3b Mon Sep 17 00:00:00 2001 From: Eric Allam Date: Thu, 2 Feb 2023 15:13:03 +0000 Subject: [PATCH 002/232] Read from the latest trigger messages when creating workflow trigger subscription --- apps/wss/src/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wss/src/server.ts b/apps/wss/src/server.ts index 2cf874cda..618e755b0 100644 --- a/apps/wss/src/server.ts +++ b/apps/wss/src/server.ts @@ -354,7 +354,7 @@ export class TriggerServer { topic: Topics.triggers, subscription: `websocketserver-${this.#workflowId}-${this.#apiKey}`, subscriptionType: "Shared", - subscriptionInitialPosition: "Earliest", + subscriptionInitialPosition: "Latest", }, handlers: { TRIGGER_WORKFLOW: async (id, data, properties, messageAttributes) => { From 5e7ff78f2366d629cad248325dfec6638a648ce7 Mon Sep 17 00:00:00 2001 From: James Ritchie Date: Thu, 9 Feb 2023 15:21:10 +0000 Subject: [PATCH 003/232] Setting up basic structure and components for the new Templates --- .../app/components/layout/MarketingHeader.tsx | 7 +++++++ .../components/templates/TemplatesGrid.tsx | 20 +++++++++++++++++++ apps/webapp/app/routes/__public.tsx | 18 +++++++++++++++++ apps/webapp/app/routes/__public/templates.tsx | 16 +++++++++++++++ .../app/routes/__public/templates/index.tsx | 4 ++++ 5 files changed, 65 insertions(+) create mode 100644 apps/webapp/app/components/layout/MarketingHeader.tsx create mode 100644 apps/webapp/app/components/templates/TemplatesGrid.tsx create mode 100644 apps/webapp/app/routes/__public.tsx create mode 100644 apps/webapp/app/routes/__public/templates.tsx create mode 100644 apps/webapp/app/routes/__public/templates/index.tsx diff --git a/apps/webapp/app/components/layout/MarketingHeader.tsx b/apps/webapp/app/components/layout/MarketingHeader.tsx new file mode 100644 index 000000000..99fcc4901 --- /dev/null +++ b/apps/webapp/app/components/layout/MarketingHeader.tsx @@ -0,0 +1,7 @@ +export function MarketingHeader() { + return ( +
+
Header items
+
+ ); +} diff --git a/apps/webapp/app/components/templates/TemplatesGrid.tsx b/apps/webapp/app/components/templates/TemplatesGrid.tsx new file mode 100644 index 000000000..b2b73e32b --- /dev/null +++ b/apps/webapp/app/components/templates/TemplatesGrid.tsx @@ -0,0 +1,20 @@ +export function TemplatesGrid() { + return ( +
+ + + + + + +
+ ); +} + +function TemplateCard() { + return ( +
+

build your card in here.

+
+ ); +} diff --git a/apps/webapp/app/routes/__public.tsx b/apps/webapp/app/routes/__public.tsx new file mode 100644 index 000000000..057908b84 --- /dev/null +++ b/apps/webapp/app/routes/__public.tsx @@ -0,0 +1,18 @@ +import { Outlet } from "@remix-run/react"; +import { AppBody, AppLayout } from "~/components/layout/AppLayout"; +import { Footer } from "~/components/layout/Footer"; +import { NoMobileOverlay } from "~/components/NoMobileOverlay"; +import { MarketingHeader } from "~/components/layout/MarketingHeader"; + +export default function Public() { + return ( + + + + + + +