Ian Philips
a0402830c5
liking markets with tip/heart ( #798 )
...
* WIP liking markets with tip
* Refactor Userlink, add MultiUserLink
* Lint
* Lint
* Fix merge
* Fix imports
* wip liked contracts list
* Cache likes and liked by user ids on contract
* Refactor tip amount, reduce to M
* Move back to M
* Change positioning for large screens
2022-08-30 09:38:59 -06:00
FRC
e1f19c52ab
Post in a group about page. ( #803 )
...
* Dashboards in Group about page
* Rename group dashboard to 'About Post'
* Fixed James nits
2022-08-30 13:39:10 +01:00
James Grugett
c7452796f0
Recommend contracts you haven't bet on
2022-08-30 00:22:12 -05:00
Marshall Polaris
1369f3b967
WIP persistence work ( #762 )
...
* WIP persistence work
* Fix up close date filter, kill custom scroll restoration
* Use built-in Next.js scroll restoration machinery
* Tweaking stuff
* Implement 'history state' idea
* Clean up and unify persistent state stores
* Respect options for persisting contract search
* Fix typing in common lib
* Clean up console logging
2022-08-29 21:56:11 -07:00
James Grugett
84432e5ac4
Add creatorId to lite market
2022-08-29 14:25:58 -05:00
FRC
851cffd73e
Dashboards ( #791 )
...
* Create backend for Dashboards
* Rm lastupdatetime for now
* Added a create-dashboard and sharable view dashboard page
* Various nit fixes.
* Renamed Dashboards to Posts
* Fix nits
2022-08-29 16:06:17 +01:00
James Grugett
7ea6777d6b
Add margin bottom to tournament cards to reveal shadow
2022-08-29 00:29:59 -05:00
James Grugett
71dfcc4dd9
Add tracking for clicking recommended card & tournament card
2022-08-29 00:23:31 -05:00
Austin Chen
6c64c9f1cd
Remove hot volume from /tournaments
2022-08-28 22:21:28 -07:00
Austin Chen
f0727a65fc
Add SF 2022 Ballot to /tournaments
2022-08-28 21:33:13 -07:00
James Grugett
996b4795ea
⚡ Cache user bets tab with react query!! ( #813 )
...
* Convert useUserBets to react query
* Fix duplicate key warnings
* Fix react-query workaround to use refetchOnMount: always'
* Use react query for portfolio history
* Fix useUserBet workaround
* Script to back fill unique bettors in all contracts
* React query for user bet contracts, using uniqueBettorsId!
* Prefetch user bets / portfolio data
2022-08-28 18:03:00 -05:00
mantikoros
e4c66e08f5
clean up add markets dialog
2022-08-28 16:26:36 -05:00
James Grugett
9c15d5b96c
React-query-ify notifications ( #812 )
...
* Use single react query to subscribe to notifications
* Remove 'preferred' in variable names
2022-08-28 15:20:21 -05:00
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