Commit Graph

2638 Commits

Author SHA1 Message Date
James Ritchie 5368ee2b60 Show a message if you haven’t done runs yet 2023-11-30 18:18:35 +00:00
Matt Aitken a662431802 Merge remote-tracking branch 'origin/main' into features/billing
# Conflicts:
#	apps/webapp/package.json
#	pnpm-lock.yaml
2023-11-30 18:17:55 +00:00
James Ritchie 9ca47923b0 Removed the Job runs table 2023-11-30 18:08:01 +00:00
James Ritchie 5936f33a1d Use a custom lable for the concurrent runs chart 2023-11-30 18:06:29 +00:00
James Ritchie a8f75f7aea Fixed padding alignment 2023-11-30 18:06:08 +00:00
James Ritchie be51eb65c9 Simplified the plan summary info int the header 2023-11-30 18:05:53 +00:00
James Ritchie f559bb7fef billing now has a green theme 2023-11-30 16:24:47 +00:00
James Ritchie 68ceafa4d3 Added new concurrency chart to the usage page 2023-11-30 16:24:31 +00:00
James Ritchie cba1b36a21 Added container query support 2023-11-30 16:23:28 +00:00
James Ritchie 10fbd4a9ff Fixed some illegal markup when using tooltips 2023-11-30 12:53:16 +00:00
James Ritchie 5e511b94c0 Added pricing calculator to the plans page 2023-11-30 11:27:03 +00:00
James Ritchie 1359fc5bc1 made free a noun 2023-11-30 11:26:46 +00:00
James Ritchie 8ad9107598 Added meta info in the header for bill price, plan type and billing period 2023-11-30 11:04:39 +00:00
James Ritchie 00b61d3ad9 import cleanup 2023-11-30 11:04:11 +00:00
James Ritchie 5dda6cd16c Added the border to the page header on the Runs page
🚀 Publish Trigger.dev Docker / units (push) Failing after 4s
🚀 Publish Trigger.dev Docker / e2e (push) Failing after 3s
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 21s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
2023-11-30 10:32:38 +00:00
Matt Aitken 76b7fb2337 The status API endpoints return only the original set of statuses 2023-11-30 10:31:27 +00:00
James Ritchie 17f043bb00 Added new routes for the 2 new billing pages 2023-11-29 19:38:25 +00:00
James Ritchie ff178e10e7 Callouts fit the button size better 2023-11-29 19:37:31 +00:00
Eric Allam 41a49f6bb2 Make the run list query more efficient
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 0s
🚀 Publish Trigger.dev Docker / units (push) Failing after 4s
🚀 Publish Trigger.dev Docker / e2e (push) Failing after 4s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
2023-11-29 19:28:15 +00:00
James Ritchie 254ad74e5c Wording tweak 2023-11-29 18:06:57 +00:00
James Ritchie f19dddb855 Usage bars animate 2023-11-29 18:06:46 +00:00
James Ritchie 063fcdd3da Removed unused code 2023-11-29 18:06:29 +00:00
Eric Allam bd4bc51daa Update plain (#762)
* updated the plain SDK

* Updated the action to support the new Threads SDK

* latest lock file

---------

Co-authored-by: James Ritchie <james@jamesritchie.co.uk>
2023-11-29 10:58:06 +00:00
Eric Allam ff540c9e4a Revert "Update plain (#761)"
🚀 Publish Trigger.dev Docker / units (push) Failing after 0s
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 3s
🚀 Publish Trigger.dev Docker / e2e (push) Failing after 5s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
This reverts commit 3f217ff3e0.
2023-11-29 10:51:13 +00:00
Eric Allam 3f217ff3e0 Update plain (#761)
🚀 Publish Trigger.dev Docker / units (push) Failing after 0s
🚀 Publish Trigger.dev Docker / e2e (push) Failing after 0s
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 5s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
* updated the plain SDK

* Updated the action to support the new Threads SDK

---------

Co-authored-by: James Ritchie <james@jamesritchie.co.uk>
2023-11-29 10:49:37 +00:00
Eric Allam ca05d5f603 @trigger.dev/openai: Adding additional assistant tasks 2023-11-28 22:48:31 +00:00
nicktrn 1dcd87a2aa URI encode keys (#758) 2023-11-28 18:05:15 +00:00
Eric Allam 6ebd435e81 Feature: Run execution concurrency limits (#750)
* WIP execution concurrency controls implemented via Redis

- Split up resuming a run and executing a run
- Added some new statuses to better show what is going on in a run
- Removed preprocessing runs

* WIP

* Convert to using ZSETs and adding env vars

* Removed unused import

* Improve run number generation using advistory locks, and only on start

* More execution concurrency stuff

* Add support for job concurrency limits and concurrency limit groups

* Create wild-swans-battle.md

* Increase slots refresh timeout to 10s

* Try to fix Redis connection issues

* Don’t be so strict about the APP_ENV

* Add the blank tls option to the normal redis client as well

* Add docs
2023-11-28 16:21:06 +00:00
James Ritchie fa6b03f959 pricing tiers better fill the size of their container 2023-11-28 15:34:36 +00:00
James Ritchie 26445ca367 New onboarding choose plan page 2023-11-28 15:33:53 +00:00
Eric Allam caf203c084 Made webhook index stats optional
🚀 Publish Trigger.dev Docker / units (push) Failing after 4s
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 4s
🚀 Publish Trigger.dev Docker / e2e (push) Failing after 19s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
2023-11-28 15:04:24 +00:00
James Ritchie f2bf69b6c6 small improvements to the billing calculator 2023-11-28 14:33:00 +00:00
James Ritchie c8ac5d9f79 Added a tooltip to show the precise numbers in the chart 2023-11-28 14:22:23 +00:00
James Ritchie 86589f5971 Format numbers nicely 2023-11-28 14:22:04 +00:00
James Ritchie e7fa475913 tooltip takes classname 2023-11-28 14:21:44 +00:00
James Ritchie cc72f145d7 Added more examples of usage to storybook 2023-11-28 14:21:34 +00:00
James Ritchie 366a7dc351 Usage bar chart now supports a paying customer option and optional billing limit. Also added more usage examples to storybook 2023-11-28 12:07:09 +00:00
James Ritchie dd585f996b Moved the free plan usage bar into it’s own component and added it to storybook 2023-11-28 11:12:30 +00:00
James Ritchie 935849d169 Pricing calculator has better slider logic 2023-11-24 17:23:42 +00:00
James Ritchie 1769ccecfe The usage bar now works with the extra runs over the free limit 2023-11-24 17:23:12 +00:00
James Ritchie 8e71e41bd5 Better way to include the percentage in the free plan progress meter 2023-11-24 17:22:43 +00:00
James Ritchie 4e68a7d907 More examples of the usage bar 2023-11-24 17:21:55 +00:00
James Ritchie 54fbe4c3f5 Added the 4 progress bars 2023-11-24 15:34:36 +00:00
James Ritchie eb0df5e756 WIP usage progress bar 2023-11-24 15:18:34 +00:00
Eric Allam d56b2eded5 Features: new login page (#754)
* Initial commit and WIP new login page

* added wrapper to fix layout

* Improved the layout and style of the page

* Added a new extra-large button style (and added it to storybook)

* Moved the cusom onboarding style tooltip to the Tooltip component

* Populated the bento grid with items

* Imrpoved the quote styling

* Tooltip doesn’t stay if you mouse over it

* Added more content including a list of quote that cycle on page load

* New quote mark positioning

* Added the rest of the content to the tooltips

* Made the bento grid responsive

* Moved the login page layout to a seaparte component

* Login pages now use the new layout component

* Extra large button style tweak

* Match the large input style with the large button style

* Cleaned up imports and made the Ts & Cs text the same for magic links

* Layout fix

* Quotes don’t push content off the screen as much

* Added openai integration to the grid

* Make the quote fit if the screen height is narrower

* Style update to the magic link sent state

* Icon colour updates

* fixed text centering on mobile

* Icons are more responsive

* removed unnecessary w-fulls

* Added 2 onboarding questions

* Revalidate form on submit, not input

* Typo fixes

* Name field focuses by default

* Added conform to the employees question

* Update pnpm lock file

* Implement referral source and company size on managed cloud

* Fixed some type errors

---------

Co-authored-by: James Ritchie <james@jamesritchie.co.uk>
2023-11-24 14:08:50 +00:00
James Ritchie e27a6349ea An attempt to fix the step count in the calculator slider 2023-11-24 10:31:50 +00:00
nicktrn 067e19fec9 Feature: New Webhook Triggers, KV Store, and Shopify integration (#745)
* Attach webhook to http endpoint

* Create internal webhook handler job

* Fix delivery

* Add webhook trigger

* Index webhooks

* Fix webhook connect

* Webhook activation

* Rename to TriggerWebhook

* Save webhooks to index

* Extend register payload

* Revert attachSource

* Add update webhook helper

* Use crud interface for registration

* Remove filter from params

* Destructure options

* Missing ohash dep

* Chainable trigger filter

* Optional request verification

* Handler call with context

* Update config on register success

* Rename to webhookData

* Add basic key-value store

* Improve kv store

* Webhook trigger UI

* Webhook delivery UI

* Some fixes

* Airtable experiments

* Fix tabs transitions

* Only run register if config differs

* Use subtasks for delivery

* Missing dep

* Error handing and fixes

* Namespace cursor

* Fix hmac verification

* Gut Airtable

* Lockfile

* Template optional api key

* Template event sources and icons

* Template remove filter from params

* Fix models template

* Template fixme

* Fix webhook trigger header

* Actually send params for registration..

* Add back oauthed client

* Verify signature header encoding param

* Fix delivery context

* Webhook create retry with prior delete

* Webhook source type fixes

* Webhook config merge

* Update webhook icon

* Verify webhook task options

* Rename handler to generateEvents

* Send event icons

* Shopify with webhooks

* Shopify job-catalog entry

* Lockfile

* Add webhook migration

* Better icons

* Type fixes

* Make param type optional

* Scope type

* More examples

* More schemas

* Trigger catalog

* Bump versions

* Just a few more events they said

* Simplify session and config

* Typed serializer

* Fix payload type

* Remove unused getters

* Reduce logging output

* Rest resource tasks

* Lockfile

* Bump version

* Remaining triggers

* Fix event types

* Fix import

* Link from webhook trigger to http endpoint

* Use rest resource tasks for crud

* Fix rest save type

* Improve KV types

* Improve attach webhook logging

* Make header schema more lenient

* Fix save type again

* Final error callback

* Shorten keys

* Remove ohash diff

* Disable Airtable webhooks

* Webhook environments

* Fix shopify error import

* Link to integration and http endpoint

* Integration catalog entry

* Disable oauth

* Require api key, simplify client secret

* Move trigger types

* Update catalog example

* Small KV endpoint refactor

* Fix custom migration

* Webhook environment migration

* Improve crud types

* Remove unused schema

* Fix crud context type

* KV limits and HTTP verbs

* KV improvements

* Jobless webhook delivery

* Airtable delivery fixes

* Make deliveries sexy again

* Some docs

* Fix payload types.. again

* Final payload pass

* Schema cleanup

* Refactor handler service

* Remove more stale schemas

* registerJobNamespace import

* Expose KV on TriggerClient

* Remove dummy click handler

* Remove unused components

* Fix delivery pagination

* Enable registration rerun button

* Comment out registration route action handler

* Rename KV as not tied to IO anymore

* Swap api with trigger client

* Disabled fields param

* KV docs

* Changeset

* Shopify docs fixes
2023-11-24 10:22:12 +00:00
nicktrn 2cce68b5f7 Revert "Remove the pg listen code to see if it’s causing DB issues" (#749)
This reverts commit e8e7c116d1.
2023-11-24 09:30:48 +00:00
James Ritchie c08c38b568 Use the highest of 2 values to show progress 2023-11-23 16:41:04 +00:00
James Ritchie 7bb35d7c7c New progress meter in the side menu 2023-11-23 16:28:05 +00:00