Commit Graph

3460 Commits

Author SHA1 Message Date
github-actions[bot]
be407ada75
2022-10-11 18:30:58 +00:00
mantikoros
43b06ae6fa tip button: show number of tips 2022-10-11 13:30:30 -05:00
github-actions[bot]
05c59d3056
2022-10-11 16:27:05 +00:00
Ian Philips
bfdb5ae595 Cleanup comments 2022-10-11 10:26:37 -06:00
github-actions[bot]
0e9c6a80c1
2022-10-11 16:23:17 +00:00
Ian Philips
274f7fa849 Send market closed notifications every 5 days 2022-10-11 10:22:38 -06:00
Ian Philips
d507c4092e Code for removing erroneous badges 2022-10-11 08:51:51 -06:00
github-actions[bot]
7c4b8a0f57
2022-10-11 14:36:28 +00:00
Ian Philips
e970a908c6 Switch logic to includes 2022-10-11 08:35:59 -06:00
github-actions[bot]
5012a5d516
2022-10-11 12:40:21 +00:00
Pico2x
4fd0e5caad Fix bug in which new users are flagged as unreliable 2022-10-11 13:39:40 +01:00
github-actions[bot]
07c4c0b064
2022-10-11 05:33:22 +00:00
James Grugett
70b2b14f80
Daily profit 💰 (#1023)
* Daily profit client side

* Filter out those where profit rounds to 0

* Tabs to spaces
2022-10-11 00:32:55 -05:00
github-actions[bot]
dc7e47cb2b
2022-10-11 02:56:41 +00:00
mantikoros
0ec15ff2f8
Make liquidity great again (#1020)
* add subsidy

* drizzle liquidity

* update liquidity panel

* remove addliquidity

* update cloud functions index

* remove json endpoints

* imports

* drizzle liquidity: add velocity; dev script; run every minute

* adjust speed

* logging

* liquidity button, dialog

* modal size

* modal

* info table

* pay back excess liquidity

* remove client withdrawal

* house liquidity subsidy

* disable liquidity button if market resolved or closed

* format tip amount
2022-10-10 21:56:16 -05:00
github-actions[bot]
0e15c905d3
2022-10-11 01:47:32 +00:00
Sinclair Chen
8bb9885aee
Fix @mention 500 error and can't close market bug (#1021)
* Fix @mention 500 error. Refactor text concat exts

* lint
2022-10-10 18:47:02 -07:00
github-actions[bot]
fadb6c016e
2022-10-10 21:38:54 +00:00
Ian Philips
c46c384d1d Add more bot tags, better creator name scaling 2022-10-10 15:38:27 -06:00
github-actions[bot]
c8c703285f
2022-10-10 21:01:45 +00:00
Ian Philips
4f5c93be96 Badge notifications ui changes 2022-10-10 15:01:18 -06:00
github-actions[bot]
ace743d47c
2022-10-10 20:52:19 +00:00
github-actions[bot]
fb31b621b8
2022-10-10 20:52:00 +00:00
James Grugett
f03e5d7af0
Refactor portfolio query (#1018)
* Fetch less data for portfolio query

* Rename var
2022-10-10 15:51:51 -05:00
Sinclair Chen
fb0a09664e delete bannerUrl from user type 2022-10-10 13:51:27 -07:00
github-actions[bot]
01bb0d111e
2022-10-10 20:41:50 +00:00
Ian Philips
17d0fb7da6 Change badge award notif setting group 2022-10-10 14:41:24 -06:00
github-actions[bot]
e74b5094cc
2022-10-10 20:34:35 +00:00
Ian Philips
867cdf2496 Only backfill unfilled users' badges 2022-10-10 14:34:06 -06:00
github-actions[bot]
971f9e29f0
2022-10-10 20:32:51 +00:00
Ian Philips
f26ba1c4a2
Award badges for market creation, betting streaks, proven correct (#891)
* Award badges for market creation, betting streaks, proven correct

* Styling

* Add minimum unique bettors for proven correct

* Add name, refactor

* Add notifications for badge awards

* Correct styling

* Need at least 3 unique bettors for market maker badge

* Lint

* Switch to badges_awarded

* Don't include n/a resolutions in market creator badge

* Add badges by rarities to profile

* Show badges on profile, soon on market page

* Add achievements to new user

* Backfill all users badges
2022-10-10 14:32:29 -06:00
github-actions[bot]
4e22073469
2022-10-10 19:56:02 +00:00
James Grugett
cdc64c6475 Correctly configure env var for firebase functions 2022-10-10 14:55:33 -05:00
github-actions[bot]
24326640b8
2022-10-10 19:23:41 +00:00
James Grugett
5d561acdf8 Fix NaN 2022-10-10 14:23:16 -05:00
github-actions[bot]
5fa2afdc27
2022-10-10 18:34:34 +00:00
James Grugett
84f79ffe7c Remove undefined props 2022-10-10 13:34:02 -05:00
github-actions[bot]
544d55bb93
2022-10-10 18:05:44 +00:00
James Grugett
f6fd703005
Store each user's contract bet metrics (#1017)
* Implement most of caching metrics per user per contract

* Small group updates refactor

* Write contract-metrics subcollection

* Fix type error
2022-10-10 13:05:17 -05:00
github-actions[bot]
af0e3082aa
2022-10-10 18:02:29 +00:00
mantikoros
b8ef272784 withdrawal warning 2022-10-10 13:01:57 -05:00
github-actions[bot]
9cf91b6f0b
2022-10-10 16:48:32 +00:00
Ian Philips
a4699b79ed If unlisted during creation, fill in creator id 2022-10-10 10:48:01 -06:00
github-actions[bot]
ee906a5732
2022-10-10 15:54:11 +00:00
Ian Philips
66071e16fa Try without timeout seconds on pubsub 2022-10-10 09:53:42 -06:00
github-actions[bot]
c7284882df
2022-10-10 15:49:09 +00:00
Ian Philips
b3136ebcac Update update-metrics timeout sends 2022-10-10 09:48:46 -06:00
github-actions[bot]
d8f894b80c
2022-10-10 15:25:08 +00:00
Ian Philips
a143a96919 Fix unable to close contract 2022-10-10 09:24:37 -06:00
github-actions[bot]
d3c7f77076
2022-10-10 13:42:07 +00:00