James Grugett
57728ab072
Tweaks. Remove filter for only binary contract
2022-02-17 16:09:04 -06:00
Austin Chen
e905e31838
Set up a read API using Vercel serverless functions ( #49 )
...
* Set up read API using Vercel serverless functions
Featuring:
/api/v0/markets
/api/v0/market/[contractId]
/api/v0/slug/[contractSlug]
* Include tags in API
2022-02-17 16:09:04 -06:00
James Grugett
c33c0dfc79
Fix home page in dev on branches that are not free-response
2022-02-17 16:09:04 -06:00
Austin Chen
5a86c4ccca
Expand create panel on focus
...
From Richard Hanania's feedback
2022-02-17 16:09:04 -06:00
Austin Chen
9ec58948c6
Consistently floor user.balance
2022-02-17 16:09:04 -06:00
Austin Chen
123bd1905a
Revert "Stop flooring inputs into formatMoney"
...
This reverts commit 2f7ab18429
.
2022-02-17 16:09:04 -06:00
Austin Chen
405cf2a63c
Stop flooring inputs into formatMoney
2022-02-17 16:09:04 -06:00
Austin Chen
f8f35c44f0
Don't include trailing !:,.; in links
2022-02-17 16:09:04 -06:00
mantikoros
1d7d23c925
sort trades by resolved
2022-02-17 16:09:04 -06:00
James Grugett
0af1fb8d4a
Show bet probability change and payout when creating answer
2022-02-17 13:00:33 -06:00
James Grugett
58cec94b72
Change outcomeType to include 'MULTI' and 'FREE_RESPONSE'
2022-02-17 12:12:34 -06:00
James Grugett
445176fad2
Remove NONE resolution option
2022-02-17 01:55:29 -06:00
James Grugett
7b082cd27b
Don't show resolve options after answer chosen
2022-02-17 00:43:14 -06:00
James Grugett
f1d3ac8189
Increase char limit to 10k for answers. Preserve line breaks.
2022-02-17 00:30:46 -06:00
James Grugett
f161661e7e
Remove Contract and Bet type params. Use string type for outcomes.
2022-02-16 23:05:45 -06:00
James Grugett
595d373fb1
Update placeholder text for description
2022-02-16 18:02:09 -06:00
James Grugett
7af4375c17
Show ante bets on new answers in the feed
2022-02-16 16:40:00 -06:00
James Grugett
d13dbd6e1a
Tweaks to no answers yet, resolve button layout
2022-02-16 16:36:27 -06:00
James Grugett
a05c5dcf65
None option converted to none of the above label at bottom of list. Button to resolve none.
2022-02-16 16:26:52 -06:00
James Grugett
95a63db6ea
Fix grouped bets feed for multi outcomes
2022-02-16 15:51:41 -06:00
James Grugett
9c9b328860
Fix card showing 0% for multi contracts
2022-02-16 15:04:31 -06:00
James Grugett
68428c76a7
Create answer bet has isAnte: true
2022-02-16 12:40:20 -06:00
James Grugett
78b86a7c28
Always dev mode
2022-02-16 00:09:00 -06:00
James Grugett
0f066d7e8e
Tweaks for trades page
2022-02-16 00:08:05 -06:00
James Grugett
26bb872113
Merge branch 'main' into free-response
2022-02-15 23:56:57 -06:00
James Grugett
fad1c8aaea
Sell bets. Various fixes
2022-02-15 23:37:16 -06:00
James Grugett
6f5ac2d1d1
Fix feed and cards for multi contracts
2022-02-15 23:02:48 -06:00
James Grugett
212f79aac9
Resolved market UI
2022-02-15 22:33:04 -06:00
James Grugett
fc954b6b4b
Resolve multi market
2022-02-15 21:37:34 -06:00
James Grugett
0a178a7519
Resolve answer UI
2022-02-15 18:08:21 -06:00
James Grugett
fbdc6eacad
Can bet. More layout tweaks!
2022-02-14 23:21:44 -06:00
James Grugett
f06709c20f
Numbered answers. Layout & calculation tweaks
2022-02-14 22:27:15 -06:00
James Grugett
4917d4084b
Break words in questions
2022-02-14 20:27:43 -06:00
James Grugett
75aa946bd0
Working betting with ante'd NONE answer
2022-02-14 18:29:34 -06:00
Austin Chen
95fbfb7db0
Tweak padding
2022-02-14 15:39:59 -08:00
Austin Chen
86b4b1a907
Use badges in Your Trades
2022-02-14 15:29:29 -08:00
mantikoros
443acdbcf8
beautify trades page
2022-02-14 16:00:46 -06:00
Austin Chen
97bf1049b5
Show gray probabilities for closed markets
2022-02-14 13:34:05 -08:00
James Grugett
26717295b8
Merge branch 'main' into free-response
2022-02-14 14:23:19 -06:00
James Grugett
b9248499c9
Answer bet panel
2022-02-14 14:14:02 -06:00
mantikoros
a8abd4ecbb
trades page: show pnl
2022-02-14 13:00:20 -06:00
James Grugett
cef9eebbdf
Add lowercase tags when editing tags
2022-02-13 22:41:00 -06:00
James Grugett
467effa5ca
Some UI for showing answers
2022-02-13 22:38:37 -06:00
Austin Chen
0e640bf53b
Show the current % instead of "MKT" in Your Trades
2022-02-13 18:20:46 -08:00
Austin Chen
e4f1fbde3f
Link to each question from Admin page
2022-02-13 16:09:30 -08:00
Austin Chen
5c3370ded8
Clean up Resolve Market panel
2022-02-13 15:41:08 -08:00
James Grugett
893016a7c3
Create answer
2022-02-12 19:25:07 -06:00
James Grugett
f42f9d9a1a
logo with white inside, transparent bg
2022-02-12 15:38:08 -06:00
James Grugett
5411401a2e
Allow for non-binary contracts in contract page and related components
2022-02-12 14:46:04 -06:00
Austin Chen
7223fa38bc
Automatically sort Tailwind classes with Prettier ( #45 )
...
* Add Prettier Tailwind plugin
* Autoformat Tailwind classes with Prettier
2022-02-11 22:56:45 -06:00