mantikoros
bfbcde4dfc
remove fees for sold shares
2022-04-22 12:26:47 -05:00
Ian Philips
4e4ffe8e20
Sell either type of share for dpm market
2022-04-22 04:43:34 -06:00
Ian Philips
3f471e7e8e
Sell either type of share for dpm market
2022-04-22 04:30:13 -06:00
Ian Philips
8109f3d9a9
Show free comments in feed
2022-04-22 04:16:54 -06:00
James Grugett
a525ad82ec
Filter out markets you sold out of from most of the views on portfolio page.
2022-04-21 18:32:46 -05:00
mantikoros
a7c422e69e
change ante to M$ 50
2022-04-21 12:59:12 -05:00
mantikoros
004969aa66
user-added liquidity provision panel ( #90 )
...
* user-added liquidity provision panel
* AddLiquidityPanel: handle loading, errors
* ContractInfoDialog: don't show add liquidity when market is closed
* ContractInfoDialog: hide add liquidity for FR
2022-04-21 12:58:12 -05:00
James Grugett
1af0740f10
Fix explore on dev
2022-04-21 12:43:57 -05:00
Boa
7b70b9b3bd
Free comments ( #88 )
...
* Allow free comments with optional bets
* Send emails for comments without bets
* Refactor to share logic
* No free comments on free response questions
* Minor fixes
* Condense line
2022-04-21 11:09:06 -06:00
Austin Chen
9ce82b1b6f
Show "New" badge on contract cards too
2022-04-20 23:03:16 -07:00
James Grugett
7847a9e781
Track latency of feed and portfolio page.
2022-04-21 01:00:08 -05:00
James Grugett
8c8a9be6a1
Show new label instead of 0 volume
2022-04-20 17:25:29 -05:00
James Grugett
e1b5b595e7
Also get new contracts for feed with 0 volume.
2022-04-20 16:59:34 -05:00
James Grugett
01e43abd17
Add factors to weight new contracts higher, contracts with unseen comments, and contracts with prob closer to 50%
2022-04-20 16:37:01 -05:00
Ian Philips
0390ec0f47
Prepare user website urls for external link
2022-04-20 10:13:17 -06:00
Ian Philips
d6d72aa619
Clean twitter and website user urls
2022-04-20 09:47:14 -06:00
Boa
9ba7c04524
Sell shares mobile ( #86 )
...
* Abstract sell shares row to component
* Allow sell row to show just a button
This is nice for the feed and on a bet's mobile interface.
* Add and use floor shares
* Allow sell button on the same line as bet button
* Move use save shares to own file
* Make sure to sell non-integer shares
* Create SellButon & sell non-integer shares
* Remove props prefixes
* Break out sell modal and button
2022-04-20 08:13:39 -06:00
James Grugett
c592a3ab59
Fix type error take 2
2022-04-20 01:04:53 -05:00
James Grugett
d8a24e1abd
Rename script environment variable to GOOGLE_APPLICATION_CREDENTIALS_DEV (and _PROD)
2022-04-20 00:47:13 -05:00
Marshall Polaris
5dbe16ec8d
Change how Firebase scripts auth ( #87 )
...
Now the admin key path is loaded from enviroment variables instead
of being hardcoded in script-init.ts.
2022-04-19 23:31:46 -05:00
James Grugett
987e36c357
Fix type error
2022-04-19 22:36:19 -05:00
James Grugett
3c1e16b815
Move contract details components to their own file.
2022-04-19 22:34:41 -05:00
James Grugett
3b413e52e5
Clean up FR answer on card
2022-04-19 22:31:45 -05:00
Marshall Polaris
30d92becd6
Kill allowTransparency on 404 Discord widget ( #84 )
2022-04-19 21:42:04 -05:00
Marshall Polaris
0f3b0f242d
Fix bugs in Firebase README ( #83 )
2022-04-19 21:41:43 -05:00
Marshall Polaris
bf408d9bf0
Fix tiny Tailwind config details ( #82 )
...
* Fix Tailwind darkMode CSS pref
See https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration .
* Fix Tailwind 'purge' -> 'content'
See https://tailwindcss.com/docs/upgrade-guide#configure-content-sources .
* Remove additional cruft from Tailwind config
These literally weren't hurting anything but the upgrade guide
suggests toasting them, so might as well do it while I'm in here.
2022-04-19 21:41:24 -05:00
Marshall Polaris
abf9d30ad2
Fix up dev tsc typechecking ( #85 )
...
* Don't typecheck Next-generated JS
* Add comment to package.json explaining explicit tsc
2022-04-19 21:40:54 -05:00
James Grugett
d19debfd19
Close time label: show relative time iff same day. Show year iff not same year.
2022-04-19 12:55:22 -05:00
James Grugett
24a9a79f16
Decrease padding so sell shares label fits in one line
2022-04-19 12:53:04 -05:00
James Grugett
190a39b2d6
Autofocus question input on /create page
2022-04-19 11:04:07 -05:00
Ian Philips
7ccdc6d683
Hide bet panel on FR after successful submit
2022-04-19 09:01:40 -06:00
Boa
7c7d6815f8
Add create market button ( #79 )
2022-04-19 08:15:05 -06:00
James Grugett
e8e19e0e5d
Add monthly retention (code suggested by co-pilot)
2022-04-19 01:57:27 -05:00
James Grugett
3c6369726e
Add weekly activiation rate
2022-04-19 01:47:58 -05:00
James Grugett
280ae97070
Track clicks from feed
2022-04-19 00:16:08 -05:00
James Grugett
a6e6e2f52f
Include top answer in answer card.
2022-04-18 21:44:31 -05:00
James Grugett
88b8d39c7c
Remove filterToOutcome
2022-04-18 20:54:31 -05:00
James Grugett
9c74f88b4a
Improve Free response UI ( #78 )
...
* Add legend to free response graph
* Hide answers panel unless resolving. Correctly order answers
* No gray background for add answer & resolve panel. Tweak spacing
* Max answer length 240 chars
* Show answer text in resolution for market page, card instead of number.
* Remove remaining answer #'s. Refactor outcome/resolution labels.
* Move answer panel back up
* Tweak spacing
* Update placement of bet button on mobile for FR answer feed item
* Fix reversed feed for binary markets
* Show multi resolve options
* Clean up unused parts of answer item
* Lighten resolve buttons
* Show answer text in market resolve email
2022-04-18 18:02:40 -05:00
mantikoros
7abc11c146
getInitialProbability: use totalShares to calculate prob for ported contracts
2022-04-18 17:15:25 -05:00
mantikoros
790aec9baf
Cfmm migration ( #80 )
...
* cfmm migration script
* save dpm shares, pool
* formatMoney: use floor instead of round
* migrate cfmm: use sale amount as shares for sold bets
* migration: make up fake share qty for sold shares
* migration: also convert resolved markets
* migration: don't migrate resolved markets after all
* migration: error checking
2022-04-18 17:02:53 -05:00
James Grugett
b637ab1536
Analytics: Add ratios of daily, weekly, monthly active users
2022-04-15 20:56:07 -05:00
James Grugett
102e22e111
Recent trade => recent
2022-04-15 17:55:26 -05:00
James Grugett
87b54ff92e
Fix getBinaryProb when resolutionProbability is 0.
2022-04-14 23:17:55 -05:00
James Grugett
72a56b46fd
Switch portfolio default sort to recent trade
2022-04-14 00:16:08 -05:00
James Grugett
43b8c16fcc
Compact-ify cards in portfolio page
2022-04-14 00:06:13 -05:00
James Grugett
8a59ab3180
Tweak current investment calculation
2022-04-13 22:28:29 -05:00
James Grugett
2a3593c269
Fix profit calculation for dpm sales
2022-04-13 20:42:47 -05:00
James Grugett
e58ec54546
Clean up portfolio sorts
2022-04-13 18:56:28 -05:00
James Grugett
ec63464461
Remove Communities: Not shown in navigation or market info
2022-04-13 18:14:03 -05:00
James Grugett
a09af526a0
Switch summary stat from payout at current % to profit
2022-04-13 17:57:46 -05:00