Commit Graph

17 Commits

Author SHA1 Message Date
Austin Chen
07ce27f20b
Show activity feed on each market & allow comments on your bets (#18)
* Copy feed template from TailwindUI

* Show all bets in a feed-like manner

* Tweak design of individual trades

* Allow traders to comment on their bets

* Code cleanups

* Incorporate contract description into the feed

* Support description editing from contract feed

* Group together bets placed within 24h

* Fix build error

* Add a feed item for market resolution

* Add a feed item for markets that have closed

* Comment on a separate subcollection
2022-01-03 23:21:14 -08:00
James Grugett
bad7a2b543
Sort & query url params (#17)
* Sort query in progress

* Search and query url params!
2022-01-02 16:46:04 -06:00
mantikoros
03a3df261c contract slugs 2021-12-17 17:16:42 -06:00
jahooma
9bf257ef64 Embed markets below landing page. Listen for market changes 2021-12-16 22:44:48 -06:00
jahooma
e82b66959b Switch back to useEffect instead of useLayoutEffect, because nextjs complained. 2021-12-16 22:17:33 -06:00
jahooma
2c9f8e00bf Fix nextjs console error by not loading from localstorage immedately. Use layout effect instead. 2021-12-16 22:09:38 -06:00
jahooma
96791e11a5 Stop flash of landing page when signed in and loading '/' 2021-12-16 21:37:38 -06:00
mantikoros
99637d913d add meta tags to contract 2021-12-16 12:21:16 -06:00
jahooma
eaa9651c82 Fix create market redirect 2021-12-16 01:00:35 -06:00
mantikoros
00f5fbcf93 contract: static props, useContractWithPreload 2021-12-16 00:36:51 -06:00
jahooma
344b06124f useUser: Listen for changes to logged in user 2021-12-14 18:45:13 -06:00
jahooma
325206f27b Fix graph's overlapping ticks on mobile 2021-12-14 00:56:36 -06:00
jahooma
15691c0a38 Query for user bets. Template page to show them. 2021-12-13 23:40:38 -06:00
jahooma
b216236503 Graph bets by afterProb. 2021-12-12 16:14:52 -06:00
Austin Chen
89a7bd65d2 Standardize on useUser hook 2021-12-09 16:09:16 -08:00
Austin Chen
992c245837 Run prettier 2021-12-09 15:23:21 -08:00
jahooma
c8b86a43b9 Add template contract page 2021-12-09 16:05:55 -06:00