James Grugett
d6f15deff4
Fix home page in dev on branches that are not free-response
2022-02-17 01:02:48 -06:00
Austin Chen
a12a8bcd6a
Expand create panel on focus
...
From Richard Hanania's feedback
2022-02-16 19:37:54 -08:00
Austin Chen
515676f885
Consistently floor user.balance
2022-02-16 19:19:11 -08:00
Austin Chen
87a33933e4
Revert "Stop flooring inputs into formatMoney"
...
This reverts commit 2f7ab18429
.
2022-02-16 19:14:12 -08:00
Austin Chen
2f7ab18429
Stop flooring inputs into formatMoney
2022-02-16 18:48:59 -08:00
Austin Chen
a2e4893be8
Don't include trailing !:,.; in links
2022-02-16 10:32:44 -08:00
mantikoros
95242d94ac
sort trades by resolved
2022-02-16 00:08:16 -06:00
James Grugett
4917d4084b
Break words in questions
2022-02-14 20:27:43 -06:00
Austin Chen
95fbfb7db0
Tweak padding
2022-02-14 15:39:59 -08:00
Austin Chen
86b4b1a907
Use badges in Your Trades
2022-02-14 15:29:29 -08:00
mantikoros
443acdbcf8
beautify trades page
2022-02-14 16:00:46 -06:00
Austin Chen
97bf1049b5
Show gray probabilities for closed markets
2022-02-14 13:34:05 -08:00
mantikoros
a8abd4ecbb
trades page: show pnl
2022-02-14 13:00:20 -06:00
James Grugett
cef9eebbdf
Add lowercase tags when editing tags
2022-02-13 22:41:00 -06:00
Austin Chen
0e640bf53b
Show the current % instead of "MKT" in Your Trades
2022-02-13 18:20:46 -08:00
Austin Chen
e4f1fbde3f
Link to each question from Admin page
2022-02-13 16:09:30 -08:00
Austin Chen
5c3370ded8
Clean up Resolve Market panel
2022-02-13 15:41:08 -08:00
Austin Chen
7338bdd47a
Automatically sort Tailwind classes with Prettier ( #45 )
...
* Add Prettier Tailwind plugin
* Autoformat Tailwind classes with Prettier
2022-02-11 10:40:22 -08:00
James Grugett
dc0c9cf1d4
Filter undefined contracts
2022-02-10 17:06:27 -06:00
James Grugett
4150479aa3
Break words and linkify fold about text
2022-02-10 14:57:41 -06:00
James Grugett
00fbe711e5
Only show leaderboard scores that round up to M$ 1 or more
2022-02-10 14:51:14 -06:00
James Grugett
9b50d67313
Render graph with bets from static props immediately
2022-02-10 14:36:19 -06:00
Austin Chen
bcc011c1fd
Allow admins to edit questions
2022-02-09 10:58:33 -08:00
James Grugett
b0a1da62d2
Add sort options for /trades. Can sort by
...
profit or newest!
2022-02-08 23:28:20 -06:00
James Grugett
e66564cd1f
Add current prob to trades items
2022-02-08 22:52:09 -06:00
James Grugett
6214b6e425
Truncate leaderboard name
2022-02-08 22:45:02 -06:00
James Grugett
096ac8f512
Put profile underneath bet popup
2022-02-08 00:57:34 -06:00
James Grugett
2d7c895964
Shrink about headers to h2
2022-02-08 00:21:47 -06:00
James Grugett
192b54f986
Darker text on gray resolve buttons.
2022-02-07 23:52:03 -06:00
James Grugett
041bfe5ac0
Fix latestTime graph calculation
2022-02-07 23:43:35 -06:00
James Grugett
19baf86963
Sort fold & tag markets by 24-hour-vol
2022-02-07 23:03:55 -06:00
James Grugett
1cf7b42597
Better handle graphs of resolved markets that had an earlier close time.
2022-02-07 22:48:36 -06:00
James Grugett
546005139b
Fix recent activity label on mobile
2022-02-07 22:06:58 -06:00
James Grugett
2b5a0b1111
Require at least 2 follows to show a community (or show it if you are the curator)
2022-02-07 20:56:25 -06:00
James Grugett
faa49b750e
Always show follow a community prompt
2022-02-06 20:03:42 -06:00
Austin Chen
ab6cfd2564
Show all recent activity if user has no folds
2022-02-06 16:03:36 -08:00
James Grugett
25e498ab3c
Create market includes tags input.
2022-02-06 17:14:07 -06:00
James Grugett
63b7f64683
Listen for folds in contract page
2022-02-06 16:55:14 -06:00
Austin Chen
5aebd7eb41
Use font-weight: 600 for bold text
2022-02-06 01:23:45 -08:00
Austin Chen
516656f194
Clean up About page
2022-02-06 00:35:58 -08:00
Austin Chen
99a5612c8d
Display avatar in contract details
2022-02-05 23:02:52 -08:00
Austin Chen
359bfbf614
Show your own avatar for your feed trades
2022-02-05 22:22:13 -08:00
Austin Chen
0223ecdac2
Use Avatar in leaderboard
...
Removes the extra ring
2022-02-05 22:13:13 -08:00
Austin Chen
4c3119c9ec
Display all avatars as a circle
2022-02-05 22:12:23 -08:00
Austin Chen
d2f5742231
Export all users to a CSV with name and email
2022-02-05 21:34:36 -08:00
mantikoros
dc2fada751
create: handle null
2022-02-05 19:10:26 -06:00
mantikoros
fae28fed7c
create: don't replace undefined antes
2022-02-05 19:02:13 -06:00
James Grugett
1c8c2a4126
Fix home error after new contracts
2022-02-05 15:56:42 -06:00
mantikoros
3baffd4a35
bet row: auto-close dialog after a trade is submitted
2022-02-05 12:26:11 -06:00
James Grugett
d0a56cd1af
Merge branch 'send-all-data'
2022-02-04 20:22:43 -06:00
James Grugett
31fbd6b900
Send all comments and bets to home page, so feed loads immediately
2022-02-04 20:09:34 -06:00
mantikoros
f7b981c55c
"winnings" => "trader profits"
2022-02-04 17:42:08 -06:00
mantikoros
d439a2e1c0
create page: fix ante resetting
2022-02-04 17:40:03 -06:00
mantikoros
1ab7a4162c
fix market close date time
2022-02-04 17:38:40 -06:00
James Grugett
637a76cf34
Cache first step of generating feed: folds you follow and contracts you bet on.
2022-02-04 17:24:54 -06:00
James Grugett
247f5e9275
Add oldest sort
2022-02-04 16:04:30 -06:00
Austin Chen
0959ec7679
Show avatar on contract cards
2022-02-04 10:30:56 -08:00
Austin Chen
a46c311a99
Clean up titles on /home
2022-02-04 10:30:13 -08:00
mantikoros
b4a68bf436
redirect signed out users on /profile and /trades to homepage
2022-02-03 21:19:42 -06:00
James Grugett
6914e5d706
Fix merge error
2022-02-03 21:11:59 -06:00
mantikoros
03f36cf954
User profile ( #44 )
...
* add id, userId to comment
* change user info cloud function and script; move cleanUsername to common
* change user info script
* fix rules
* add fund button: useLocation hook
* profile page
* merge
* profile stuff
* avatar uploading to storage bucket
* changeUserInfo: use transaction
* Styles for profile page
* Edit mode for profile, and more styles
Co-authored-by: James Grugett <jahooma@gmail.com>
2022-02-03 21:04:56 -06:00
James Grugett
6a542e4530
Switch Folds menu option to Communities
2022-02-03 19:55:00 -06:00
James Grugett
ca89fd158d
Make home communities look better on mobile. Add Covid & AI.
2022-02-03 19:00:17 -06:00
James Grugett
00f632ec47
Remove tw-elements for now
2022-02-03 18:10:19 -06:00
James Grugett
c36ce3e521
Change home tags to communities
2022-02-03 17:40:37 -06:00
James Grugett
e5f553fa1a
Merge branch 'main' into custom-feed
2022-02-03 17:33:12 -06:00
James Grugett
d170e31f54
Switch from onSnapshot to our listenForValues, which doesn't set with partial cached values
2022-02-03 17:30:40 -06:00
James Grugett
587e1e5d61
Add loading spinner while feed loads
2022-02-03 17:12:09 -06:00
James Grugett
8e06e4351e
Add tw-elements UI library
2022-02-03 17:11:38 -06:00
mantikoros
55aa2db553
resolution panel creator fee
2022-02-03 17:07:30 -06:00
mantikoros
4294481b5b
change fee structure
2022-02-03 16:59:59 -06:00
James Grugett
3cf4cb7a77
Show custom feed of contracts from folds your follow or have bet on.
2022-02-03 16:54:08 -06:00
James Grugett
6c9f566d3d
Add hashtag in tags of fold card
2022-02-03 14:13:51 -06:00
Austin Chen
426d41ba44
Surface a list of tags on /home
2022-02-03 11:00:49 -08:00
Austin Chen
193b9ae6bf
Restyle /folds page
2022-02-03 10:47:26 -08:00
Austin Chen
6d6e127f7b
Change Follow button to black
2022-02-03 01:49:53 -08:00
Austin Chen
65ff3ebdac
"24 hour" => "24h" to save space
2022-02-03 01:48:44 -08:00
Austin Chen
e7433c2eec
Save comment and description on ctrl+enter
2022-02-03 01:12:37 -08:00
Austin Chen
d0766fa7c3
Use the latest bet time for a feed group
2022-02-03 00:56:49 -08:00
James Grugett
a90e9b7083
Reorder fold page queries to be more in parallel
2022-02-03 00:19:59 -06:00
James Grugett
fdbaa5270b
Show hot markets in fold feed
2022-02-02 23:58:27 -06:00
James Grugett
00ac581736
Show your performance in fold
2022-02-02 23:34:35 -06:00
James Grugett
32ce410092
Show Market tags if no communities.
2022-02-02 15:29:26 -06:00
James Grugett
95268844aa
Add text to fold "about" explaining how markets are included.
2022-02-02 14:20:04 -06:00
mantikoros
6ad40cf75d
bottom nav bar: change last item to your trades
2022-02-02 12:56:02 -06:00
James Grugett
f80ef1cd34
Add hot markets to home feed
2022-02-02 00:40:46 -06:00
mantikoros
375ce69b7d
yarn devdev
2022-02-01 21:23:06 -06:00
James Grugett
0eac8d9c5c
Yarn workspaces ( #42 )
...
* Try yarn workspaces
* Add versions to sub package.json files
2022-02-01 15:25:51 -06:00
James Grugett
0a091831de
Restyle tags
2022-02-01 15:03:06 -06:00
James Grugett
d6b855f0de
Improve create fold button with icon and 'New' label
2022-02-01 14:10:40 -06:00
James Grugett
b95f258763
Add package.json to common directory, and lodash dependency
2022-02-01 12:59:51 -06:00
James Grugett
7e15c2870b
Sort folds by followers in fold tag list
2022-02-01 12:47:31 -06:00
James Grugett
7c50b55331
Match lowercase tags for folds
2022-02-01 12:29:14 -06:00
James Grugett
96c1410f01
Rename Fold => Community in UI
2022-02-01 12:12:55 -06:00
James Grugett
565ded1063
Add folds links in market, hide tags behind Show tags toggle.
2022-02-01 12:06:42 -06:00
James Grugett
4e1174a4dc
Option to disallow market creation from fold
2022-01-31 22:10:02 -06:00
James Grugett
5b5e6c78d6
Use expanding text area for description on make-predictions
2022-01-31 21:33:43 -06:00
James Grugett
3bbe6062e9
Change description input to use textarea
2022-01-31 21:31:49 -06:00
James Grugett
bc208df597
Add tags input for make-predictions
2022-01-31 21:13:37 -06:00
James Grugett
6525ffc6c3
Add ante and close date to make predictions
2022-01-31 20:58:41 -06:00