mantikoros
8952b100ad
add answer panel mobile formatting, slider
2022-09-05 17:59:19 -05:00
mantikoros
2d724bf2c8
make slider black
2022-09-05 17:44:21 -05:00
mantikoros
374c25ffb3
Auto-prettification
2022-09-05 22:40:48 +00:00
mantikoros
96cf1a5f7f
mobile slider styling
2022-09-05 17:39:59 -05:00
mantikoros
ae40999700
mobile bet slider
2022-09-05 17:11:32 -05:00
mantikoros
30d73d6362
remove parantheses from balance text
2022-09-05 16:59:35 -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
Austin Chen
70eec63533
Adding in "Highest %" and "Lowest %" sort options
...
Quick alternative to https://github.com/manifoldmarkets/manifold/pull/850/files courtesy of James.
One downside of this approach is that the % only update every 15 minutes; but maybe users won't notice?
2022-09-05 10:07:33 -07:00
Marshall Polaris
6ef2beed8f
Denormalize betAmount
and betOutcome
fields on comments ( #838 )
...
* Create and use `betAmount` and `betOutcome` fields on comments
* Be robust to ridiculous bet IDs on dev
2022-09-04 14:28:45 -07:00
James Grugett
a15230e7ab
Smartest money => Best bet. Don't show amount made for comment.
2022-09-04 14:06:29 -05:00
James Grugett
a21466d877
Add sort for 24 hour change in probability
2022-09-03 16:20:57 -05:00
Marshall Polaris
89b30fc50d
Fix tournaments page loading indicator and turn page size back down
2022-09-03 14:07:34 -07:00
James Grugett
9060abde8e
Cache prob and prob changes on cpmm contracts
2022-09-03 15:06:42 -05: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
0938368e30
Capitalize yes/no resolution outcomes
2022-09-03 07:29:35 -06: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
2d88675f42
Move & more out of the loop
2022-09-03 06:33:33 -06:00
James Grugett
bfa88c3406
Turn off react-query notification subscription because it's buggy
2022-09-02 22:57:23 -05:00
Marshall Polaris
784c081663
Enable source maps in production ( #852 )
2022-09-02 19:43:22 -07:00
Marshall Polaris
8318621d51
Some changes to make auth better ( #846 )
...
* Handle the case where a user is surprisingly not in the DB
* Only set referral info on user after creation
* More reliably cache current user info in local storage
* Don't jam username stuff into user listener hook
2022-09-02 19:39:27 -07:00
Marshall Polaris
e924061c54
Don't re-create visibility observer for no reason ( #849 )
...
* Don't re-create visibility observer for no reason
* `IntersectionObserver.unobserve` instead of `.disconnect`
2022-09-02 19:39:07 -07: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
James Grugett
2f53cef36f
Move metrics calculation to common
2022-09-02 18:45:42 -05:00
James Grugett
af68fa6c42
Fix typo in email followup
2022-09-02 16:20:04 -05:00
James Grugett
231d3e65c4
Fix incorrect error message for no bets
2022-09-02 16:19:10 -05:00
James Grugett
00de66cd79
Leaderboard calc: update profit even when portfolio didn't change ( #845 )
...
* Leaderboard calc: remove didProfitChange optimization that was incorrect
* Put back didPortfolioChange for deciding whether to create new history doc.
2022-09-02 15:59:32 -05:00
mantikoros
b6449ad296
fix bet panel warnings
2022-09-02 15:32:54 -05:00
Marshall Polaris
d1e1937195
Remove custom token generation machinery ( #840 )
2022-09-02 13:04:00 -07:00
Marshall Polaris
245627a347
Temporarily patch groups loading to make dev deploy work
2022-09-02 13:00:38 -07:00
Marshall Polaris
a429a98a29
Tidy up some dead code and markup in sidebar ( #842 )
2022-09-02 12:52:27 -07:00
Marshall Polaris
b1bb6fab5b
Disable SSR on /home ( #839 )
2022-09-02 12:51:41 -07:00
Marshall Polaris
21b9d0efab
Clean up some old pre-Amplitude tracking code ( #841 )
2022-09-02 12:51:27 -07:00
Marshall Polaris
4c429cd519
Remove some old code related to the old feed ( #843 )
2022-09-02 12:51:14 -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
James Grugett
8029ee49a4
Fix loans bug
2022-09-01 23:06:57 -05:00
Marshall Polaris
4406e53121
Make prefetching correctly use context cache ( #835 )
2022-09-01 19:38:09 -07:00
Marshall Polaris
dca7205a47
Disable group prefetching from contract links ( #836 )
...
* Kill dead code
* Stop prefetching groups when viewing contract
* Tidy markup
2022-09-01 19:37:41 -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
Ian Philips
8d853815d6
Show resolution on og card image ( #834 )
...
* Handle resolved markets
* Add in group names as hashtags
2022-09-01 13:55:24 -06:00