Commit Graph

9 Commits

Author SHA1 Message Date
Sinclair Chen
e2114f4881 Insert all markets instead of just one 2022-08-10 15:33:10 -07:00
Sinclair Chen
f74be9a491 Fix browser redirect warning 2022-08-10 15:06:32 -07:00
Sinclair Chen
ab6b826530 Hide pills 2022-08-10 14:25:40 -07:00
Sinclair Chen
193e5b59d2 Improve market modal style
- contract searchbar now sticky
- entire card clickable to select (if quickbet is hidden)
- adjust selected card styles
2022-08-10 14:19:30 -07:00
Sinclair Chen
8d5246cc09 Merge branch 'main' into editor-market 2022-08-09 09:52:40 -07:00
Sinclair Chen
da977f62a9
Make added text go after img instead of replacing (#725) 2022-08-06 15:43:41 -07:00
Sinclair Chen
5892ccee97
Rich text in comments, fixed (#719)
* Revert "Revert "Switch comments/chat to rich text editor (#703)""

This reverts commit 33906adfe4.

* Fix typing after being weird on Android

Issue: character from mention gets deleted. Most weird on Swiftkey:
mention gets duplicated instead of deleting.

See https://github.com/ProseMirror/prosemirror/issues/565
https://bugs.chromium.org/p/chromium/issues/detail?id=612446

The keyboard still closes unexpectedly when you delete :(

* On reply, put space instead of \n after mention

* Remove image upload from placeholder text

- Redundant with image upload button
- Too long on mobile

* fix dependency
2022-08-06 13:39:52 -07:00
Austin Chen
562e7aa1aa Embed markets using the "add markets" template 2022-07-29 10:25:00 -07:00
Sinclair Chen
6c89e5f18f
Add @ mentions to editor (#670)
* Add @ mentions to editor

* Fix mention list not loading

* Sort mention list by prefix, follow count

* Render at mention with Linkify component

- mentions are now Next <Link> rather than <a>
- fix bug where editor.getText() returns [object Object] for mentions
- fix mention rendering for posted markets
2022-07-23 20:37:34 -07:00