James Grugett
ad18987e65
Update Daily movers UI
2022-09-07 01:18:11 -05:00
mantikoros
85be84071a
track embedded markets separtely
2022-09-06 22:43:28 -05:00
mantikoros
a9627bb2b6
market page: regenerate static props after 5 seconds
2022-09-06 22:12:18 -05:00
Ian Philips
8759064ccb
new bettors
2022-09-06 16:30:58 -06:00
Ian Philips
c16e7c6cfd
Add membership indicators and link to see group
2022-09-06 16:20:43 -06:00
James Grugett
668f30dd55
Free market creation shows cost striked through
2022-09-06 16:55:52 -05:00
Ian Philips
45e54789b7
Groups search shares query, sorted by contract & members
2022-09-06 15:51:36 -06:00
Ian Philips
5af92a7d81
Update groups API
2022-09-06 09:24:26 -06:00
FRC
59f3936dad
Fix bug ( #854 )
2022-09-06 14:17:21 +01:00
James Grugett
f21711f3dc
Fix type error
2022-09-05 18:13:01 -05:00
James Grugett
cd8bb72f94
Daily movers table in experimental/home
2022-09-05 18:09:03 -05:00
mantikoros
97e0a78806
"join group" => "follow"
2022-09-05 16:51:09 -05:00
James Grugett
d812776357
Remove show hot volume param
2022-09-05 16:25:48 -05:00
mantikoros
9a49c0b8fe
remove numeric, multiple choice markets from create market page
2022-09-05 13:33:58 -05:00
Marshall Polaris
89b30fc50d
Fix tournaments page loading indicator and turn page size back down
2022-09-03 14:07:34 -07:00
mantikoros
085b9aeb2a
remove simulator
2022-09-03 14:58:42 -05:00
Marshall Polaris
c0383bcf26
Make tournament page efficient ( #832 )
...
* Make tournament page efficient
* Fix URL to Salem contract
* Use totalMembers instead of deprecated field
* Increase page size to 12
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
2022-09-03 09:55:10 -07:00
Ian Philips
272658e5dc
Use most up-to-date user on groups page
2022-09-03 06:52:51 -06:00
Marshall Polaris
861fb7abbd
Use the magic auth
prop for groups SSR ( #851 )
2022-09-03 06:51:55 -06:00
Ian Philips
25a0276bf7
Auth user server-side on groups page
2022-09-02 19:52:38 -06:00
Ian Philips
c74d972caf
Pass user and members via props
2022-09-02 19:36:49 -06:00
Ian Philips
57b74a5d09
Use cached values
2022-09-02 18:12:55 -06:00
Ian Philips
9577955d2d
Remove null check
2022-09-02 18:08:53 -06:00
Ian Philips
cf508fd8b6
Members and contracts now subcollections of groups ( #847 )
...
* Members and contracts now documents
* undo loans change?
* Handle closed group
* Slight refactoring
* Don't allow modification of private groups contracts
* Add back in numMembers
* Update group field names
* Update firestore rules
* Update firestore rules
* Handle updated groups
* update start numbers
* Lint
* Lint
2022-09-02 18:06:48 -06:00
Marshall Polaris
245627a347
Temporarily patch groups loading to make dev deploy work
2022-09-02 13:00:38 -07:00
Marshall Polaris
b1bb6fab5b
Disable SSR on /home ( #839 )
2022-09-02 12:51:41 -07:00
mantikoros
0cb20d89ed
numeric market labels: LOW/HIGH instead of MIN/MAX; eliminate payout <= MIN, etc.
2022-09-02 10:35:41 -05:00
Marshall Polaris
4406e53121
Make prefetching correctly use context cache ( #835 )
2022-09-01 19:38:09 -07:00
Sinclair Chen
04e8bb248b
Fix Salem Center market url
2022-09-01 18:15:10 -07:00
Austin Chen
51fe44f877
Show the number of open markets on each groups page
2022-09-01 16:12:09 -07:00
Ian Philips
00ba3b0c48
Show avatars of tippers and unique bettors ( #837 )
...
* Show avatars of tippers and unique bettors
* Make transparent the avatar bg
* fix import
2022-09-01 16:23:12 -06:00
Marshall Polaris
7508d86c73
Clean up contract overview code ( #823 )
...
* Don't call Date.now a million times in answers graph
* Refactor contract overview code so that it's easier to understand
2022-09-01 14:42:50 -07:00
FRC
96be4e8992
Add embedded ContractGrid to Posts ( #822 )
...
* Add embedded market grids
* Hacky way to set height
I haven't figured out a way yet to get the height of the actual iframe's content, so I did some bad estimate for now to unblock shipping the feature, while I continue investigating.
2022-09-01 17:47:45 +01:00
Ian Philips
fecf976ab9
Show all group contracts if less than 5 open
2022-09-01 09:11:14 -06:00
Marshall Polaris
0568322c82
Dramatically improve server auth stuff ( #826 )
2022-08-31 22:13:26 -07:00
James Grugett
3660830ec1
Don't server side render Notifications page for improved perf
2022-08-31 15:41:34 -05:00
Sinclair Chen
d06b725f52
Let admins add and edit posts to any group ( #820 )
...
- show add post UI to admins
- change firebase permissions
2022-08-31 11:29:49 -07:00
Marshall Polaris
d336383a93
Fix my foolish bug
2022-08-31 01:02:10 -07:00
James Grugett
a3569280a4
Add your bets section to /experimental/home
2022-08-31 00:30:31 -05:00
James Grugett
ccb6fd291e
Move components out of /pages into /components
2022-08-30 23:53:12 -05:00
James Grugett
849402ed70
Rearrange home sections. Load more in carousel.
2022-08-30 23:47:09 -05:00
Marshall Polaris
7dddff52b8
Tidying some feed code up ( #818 )
...
* Clean up some markup & dead code
* Order comments in Firestore instead of on client
* Order bets in Firestore instead of on client
* Make indexes file up to date with production
2022-08-30 20:28:30 -07:00
Sinclair Chen
c202c5de68
clarify closed/open group copy
2022-08-30 16:28:49 -07:00
Ian Philips
aad5f6528b
new market view ( #819 )
...
* Show old details on lg, don't unfill heart
* Hide tip market if creator
* Small ui tweaks
* Remove contract. calls
* Update high-medium-low
* Remove unused bets prop
* Show uniques
* Remove unused bets prop
2022-08-30 17:13:25 -06:00
James Grugett
3e1e84ee5e
Experimental Home: Add links. Single layer carousel for < 6 cards
2022-08-30 17:14:22 -05:00
James Grugett
f83b62cf50
Implement double carousel for /experimental/home
2022-08-30 16:18:42 -05:00
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