mantikoros
03e07037ea
ban users from posting ( #810 )
2022-08-28 00:23:25 -05:00
James Grugett
e4f46c48f1
Fix recommended markets not updating when navigating
2022-08-27 22:35:46 -05:00
James Grugett
cb08a114ae
Better recommended contracts. Include from first group.
2022-08-27 22:26:39 -05:00
James Grugett
e7f369e2b4
Load recommended markets even when navigating from home
2022-08-27 22:26:39 -05:00
Marshall Polaris
4b513a894d
Make tooltip rendering more efficient ( #807 )
...
* Don't use very slow dayjs formatter on timestamp tooltips
* Kill dead code in feed-bets.tsx
* Clean up tooltip markup
2022-08-27 13:46:35 -07:00
Marshall Polaris
5d8f5d41fc
Fix some efficiency problems with ContractProbGraph
( #806 )
...
* Memoize bets input to ContractOverview
* Optimize a bunch of nonsense in `ContractProbGraph`
2022-08-27 01:09:17 -07:00
James Grugett
51ceb62871
Fix console error on create page
2022-08-27 01:14:24 -05:00
James Grugett
a9ea335cd1
Fix create page serverside vs clientside render discrepancy console error
2022-08-27 01:07:39 -05:00
James Grugett
2e3c2d4dcb
Tweak to add market to group UI
2022-08-27 00:59:00 -05:00
James Grugett
e4d6bb35b5
Fix floating button to be on top of quick bet arrows. Switch icon.
2022-08-26 23:10:10 -05:00
Austin Chen
a2da319e7c
Remove unused import
2022-08-26 17:35:59 -07:00
Austin Chen
1dbef921b0
Sort markets on /tournaments by %
2022-08-26 17:13:49 -07:00
Sinclair Chen
59aa76a474
Add Salem Center tournaments (card screenshots) ( #804 )
2022-08-26 16:23:44 -07:00
James Grugett
99bff6b794
Improve group market selection UI
2022-08-26 18:17:15 -05:00
Sinclair Chen
8903b1ef95
Replace style props with tailwind classes ( #800 )
...
* add utility class for `word-break: break-word`
* refactor visuallyHidden style out of Page
* refactor out ref sizing hack in sidebar
* replace style props with tailwind classes
2022-08-26 14:23:06 -07:00
Sinclair Chen
803091db06
Add tournament home page ( #797 )
...
* Add tournament home page
* Preload markets, follow count
* organize imports
* Fix card width
* Make entire title clickable
* plural /tournament -> /tournaments
* prettier
* Fix /tournaments when groupIds are invalid
* Restyle /tournaments page
* Reintroduce Salem, tweak styles
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
2022-08-26 10:31:25 -07:00
James Grugett
31db330319
Show "(max)" on streak payout if it is the max payout
2022-08-26 11:38:08 -05:00
James Grugett
6f2e2a3bbb
Render graph for multiple choice embeds
2022-08-26 00:23:50 -05:00
James Grugett
e5777f02d8
Expand notifications by default if <= 3 items
2022-08-26 00:00:44 -05:00
James Grugett
97b648a51e
Move recommended markets below market white bg onto gray bg
2022-08-25 12:59:26 -05:00
Ian Philips
b9f0da9d3b
Give all users 5 free markets
2022-08-25 05:51:56 -06:00
Ian Philips
6e3b8fdd4d
Show old streak for old streak notifs
2022-08-25 05:10:38 -06:00
Ian Philips
465e219bfc
Show old streak for old streak notifs
2022-08-25 05:10:24 -06:00
James Grugett
93739e7990
Fix betting streak number
2022-08-24 23:40:27 -05:00
James Grugett
cffd5dcd31
Weekly => daily loans
2022-08-24 22:03:07 -05:00
James Grugett
a8da5719fe
Create experimental home page
2022-08-24 18:30:31 -05:00
Ian Philips
8d1cebf4db
Move share button back down, small spacing tweaks
2022-08-24 17:07:22 -06:00
James Grugett
d6d1e8e86f
Fix types
2022-08-24 13:29:35 -05:00
James Grugett
1c323c5a7f
Simple recommended contracts based on contract creator
2022-08-24 12:59:23 -05:00
Ian Philips
a5812a5a73
Remove group chat display
2022-08-24 11:15:38 -06:00
James Grugett
78780a9219
Dedup contract leaderboards code from contract slug (merge error?)
2022-08-23 19:25:57 -05:00
Ian Philips
bea94d58c5
Add extra text-sm
2022-08-23 07:55:26 -06:00
Sinclair Chen
b476a7e3f8
Take descriptions out of LiteMarket ( #789 )
2022-08-22 18:18:51 -07:00
mantikoros
571cf80e13
markets api: only load 500 markets by default
2022-08-22 14:42:23 -05:00
mantikoros
3313b55853
listAllContracts: sort by createdTime by default
2022-08-22 14:23:52 -05:00
Austin Chen
7736f1e3c1
Make duplicating better: description, closetime, logscale
...
Known issue: some markets like https://manifold.markets/FFSX/rojo-ronald-jones don't duplicate because too much stuff in JSON...?
2022-08-22 10:49:54 -07:00
Austin Chen
0cd61eb214
DX: Link to Firestore console from "..."
2022-08-22 10:48:21 -07:00
mantikoros
009c85b61a
listAllContracts: order by popularity score
2022-08-22 12:07:05 -05:00
mantikoros
40a22b31f3
fix sitemap
2022-08-22 11:52:05 -05:00
mantikoros
8ea9a79760
loan emoji
2022-08-22 10:31:23 -05:00
Ian Philips
571d3e71b5
Only show most recent streak notif, relative econ imports, pubsub emulator
2022-08-22 06:31:30 -06:00
Austin Chen
88bf678ce3
Allow custom environments to override any economic aspect ( #787 )
...
* Extract monetary constants to a single file economy.ts
* Add missing import
* Allow environments to override any econ variable
* Update imports
* Update more imports
* Fix import
2022-08-21 22:37:26 -07:00
James Grugett
8b7cd20b6f
Loans2: Bets return you some capital every week ( #588 )
...
* Remove some old loan code
* Almost complete implementation of updateLoans cloud function
* Merge fixes
* Use invested instead of sale value, check if eligible, perform payouts
* Run monday 12am
* Implement loan income notification
* Fix imports
* Loan update fixes / debug
* Handle NaN and negative loan calcs
* Working loan notification
* Loan modal!
* Move loans calculation to /common
* Better layout
* Pay back loan on sell shares
* Pay back fraction of loan on redeem
* Sell bet loan: negate buy bet's loan
* Modal tweaks
* Compute and store nextLoanCached for all users
* lint
* Update loans with newest portfolio
* Filter loans to only unresolved contracts
* Tweak spacing
* Increase memory
2022-08-22 00:22:49 -05:00
Austin Chen
aa3647e0f3
Handle case when no charity txns
2022-08-21 20:55:04 -07:00
James Grugett
f4ebb2b504
Fix wrapping on "Add market" button
2022-08-20 15:19:05 -05:00
James Grugett
099764a931
Show unlisted markets in groups and under your markets
2022-08-20 14:38:15 -05:00
James Grugett
09e8993cd4
Implement visibility option for new markets
2022-08-20 14:31:32 -05:00
mantikoros
dd6c5dc97a
betting streaks copy
2022-08-20 13:47:26 -05:00
Austin Chen
6791da0fc8
Fix "Most Recent Donor" on /charity
2022-08-19 17:28:08 -07:00
Austin Chen
51c843d765
Use masonry on contract cards, sorted correctly ( #773 )
...
* Revert "Revert "Tile contract cards in masonry layout (#761 )""
This reverts commit 62728e52b7
.
* Sort the contracts in the correct masonry order
* Fix ordering on single columns
* Use react-masonry-css to accomplish masonry view
* Improve comment
* Remove gridClassName
Everything is spaced with m-4, too bad
2022-08-19 16:57:23 -07:00