Ian Philips
f3324ae7b7
Show 0 as invested or payout
2022-09-12 10:12:06 -06:00
Ian Philips
ad082b5067
Change tab in url
2022-09-12 09:36:54 -06:00
Ian Philips
bb4dc54299
Remove magic
2022-09-12 09:13:29 -06:00
Ian Philips
5f58eb7982
Fix resolution messages
2022-09-12 08:57:46 -06:00
Ian Philips
f18d5825c2
Move private user out of getDestinationsForUser
2022-09-12 08:34:16 -06:00
Ian Philips
deb0d4a2d2
Update email templates to predict
2022-09-12 07:35:46 -06:00
Ian Philips
2ba03bf67d
More comment cleanup
2022-09-09 15:15:19 -06:00
Ian Philips
6351130ec8
Comment cleanup, lint
2022-09-09 14:54:45 -06:00
Ian Philips
f9651c0492
Comment cleanup
2022-09-09 14:41:07 -06:00
Ian Philips
c1945b8ae9
Direct & highlight sections for notif mgmt from emails
2022-09-09 14:34:51 -06:00
Ian Philips
7308e4f358
UI Tweaks
2022-09-09 10:15:36 -06:00
Ian Philips
06467dc1d7
It's alive... It's alive, it's moving, it's alive, it's alive, it's alive, it's alive, IT'S ALIVE'
2022-09-09 09:08:02 -06:00
Ian Philips
87dd678752
Linked notification settings to notification rules
2022-09-08 16:59:10 -06:00
Ian Philips
7c44abdcd7
Comment out unused script functions
2022-09-06 09:27:50 -06:00
Ian Philips
2ee067c072
Remove member and contract ids from group doc
2022-09-06 08:14:13 -06: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
9060abde8e
Cache prob and prob changes on cpmm contracts
2022-09-03 15:06:42 -05: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
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
Marshall Polaris
d1e1937195
Remove custom token generation machinery ( #840 )
2022-09-02 13:04:00 -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
mantikoros
2a17bcb8b2
eslint
2022-08-31 23:00:39 -05:00
mantikoros
2c3cd34444
Auto-remove unused imports
2022-09-01 03:34:22 +00:00
mantikoros
e0ebdc644d
market close email: remove mention of creator fee
2022-08-31 22:33:37 -05:00
Ian Philips
74b6df2e44
Unwatch applies to email comment notifs too
2022-08-31 16:18:48 -06:00
Ian Philips
91e5abe76a
Add query to help avoid timeout
2022-08-31 08:03:51 -06: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
Ian Philips
876abef040
Only send dev weekly trending emails to ian
2022-08-30 10:02:51 -06: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
Ian Philips
0318f7a12b
Add missing parentheses
2022-08-29 13:47:24 -06: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
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
James Grugett
9dd23b4a08
Fix weird new crash in updateMetrics: contract.id missing?
2022-08-28 00:11:13 -05:00
mantikoros
f31db2f9ed
emails: make banner a link
2022-08-27 22:15:14 -05:00
James Grugett
36fa9078f5
Fix absolute import within functions
2022-08-27 17:18:39 -05:00
James Grugett
a80d1f194c
Don't redeem shares if there's only epsilon shares to redeem
2022-08-27 17:14:41 -05:00
mantikoros
eeed9eef10
market resolution email: link in header image, show only non-negative investment amount
2022-08-27 14:38:09 -05:00
James Grugett
86cf956894
Add eslint plugin to remove unused imports
2022-08-26 23:49:03 -05:00
Sinclair Chen
1b029ce8dd
bump tiptap version to fix multi-italic bug ( #801 )
2022-08-25 20:56:38 -07:00
Ian Philips
b9f0da9d3b
Give all users 5 free markets
2022-08-25 05:51:56 -06:00
mantikoros
18f2550e4d
resolution email: show n/a for canceled numeric
2022-08-24 23:44:30 -05:00
James Grugett
51380febd4
Increase memory for updateStats function
2022-08-24 22:50:52 -05:00
James Grugett
cffd5dcd31
Weekly => daily loans
2022-08-24 22:03:07 -05:00
mantikoros
d390b39e0a
eliminate fees
2022-08-24 15:29:48 -05:00
Ian Philips
3eb1b66e9a
Lint
2022-08-24 11:58:32 -06:00
Ian Philips
a5812a5a73
Remove group chat display
2022-08-24 11:15:38 -06:00
Ian Philips
5dcaae7af6
Fix import
2022-08-24 10:51:21 -06:00
Ian Philips
480371cf9f
Fix import
2022-08-24 10:50:55 -06:00