manifold/web/pages
Sinclair Chen 9a11f55762
Rich content ()
* Add TipTap editor and renderer components

* Change market description editor to rich text

* Type description as JSON, fix string-based logic

- Delete make-predictions.tsx
- Delete feed logic that showed descriptions

* wip Fix API validation

* fix type error

* fix extension import (backend)

In firebase, typescript compiles imports into common js imports
like `const StarterKit = require("@tiptap/starter-kit")`

Even though StarterKit is exported from the cjs file, it gets imported
as undefined. But it magically works if we import *

If you're reading this in the future, consider replacing StarterKit with
the entire list of extensions.

* Stop load on fail create market, improve warning

* Refactor editor as hook / fix infinite submit bug

Move state of editor back up to parent
We have to do this later anyways to allow parent to edit

* Add images - display, paste + uploading

* add uploading state of image

* Fix placeholder, misc styling

min height, quote

* Fix appending to description

* code review fixes: rename, refactor, chop carets

* Add hint & upload button on new lines

- bump to Tailwind 3.1 for arbitrary variants

* clean up, run prettier

* rename FileButton to FileUploadButton

* add image extension as functions dependency
2022-07-13 11:58:22 -07:00
..
[username] Rich content () 2022-07-13 11:58:22 -07:00
api/v0 Rich content () 2022-07-13 11:58:22 -07:00
charity Refactor some backend-related stuff () 2022-07-10 15:03:15 -07:00
embed 🧾 Limit orders! () 2022-07-10 13:05:44 -05:00
group/[...slugs] Rich content () 2022-07-13 11:58:22 -07:00
link Refactor some backend-related stuff () 2022-07-10 15:03:15 -07:00
tag Remove category selector references 2022-07-07 14:55:28 -06:00
_app.tsx Amplitude () 2022-06-14 22:00:36 -05:00
_document.tsx Reinstate eslint warning cleanup () 2022-05-10 14:49:24 -07:00
404.tsx More absolute imports () 2022-05-09 09:04:36 -04:00
add-funds.tsx Tracking () 2022-06-15 16:34:34 -05:00
admin.tsx show names on admin user table 2022-07-04 13:25:44 -07:00
contract-search-firestore.tsx Rich content () 2022-07-13 11:58:22 -07:00
create.tsx Rich content () 2022-07-13 11:58:22 -07:00
groups.tsx Analyze tab usage 2022-07-07 15:24:13 -06:00
home.tsx Remove category selector references 2022-07-07 14:55:28 -06:00
index.tsx Update Trending Markets () 2022-06-16 00:05:25 +01:00
leaderboards.tsx Analyze tab usage 2022-07-07 15:24:13 -06:00
links.tsx Allow adding anyone's contract to a group 2022-07-01 16:37:30 -06:00
markets.tsx Remove category selector references 2022-07-07 14:55:28 -06:00
notifications.tsx Handle free response resolution 2022-07-13 07:41:58 -06:00
profile.tsx Refactor some backend-related stuff () 2022-07-10 15:03:15 -07:00
server-sitemap.xml.tsx Change lodash stuff so that it can be tree-shaken out of build () 2022-05-22 01:36:05 -07:00
simulator.tsx Replace some more uses of any with more specific types () 2022-06-02 17:40:41 -07:00
stats.tsx Analyze tab usage 2022-07-07 15:24:13 -06:00
trades.tsx More absolute imports () 2022-05-09 09:04:36 -04:00