Commit Graph

3380 Commits

Author SHA1 Message Date
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
Ian Philips
dea65a4ba0 Better error handling for notification destinations 2022-10-10 07:41:41 -06:00
Ian Philips
a310963952 update prefs safely 2022-10-10 07:01:44 -06:00
github-actions[bot]
9324b30cf5
2022-10-10 02:37:51 +00:00
Sinclair Chen
8d06e4b4d2
refactor text input into one component (#1016)
* Add responsive text input component

* Add styled expanding textarea component
2022-10-09 19:37:24 -07:00
github-actions[bot]
08abc13ede
2022-10-10 00:12:08 +00:00
James Grugett
dc51e2cf46 Rename updateMetrics to scheduleUpdateMetrics 2022-10-09 19:11:44 -05:00
github-actions[bot]
6885001e7a
2022-10-09 23:10:24 +00:00
sipec
4831c25ce0 Auto-prettification 2022-10-09 23:10:02 +00:00
github-actions[bot]
513d0dddb8
2022-10-09 23:09:47 +00:00
Sinclair Chen
60f2552139 copy: Referrals -> Refer a friend 2022-10-09 16:09:21 -07:00
github-actions[bot]
ea579183c6
2022-10-09 22:14:50 +00:00
mantikoros
4b8d381da5 hide comment bounty when market closed or resolved 2022-10-09 17:14:20 -05:00
github-actions[bot]
8984aae42f
2022-10-09 22:03:20 +00:00
mantikoros
565177b76f track midterms, date docs 2022-10-09 17:02:34 -05:00
github-actions[bot]
241d78b83c
2022-10-09 05:53:08 +00:00
Sinclair Chen
8bd21c6693 hotfix %mention, add load-fail state 2022-10-08 22:52:36 -07:00
github-actions[bot]
4f2ce031b3
2022-10-08 17:52:25 +00:00
James Grugett
310a41d63e Make loan and bet streak links hoverable in notifications 2022-10-08 12:51:58 -05:00
github-actions[bot]
14003c1ad8
2022-10-08 17:17:10 +00:00
mantikoros
e1636d0f13 update metrics: fix divide by zero, elasticity NaN bug 2022-10-08 12:16:45 -05:00
github-actions[bot]
bd2ff27848
2022-10-07 22:46:11 +00:00
James Grugett
d00ea65279 Add MattP to winners for AMM liquidity exploit 2022-10-07 17:45:42 -05:00
github-actions[bot]
f37a1aa026
2022-10-07 22:30:48 +00:00
James Grugett
60bb5379cb Update bounties doc 2022-10-07 17:30:20 -05:00
github-actions[bot]
c0192129da
2022-10-07 22:10:38 +00:00
James Grugett
f3dedfb27a
Call updatemetrics v2 cloud function from scheduled function (#1014)
* Call updatemetrics v2 cloud function from scheduled function

* Set limits on bets and contracts loaded for portfolio page. Show warning if limit is hit

* mqp review: Use console.error if !response.ok
2022-10-07 17:10:12 -05:00
github-actions[bot]
b0af92a3fc
2022-10-07 21:26:58 +00:00
mantikoros
efa2e44937 comment bounty dialog, styling 2022-10-07 16:26:30 -05:00
mantikoros
84bc490ed3 comment sort: move below input, newest as default 2022-10-07 16:26:30 -05:00
github-actions[bot]
4d7a75a6bb
2022-10-07 20:14:28 +00:00