Matt Aitken
9ff4c0dbd5
Project-wide Prettier setup ( #237 )
...
* Setup project-wide prettier
* Remove old workspace file
* Remove old debugging directives
* New top-level .prettierignore
* Updated Prettier config settings
* Contrubuting guide: Fix for some bad code blocks
* Added more ignores
* Improved the format script command
* printWidth set to 100
* Formatted entire repo (pnpm run format)
2023-08-01 10:21:22 +01:00
Matt Aitken
605a38d8ab
Trying to make a good layout for the test page
2023-06-13 18:16:07 +01:00
Matt Aitken
81912b2530
Test page is working with a ref
2023-06-13 15:52:58 +01:00
Matt Aitken
2db2e7a369
First version of the Test page with example and environment selection
2023-06-13 15:52:58 +01:00
Matt Aitken
ad48f9bb19
slate-1000 and slate-950 replaced with midnight-900 and midnight-850
2023-06-06 17:25:14 +01:00
James Ritchie
6947292adf
Inline code component now has size variants to match the paragraph it’s inlined with
2023-06-01 15:58:17 +01:00
Matt Aitken
224e5e412a
Fix for JSONEditor errors
2023-05-25 12:54:09 +01:00
James Ritchie
4c889cf6f0
Changed the icon in the code block for copy/paste
2023-05-12 16:52:38 +01:00
Matt Aitken
77046470ea
Added optional chrome to the CodeBlock
2023-05-11 13:43:42 +01:00
Matt Aitken
83b79610af
Line highlighting now takes ranges
2023-05-11 10:50:57 +01:00
Matt Aitken
4fa3ea2491
Improved size of clipboard icon
2023-05-11 09:48:06 +01:00
Matt Aitken
7a4742a314
Made inline code sky blue
2023-05-11 09:48:06 +01:00
Matt Aitken
35fce5a89d
Inline code style updated and created a story
2023-05-11 08:38:14 +01:00
Matt Aitken
b1cf4cc042
Created a form story
2023-05-10 19:37:56 +01:00
Matt Aitken
85f7ad871d
You can set the max lines to display on a CodeBlock
2023-05-10 18:44:15 +01:00
Matt Aitken
bfac524c75
Getting the copy button to work well
2023-05-10 18:20:30 +01:00
Matt Aitken
2a93c10828
Set the default language to TypeScript
2023-05-10 17:45:54 +01:00
Matt Aitken
833c509606
CodeBlock working well, except syntax highlighting is broken somehow
2023-05-10 17:44:49 +01:00
Matt Aitken
1b010571c9
CodeBlock is working with the @mantine/prism package
2023-05-10 15:39:40 +01:00
Matt Aitken
2765fe12cd
Tidied up more old components
2023-05-10 08:44:45 +01:00
Matt Aitken
60309677fe
Deleted a ton of old components, started tidying things up
2023-05-09 18:50:46 +01:00
Matt Aitken
9da448a21b
The code block now works with jsx/tsx
2023-02-16 15:22:41 +00:00
Matt Aitken
ad26302925
Fixed all liniting issues, almost all unused imports or type imports
2023-02-10 10:23:05 +00:00
James Ritchie
b72d63bdd2
Moved inline tab style to new component
2023-02-03 13:23:40 +00:00
James Ritchie
e77bfc77e0
more style improvements
2023-02-02 19:38:17 +00:00
Eric Allam
5035e10f11
Fix issue with zod schemas getting serialized through loaders and causing mucho errors
...
Create SerializableProvider and omit non-serializable data from getProviders
2023-01-29 07:04:51 +00:00
D-K-P
769de0f875
Added line numbers to code block
2023-01-19 17:04:34 -08:00
Matt Aitken
125aafe79a
Made providers a public package: @trigger.dev/providers
2023-01-14 15:42:39 +00:00
James Ritchie
cb8044d445
Added temporary new icons for the trigger types
2023-01-11 15:34:36 +00:00
James Ritchie
0b8d168722
Tweaked code mirror theme selection colour
2023-01-09 18:36:01 +00:00
James Ritchie
f9b43645c7
Expand button padding tweak
2023-01-09 17:46:55 +00:00
Matt Aitken
af326df070
internal-providers package now uses a JavaScript object instead of YML
2023-01-09 12:48:00 +00:00
Matt Aitken
d463a60ff2
Renamed package “internal-integrations” to “internal-providers”
2023-01-09 12:48:00 +00:00
James Ritchie
61bbe89ec0
Added sizes to the api logo icons
2023-01-08 19:00:10 +00:00
James Ritchie
e525b65a8b
Created a reusable Integrations logo icon
2023-01-05 13:40:00 +00:00
Matt Aitken
d844b07e6e
Code block collapses as well as expands
2022-12-30 19:15:20 +00:00
Matt Aitken
09b453b6d6
Made the JSON editor background color match the Prism theme (i.e. darker)
2022-12-29 14:40:19 +00:00
Matt Aitken
f0fcab67f4
Added a test JSON editor to the workflow page, not working yet
2022-12-28 17:21:48 +00:00
Matt Aitken
a80cfe1b8b
Put a max height on a code block with expand functionality
2022-12-28 16:30:43 +00:00
Matt Aitken
db8c4e481b
Improved the alignment of the code block when top aligned
2022-12-21 13:59:40 +00:00
James Ritchie
4abfaffc2a
Added an error code block to the error node
2022-12-20 11:47:29 +00:00
Matt Aitken
9166ee4c23
Added an optional copy code button in the prisma component
2022-12-20 10:11:03 +00:00
Matt Aitken
d2477b2a67
Added explicit typescript and json languages to the code block
2022-12-19 16:32:24 +00:00
Matt Aitken
ec54b2858d
Render the code manually so we don’t get issues with server and client mismatch
2022-12-19 16:27:51 +00:00
Matt Aitken
9eabadc393
Moved the typescript prisma plugin into the CodeBlock file
2022-12-19 16:20:59 +00:00
Matt Aitken
dad0c6d0e6
Fix for Prismjs Remix server/client mismatch error. But it has a horrible flash when the page loads
2022-12-19 16:19:20 +00:00
James Ritchie
1f57ec591f
Prism theme improvement
2022-12-16 15:38:33 +00:00
James Ritchie
bcd07fe768
Renamed filename to be correct casing
2022-12-16 11:48:54 +00:00
James Ritchie
1075c474c6
Forcing a file rename
2022-12-16 11:47:38 +00:00
James Ritchie
e643cf26d4
Made typescript the default language for the codeBlock component
2022-12-16 11:38:34 +00:00