James Grugett
7e9007aad1
Fetch markets client side on explore page (to avoid vercel 5MB limit for static props)
2022-04-29 09:53:51 -04:00
Ian Philips
ca8420d61b
Allow free daily market with M-zsh
2022-04-29 07:38:46 -06:00
Marshall Polaris
2ddd95e904
Make tags page filter on server side ( #108 )
2022-04-28 22:39:39 -07:00
Ian Philips
760681f958
Default has created one to prevent flash
2022-04-28 19:39:55 -06:00
Ian Philips
9e275a18f1
use Date instead of dayjs
2022-04-28 19:31:43 -06:00
Boa
4ec59be46f
Free daily market ( #107 )
...
* Allow users a free daily market
* Show confetti on recent created market
* remove unused import
* remove comment
* Did create market -> hook, capitalize buttons
* Check for confetti with interval
* Just check once
* Capitalize create market button on feed
2022-04-28 17:01:50 -06:00
Austin Chen
2e17f9f917
Add a "Show more..." button when there are more contracts
2022-04-28 18:45:26 -04:00
Ian Philips
625308c19d
Readme: must be in dev for emulators to work
2022-04-28 12:29:02 -06:00
mantikoros
da153ceea9
bound initial probability to [0.1, 0.9]
2022-04-28 10:47:18 -04:00
mantikoros
45aa6646fa
sendNewCommentEmail: forgot abs value
2022-04-27 23:34:50 -04:00
mantikoros
d9ee03a96f
sendNewCommentEmail: handle sold shares for cfmm
2022-04-27 22:24:32 -04:00
James Grugett
8e514de28f
Add volume factor to feed
2022-04-27 16:26:01 -04:00
Marshall Polaris
d33913a111
A couple additions to help newbies out ( #104 )
2022-04-27 13:15:14 -07:00
mantikoros
5a5069a419
sitemap: market changefreq; homepage priority = 1
2022-04-27 13:47:51 -04:00
mantikoros
e926741177
sitemap: remove non-public pages; sort by 24hr volume; make market page priority depend on volume
2022-04-27 13:40:02 -04:00
Marshall Polaris
53c79f41a3
Hardening Firestore rules ( #101 )
...
* Harden Firestore fold update rule
This prevents editing fields on the fold that would lead to
strange and disruptive results, for example, changing the
curatorId to another user, or manually changing followCount.
* Harden Firestore follower update rule
This prevents users from creating follower entries with
the userId of someone else, which would effectively
subscribe that person to the fold.
* Harden Firestore comment posting rule
This prevents people from posting comments with inauthentic
user information.
* Fix silly bugs in comment rules I made
2022-04-27 01:17:29 -07:00
Marshall Polaris
c0d6e17060
Disallow users deleting contracts ( #99 )
2022-04-27 00:34:23 -07:00
Boa
1db1a739cf
Misc comment ux improvements ( #103 )
...
* Separate comments and bets via tabs
* Normalcase comment button
* Note about abbreviated and all mode
* Revese,abbreviate,limit comments in feed
2022-04-26 15:08:50 -06:00
Marshall Polaris
f9f226aceb
Write some useful stuff in the /web README ( #94 )
...
* Write some useful stuff in the /web README
* Fix one busted link in new README
* Reorder some README stuff per feedback
2022-04-26 13:08:29 -07:00
Boa
d6c7230d6a
Moved answers ( #102 )
...
* Moved answers
* Remove unnecessary code
2022-04-26 09:53:12 -06:00
Ian Philips
9fbd521732
Top traders -> Top bettors
2022-04-26 08:42:45 -06:00
Ian Philips
8ba2a55180
Your trades -> Your bets
2022-04-26 08:38:28 -06:00
Boa
7722c723c4
Separate free response answers & comments ( #100 )
...
* Just for playing with, bad code
* Whiten answer cards
* Separate answers and comments in FR markets
* Highlight FR answer in bet w/ comment
* Darken answer text and move classname
* Normalcase Comment
2022-04-26 07:24:57 -06:00
Marshall Polaris
9270d48e12
Flesh out main README ( #96 )
...
* Flesh out main README
* Shorten "Getting Started" to an numbered list
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
2022-04-26 01:35:22 -05:00
Marshall Polaris
5df0b014c1
Bump web typescript to 4.5.3 ( #98 )
2022-04-25 10:47:00 -05:00
Boa
1e2f9fc099
Support local firestore emulation ( #91 )
...
* Support local firestore emulation
* Update readme
* Update readme
2022-04-25 09:46:35 -06:00
Marshall Polaris
44107ccbd3
Take 2 on getting tsc to behave ( #97 )
2022-04-25 10:46:20 -05:00
Marshall Polaris
4d48c98975
Fix generation of create market placeholder text ( #92 )
...
* Fix generation of create market placeholder text
* Capitalize comment
2022-04-24 17:14:20 -05:00
Marshall Polaris
8ac95b363d
Remove workspace-specific lockfiles ( #95 )
2022-04-24 16:36:42 -05:00
Marshall Polaris
06f9f53951
Link to /home, not / ( #93 )
2022-04-22 21:39:29 -05:00
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