Commit Graph

1217 Commits

Author SHA1 Message Date
James Grugett
b5db9065d2 Disable lastViewedScore factor 2022-04-30 11:55:09 -04:00
James Grugett
f008971bd1 Compute recommendation scores from updateUserFeed 2022-04-30 11:54:44 -04:00
James Grugett
43a0fc6581 Tweak feed algorithm 2022-04-30 11:34:53 -04:00
James Grugett
54221f623c Merge branch 'main' into server-feed 2022-04-30 10:15:44 -04:00
James Grugett
a4c722550a Don't truncate comments for contract page 2022-04-30 10:07:39 -04:00
Austin Chen
d2218b5b8b give@ isn't set up, use info@ 2022-04-30 09:45:24 -04:00
Austin Chen
cc300c84e1 Adjust totalDeposits on charity donation 2022-04-30 08:52:24 -04:00
Austin Chen
5c03f1581a Fix lowercase search, tweak copy 2022-04-30 08:42:25 -04:00
Austin Chen
774ba6fba6 Show confetti on donate 2022-04-30 08:18:25 -04:00
Austin Chen
c51aa0b6b4 Simpify Donate panel 2022-04-30 08:13:38 -04:00
Austin Chen
bd98e8810e Disable "Read more..." for now 2022-04-30 08:09:57 -04:00
Austin Chen
a6de0ec695 Add missing charity logos 2022-04-30 08:09:57 -04:00
Marshall Polaris
17b5345d82
Fix HTTP charity logo links (#113) 2022-04-30 07:44:11 -04:00
James Grugett
3bb4111445 Make charity cards extend same length in row. Tweak image padding 2022-04-29 23:55:32 -04:00
Austin Chen
78e8927de4
Image preview: truncate to 100 chars, show avatar url (#111)
* Truncate image preview to 120 chars

* Try 100 chars instead

* Pass along creatorAvatarUrl

Hoping nothing breaks if the avatarUrl is empty

* Thread through avatarUrl all the way

* Fix typescript
2022-04-29 19:38:31 -04:00
Sinclair Chen
73fc67955d
Send M$ to Charity & txns (#81)
* Add components for CPM landing and charity pages

* Remove misc.ts to fix build

* Set up cloud function for writing txns

* More plumbing for txns

* Fix up API call

* Use Date.now() to keep timestamps simple

* Some styles for charity list page

* Hard code charities data

* Pass charity data to charity page

* Update txn type

* Listen for charity txns

* Handle txn to non-user by burning it

* Read txns for charity card and charity page.

* Set images to object contain

* Clean up txn types

* Move pic to top of card. Other misc styling.

* Update charity short & long descriptions

* Add `token` and `category` to Txn

* Fix breakages

* Show Charity link in the sidebar

* Fix typing issues

* Fix not reading from the right type

* Switch out icon

* Also show Charity icon on mobile

* Update copy

Co-authored-by: Austin Chen <akrolsmir@gmail.com>
Co-authored-by: James Grugett <jahooma@gmail.com>
2022-04-29 19:35:56 -04:00
James Grugett
10e5916dc6 Merge branch 'main' into server-feed 2022-04-29 17:19:51 -04:00
Boa
78997c1e45
Show comments position (#110)
* Add betting activity back to feed

* Show position in bin. markets, no comments on bets

* Degroup bets on Bets tab

* Show users position or recent bet with comments

* Add tooltip on answer to FR comments

* Style improvements

* Only use bets by current user for comment input
2022-04-29 15:11:04 -06:00
James Grugett
542ec218f9 Update feed script 2022-04-29 16:53:49 -04:00
mantikoros
5cb6ee3bca daily free markets' liquidity provided by @ManifoldMarkets 2022-04-29 15:58:01 -04:00
mantikoros
5f86637ca5 raise ante to M$100 2022-04-29 15:53:13 -04:00
James Grugett
72768d6d0a Delete view cache script 2022-04-29 15:43:18 -04:00
James Grugett
4b3bc71cbb Update user feed each hour and get feed from cache doc. 2022-04-29 15:25:38 -04:00
James Grugett
cd5689a72f Cache view script runs on all users 2022-04-29 15:17:40 -04:00
Austin Chen
c2832039b8
Link to beeminder & discourse 2022-04-29 13:45:10 -04:00
mantikoros
f078ce4fa9 CLA: fix link 2022-04-29 13:40:44 -04:00
mantikoros
be7e4a5c03 Manifold CLA: readme message, move to top level 2022-04-29 13:39:52 -04:00
mantikoros
c59e444d0a Manifold CLA 2022-04-29 13:30:27 -04:00
James Grugett
7e8ac0fc8f Batched wait all userRecommendations 2022-04-29 10:32:06 -04:00
James Grugett
16ae447823 Script to cache viewCounts and lastViewTime 2022-04-29 10:31:39 -04:00
James Grugett
fa8ebe36bd Move loading indicator into SearchableGrid. 2022-04-29 10:05:32 -04:00
James Grugett
7e9007aad1 Fetch markets client side on explore page (to avoid vercel 5MB limit for static props) 2022-04-29 09:53:51 -04:00
Ian Philips
ca8420d61b Allow free daily market with M-zsh 2022-04-29 07:38:46 -06:00
Marshall Polaris
2ddd95e904
Make tags page filter on server side (#108) 2022-04-28 22:39:39 -07:00
Ian Philips
760681f958 Default has created one to prevent flash 2022-04-28 19:39:55 -06:00
Ian Philips
9e275a18f1 use Date instead of dayjs 2022-04-28 19:31:43 -06:00
Boa
4ec59be46f
Free daily market (#107)
* Allow users a free daily market

* Show confetti on recent created market

* remove unused import

* remove comment

* Did create market -> hook, capitalize buttons

* Check for confetti with interval

* Just check once

* Capitalize create market button on feed
2022-04-28 17:01:50 -06:00
Austin Chen
2e17f9f917 Add a "Show more..." button when there are more contracts 2022-04-28 18:45:26 -04:00
Ian Philips
625308c19d Readme: must be in dev for emulators to work 2022-04-28 12:29:02 -06:00
James Grugett
50e77d5899 Hook up client to use getFeed 2022-04-28 13:28:52 -04:00
James Grugett
db42761143 Implement getFeed cloud function 2022-04-28 13:27:36 -04:00
James Grugett
a4696bc273 Remove folds activity feed 2022-04-28 10:51:54 -04:00
mantikoros
da153ceea9 bound initial probability to [0.1, 0.9] 2022-04-28 10:47:18 -04:00
James Grugett
39ebf79978 Remove contract's lastUpdatedTime 2022-04-28 00:46:29 -04:00
James Grugett
f357b6e92e Update contract's lastBetTime and lastCommentTime on new bets and comments. 2022-04-28 00:45:36 -04:00
mantikoros
45aa6646fa sendNewCommentEmail: forgot abs value 2022-04-27 23:34:50 -04:00
mantikoros
d9ee03a96f sendNewCommentEmail: handle sold shares for cfmm 2022-04-27 22:24:32 -04:00
James Grugett
57fb9baed6 Schedule updating user recommendations. Compute using tf-idf. 2022-04-27 21:27:31 -04:00
James Grugett
d639e73284 Store view counts & last viewed time 2022-04-27 17:26:33 -04:00
James Grugett
8e514de28f Add volume factor to feed 2022-04-27 16:26:01 -04:00