manifold/common/util
Austin Chen 9eff69be75
Add /createcomment API endpoint (#946)
* /dream api: Upload StableDiffusion image to Firestore

* Minor tweaks

* Set content type on uploaded image

This makes it so the image doesn't auto-download when opened in a new tab

* Allow users to dream directly from within Manifold

* Remove unused import

* Implement a /comment endpoint which supports html and markdown

* Upgrade @tiptap/core to latest

* Update all tiptap deps to beta.199

* Add @tiptap/suggestion

* Import @tiptap/html in the right place

* ... add deps everywhere

So I have no idea how common deps work apparently

* Add tiptap/suggestion too

* Clean up dream

* More cleanups

* Rework /comment endpoint

* Move API to /comment

* Change imports in case that matters

* Add a couple todos

* Dynamically import micromark

* Parallellize gsutil with -m option

* Adding comments via api working, editor.tsx erroring out

* Unused import

* Remove disabled state from useTextEditor

Co-authored-by: Ian Philips <iansphilips@gmail.com>
2022-10-12 17:25:17 -07:00
..
algos.ts 🧾 Limit orders! (#495) 2022-07-10 13:05:44 -05:00
array.ts Denormalize some contract comment fields (#760) 2022-08-15 22:43:46 -07:00
clean-username.ts Clean up unclean user names (#543) 2022-06-18 14:31:39 -07:00
color.ts election map coloring 2022-10-05 16:58:47 -05:00
format.ts Make liquidity great again (#1020) 2022-10-10 21:56:16 -05:00
math.ts 🧾 Limit orders! (#495) 2022-07-10 13:05:44 -05:00
object.ts WIP persistence work (#762) 2022-08-29 21:56:11 -07:00
parse.ts Add /createcomment API endpoint (#946) 2022-10-12 17:25:17 -07:00
promise.ts Fix leaderboard out of memory error with batchedWaitAll instead of Promise.all 2022-03-07 13:45:56 -08:00
random.ts 🏠 New home (#889) 2022-09-16 16:12:24 -05:00
slugify.ts formatting 2022-01-10 17:52:03 -06:00
time.ts Delay prefetch by 1000ms. Don't prefetch portfolio history. 2022-09-23 16:30:44 -04:00
tiptap-iframe.ts Add embedded ContractGrid to Posts (#822) 2022-09-01 17:47:45 +01:00
tiptap-spoiler.ts Fix links in spoilers 2022-10-03 11:55:10 -07:00
tiptap-tweet-type.ts Support Youtube, Tweet, and Metaculus embeds in editor (#744) 2022-08-11 20:18:01 -07:00