-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore/dont open ports for preview envs (#138)
* π use experimental-https for dev server * π§ only include workspace symbols in search * πΈ prevent double submission with submit-button * β¨ interpret new lines as `<br>` in markdown * π some ui fixes * π§ wip * π§ some changes * π· only deploy :dev image for PRs * π§ editor work in progress * π· don't upload build SHA github artifacts * β¨ undo/redo + tab features * β¨ add quote/unquote toolbar action + fix preloading markdown * π disable toolbar buttons when not visible * β¨ add link done * π¨ always add trailing commas * β¨ strike through feature * β¨ handle pasting link into text area * βͺ don't always add trailing comma * π§ WIP : add lists * β¬οΈ upgrade next to canary * π§ some changes * π₯ remove unused code * π fix bug with dropdown not focusing the textarea again. * β»οΈ refactor * β¨ handle list with selected characters * π Fix list items styling * π remove button support * β»οΈ add more unsupported tags * β»οΈ non functionning preview, but no error * β»οΈ pass render markdown action from the root server component down * β‘οΈ fetch user and repository in parallel * π cut links off by 150 chars max * π tweak `h-` tags styling * β»οΈ don't put the promise into another transition * π correctly format quotes action * β»οΈ don't recreate the promise map on every render * π§ add some fuild font CSS * β»οΈ use `has` instead of `get` (same thing honestly)π€· * π fix markdown styling * π§ don't open all ports in preview envs
- Loading branch information
Showing
40 changed files
with
1,719 additions
and
327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,4 +46,5 @@ caddyfile.pr | |
pr.caddyfile | ||
*.bak | ||
*.log | ||
notes.md | ||
notes.md | ||
certificates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
"use server"; | ||
|
||
import { Markdown } from "~/components/markdown/markdown"; | ||
import { renderRSCtoString } from "~/components/custom-rsc-renderer/render-rsc-to-string"; | ||
|
||
export async function getMarkdownPreview( | ||
content: string, | ||
repositoryPath: `${string}/${string}` | ||
) { | ||
return await renderRSCtoString( | ||
<Markdown content={content} repository={repositoryPath} /> | ||
); | ||
} |
Oops, something went wrong.