Commit Graph

63 Commits

Author SHA1 Message Date
jahooma
dfcac2fb97 Hide ante bets in graph and feed 2022-01-13 11:01:23 -06:00
mantikoros
9d5490cf9a
Switch to new dpm mechanism (#26)
* initial commit

* antes

* rename path, compute to contractPath, contractMetrics

* merge

* Include antes as bets; more calculations

* fees on estimated winnings

* mkt payout calculation

* contract: remove startPool, add phantomShares

* Merge branch 'main' into new-dpm

* dpm migration script

* my service account
2022-01-12 13:01:04 -06:00
Austin Chen
d121e59189 Only permit comments within an hour of betting 2022-01-12 01:47:56 -05:00
jahooma
5947be6647 Darker timestamp on feed 2022-01-11 22:00:03 -06:00
jahooma
ebb1bc7359 Fix feed layout on mobile, adjust spacing, max width. 2022-01-11 14:57:53 -06:00
Austin Chen
5b431226d4
Show all recent activity on a central feed (#24)
* Tracks all market activity on a single page

* Support both global and per-contract feeds

* UI tweaks

* Include contract description in activity feed

* Show activity feed on Create page
2022-01-11 11:56:26 -05:00
jahooma
dd6edc3b7a Use sale amount for sold bets. Round one more item in the feed. 2022-01-10 11:38:44 -06:00
jahooma
e4206d6277 Add an extra new line when you add to a market description 2022-01-08 23:09:19 -06:00
mantikoros
1b69a34270 allow updating contract description 2022-01-07 13:29:23 -06:00
jahooma
3302cbddbd Move contract close time into contract details 2022-01-05 11:49:23 -06:00
jahooma
db1543ea71 Round bet amounts in feed 2022-01-04 09:55:34 -06:00
Austin Chen
583dc10e6a Don't prematurely show close times in feed 2022-01-03 23:41:52 -08:00
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