mantikoros
b48e910f70
fix areaBaselineValue
2022-07-19 18:20:03 -05:00
mantikoros
bab828412b
group: add question button
2022-07-19 18:16:03 -05:00
Ian Philips
2152e5286a
Score & sort by unique bettors in last 3 days
2022-07-19 16:29:41 -06:00
James Grugett
58d6286361
Fix chart area extending into labels below
2022-07-19 17:22:58 -05:00
James Grugett
6124ea01f6
Fix a DOM error in console
2022-07-19 16:57:32 -05:00
James Grugett
af6552958f
Show all-time profit on UserPage
2022-07-19 16:05:50 -05:00
James Grugett
fc9e261601
Fix build
2022-07-19 15:45:47 -05:00
James Grugett
e9ad30cc74
Increase number of contracts shown in bets list
2022-07-19 15:43:37 -05:00
Ian Philips
b5ef7490c3
NotificationSettings to its own file
2022-07-19 14:24:36 -06:00
Ian Philips
6dcad6225b
Next/Previous => Older/Newer
2022-07-19 14:16:20 -06:00
James Grugett
b6c8390a46
Show order book button even on Quick bet
2022-07-19 15:01:15 -05:00
James Grugett
74760b1062
Reorder orderbook columns
2022-07-19 14:53:33 -05:00
mantikoros
12567074cc
fix log scale graph
2022-07-19 12:31:26 -05:00
Marshall Polaris
0d282a962c
Don't setQuery
on group selector component during initial render ( #660 )
2022-07-19 09:35:43 -06:00
Austin Chen
2bae7dc200
Fix error on no portfolio history
2022-07-19 02:54:05 -07:00
Austin Chen
b501776e33
Remove quadratic matching from /charity
2022-07-19 00:20:18 -07:00
mantikoros
8793288dc8
contract description: less prominent edit buttons
2022-07-18 19:17:45 -05:00
Marshall Polaris
f2a7a145e4
Add React key prop to homepage filter widget ( #661 )
2022-07-18 18:37:46 -05:00
James Grugett
61a21d34b2
Order limit bets in sorted order on mobile
2022-07-18 18:19:30 -05:00
Austin Chen
47a27bf3fe
Label "Since June" for users who had an account prior to 2022-06-20 ( #659 )
2022-07-18 15:55:17 -07:00
Sinclair Chen
781de79b97
Make description text style more consistent
...
- links and blockquotes have light font weight, like other text
- font size in editor matches font size in description
- old descriptions have same style as new
- placeholder text matches editor style
- decrease line-height a bit
2022-07-18 14:03:05 -07:00
mantikoros
65e4f24531
groups: only change layout if sidebar chat, smaller leave button
2022-07-18 12:55:49 -05:00
Ian Philips
229d270d25
Set max width on avatars
2022-07-18 08:34:20 -06:00
Ian Philips
eb4906cb97
Remove query from notif isSeen logic
2022-07-18 08:18:40 -06:00
Ian Philips
906cfc29c8
Endswith=>includes to handle sort query in group chat
2022-07-18 07:59:21 -06:00
Austin Chen
f393246e4f
Let users edit descriptions and questions ( #654 )
...
* Use rich text editor on the description
* Write a new line to description when the question is changed
* Stop showing categories
* Allow anyone to edit their own question
2022-07-17 22:22:44 -07:00
mantikoros
281b712258
move group chat to sidebar on desktop
2022-07-17 15:56:39 -05:00
mantikoros
b5f0b58898
usePing
2022-07-17 15:17:31 -05:00
James Grugett
c1d77f48e3
Fix tag filter
2022-07-16 18:56:21 -05:00
Austin Chen
60f4e43cf3
Prettier fix
2022-07-16 12:51:22 -07:00
James Grugett
7feacbd961
Tweak wording
2022-07-16 14:37:03 -05:00
James Grugett
7b6344d976
Order book button opens full table of limit orders in dialog
2022-07-16 14:21:25 -05:00
Austin Chen
32cb19d01f
Randomize image upload path to avoid collisions
2022-07-16 11:39:58 -07:00
Austin Chen
1bc49dc0a2
Tweak placeholder copy
2022-07-16 11:39:58 -07:00
Austin Chen
349772a2f9
Description typography: font-light, text-base
2022-07-16 11:39:58 -07:00
Austin Chen
916618be31
Disable quotation marks in quotes
2022-07-16 11:39:58 -07:00
ingawei
7d24a3e4a2
Inga/manalink bug fixes ( #653 )
...
* fixed manalinks bug of claiming own manalink, and also rerouting to home upon claiming if not logged in
* no more multiple hardcoded manalink messages
2022-07-15 20:42:37 -05:00
Sinclair Chen
2543bdcdfc
refactor string matching ( #649 )
2022-07-15 14:16:00 -07:00
James Grugett
feba0b58ee
Turn search filters into pills
2022-07-15 15:06:33 -05:00
James Grugett
1ca73ecd4d
Add size prop to button
2022-07-15 12:24:07 -05:00
James Grugett
ec682788e0
Put back old Yes/No bet buttons
2022-07-15 11:03:42 -05:00
Ian Philips
0be38c4e09
Online users list ui, remove from followers list
2022-07-15 09:32:03 -06:00
Ian Philips
50447cf8d3
Unused vars
2022-07-15 08:48:35 -06:00
Ian Philips
d54a72c431
Remove extra comment
2022-07-15 08:47:19 -06:00
Ian Philips
dd9d24e657
Show online users on desktop
2022-07-15 08:45:52 -06:00
Ian Philips
2610f32521
Correct my username
2022-07-15 07:35:17 -06:00
Ian Philips
9c49f2e2d7
Revert "Revert "Order groups by most recent chat activity ( #650 )""
...
This reverts commit 17c9beca28
.
2022-07-15 06:52:08 -06:00
James Grugett
36851ae9f9
Exclude more mobile options from private instances
2022-07-15 00:45:50 -05:00
James Grugett
64c83c4ef0
Don't show portfolio no history message
2022-07-14 23:56:30 -05:00
James Grugett
590c63e911
Small fixes for limit order table
2022-07-14 21:27:00 -05:00
James Grugett
17c9beca28
Revert "Order groups by most recent chat activity ( #650 )"
...
This reverts commit 6e1aa4b0f4
.
2022-07-14 20:51:38 -05:00
ingawei
2f02e4d3e0
minor tweaks of manalink form ( #647 )
...
* minor tweaks of manalink form, adding M$ in front of amount and changing expire time to dropdown instead of calendar selection
* made minimum for uses and amount 1, it seems otherwise it does not generate a link at all
2022-07-14 19:43:06 -05:00
Ian Philips
44d993a588
Bold group for old chat notif
2022-07-14 17:03:08 -06:00
Ian Philips
6e1aa4b0f4
Order groups by most recent chat activity ( #650 )
...
* Order groups by most recent chat activity
* Use group chat slug constant
* Match source slug and isSeenOnHref
* Listen for group member changes
2022-07-14 16:46:45 -06:00
Ian Philips
27a544205f
Optimistically join groups
2022-07-14 11:09:28 -06:00
Sinclair Chen
5ebd4498a0
Remove deprecated useUserById implementation ( #571 )
...
* Remove duplicate useUserById implementation
* fix bug: firebase doesn't accept empty paths
2022-07-13 17:43:20 -07:00
Sinclair Chen
095af10d4f
replace raw checkbox w/ Checkbox component
...
also run prettier
2022-07-13 16:50:08 -07:00
James Grugett
f4b7b9efd0
Only show probabilty update with arrow if probability changes
2022-07-13 18:39:32 -05:00
James Grugett
67b3450924
Use quick vs limit bet in mobile dialog
2022-07-13 18:28:33 -05:00
James Grugett
9240cd3d1c
Bet panel: Quick vs Limit pill buttons. Also, pill buttons for Yes vs No.
2022-07-13 18:23:36 -05:00
Sinclair Chen
98192ee580
simplify rich text link styles
2022-07-13 16:14:44 -07:00
Sinclair Chen
664e55a40b
Add typing, pasting links ( #646 )
2022-07-13 15:56:15 -07:00
Ian Philips
7a49549389
Ignore rankings/members for huge groups for now
2022-07-13 16:20:56 -06:00
ingawei
a4e2cce4aa
initial commit for manalinks UI improvements ( #642 )
...
* manalinks UI improvements
* made manalink look more like card
* changed new link to pulsing indigo instead of green
2022-07-13 16:57:34 -05:00
Ian Philips
55c91dfcdd
Categories to groups ( #641 )
...
* start on script
* Revert "Remove category filters"
This reverts commit d6e808e1a3
.
* Convert categories to official default groups
* Add new users to default groups
* Rework group cards
* Cleanup
* Add unique bettors to contract and sort by them
* Most bettors to most popular
* Unused vars
* Track unique bettor ids on contracts
* Add followed users' bets to personal markets
* Add new users to welcome, bugs, and updates groups
* Add users to fewer default cats
2022-07-13 15:11:22 -06:00
James Grugett
e868f0a15a
Fix pagination component going one page too far + tweaks
2022-07-13 15:15:03 -05:00
James Grugett
9075a6f33a
Add headers to limit orders table
2022-07-13 14:59:51 -05:00
Sinclair Chen
a92eda3af2
fix bug where descriptions not showing
2022-07-13 12:36:01 -07:00
Sinclair Chen
9a11f55762
Rich content ( #620 )
...
* Add TipTap editor and renderer components
* Change market description editor to rich text
* Type description as JSON, fix string-based logic
- Delete make-predictions.tsx
- Delete feed logic that showed descriptions
* wip Fix API validation
* fix type error
* fix extension import (backend)
In firebase, typescript compiles imports into common js imports
like `const StarterKit = require("@tiptap/starter-kit")`
Even though StarterKit is exported from the cjs file, it gets imported
as undefined. But it magically works if we import *
If you're reading this in the future, consider replacing StarterKit with
the entire list of extensions.
* Stop load on fail create market, improve warning
* Refactor editor as hook / fix infinite submit bug
Move state of editor back up to parent
We have to do this later anyways to allow parent to edit
* Add images - display, paste + uploading
* add uploading state of image
* Fix placeholder, misc styling
min height, quote
* Fix appending to description
* code review fixes: rename, refactor, chop carets
* Add hint & upload button on new lines
- bump to Tailwind 3.1 for arbitrary variants
* clean up, run prettier
* rename FileButton to FileUploadButton
* add image extension as functions dependency
2022-07-13 11:58:22 -07:00
mantikoros
83d8f18bd7
fix bet summary selling
2022-07-13 13:20:53 -05:00
James Grugett
f1eea66588
Show all limit orders in a tab
2022-07-13 12:15:00 -05:00
mantikoros
737d803903
bet row: default to YES
2022-07-13 11:20:29 -05:00
Ian Philips
18abad38b6
Unused var
2022-07-13 09:13:34 -06:00
Ian Philips
cc1431da60
Disable enter submit on mobile on group chat
2022-07-13 09:12:43 -06:00
Ian Philips
490eabf977
Revert "Revert "Disable enter to submit on mobile group chat""
...
This reverts commit e3f7f0efda
.
2022-07-13 09:08:32 -06:00
Ian Philips
e3f7f0efda
Revert "Disable enter to submit on mobile group chat"
...
This reverts commit b3f4c2f009
.
2022-07-13 08:44:27 -06:00
Ian Philips
b3f4c2f009
Disable enter to submit on mobile group chat
2022-07-13 08:34:14 -06:00
Ian Philips
9e90f849a8
Show group scrollbars only when needed
2022-07-13 07:57:51 -06:00
mantikoros
1f2bdf40d0
bet row: fix labels
2022-07-13 00:07:12 -05:00
mantikoros
68343701ca
answer bet panel: scroll up on ios
2022-07-12 17:47:48 -05:00
mantikoros
5c166b9dd5
bet row: 'higher' 'lower' labels
2022-07-12 17:47:28 -05:00
mantikoros
38aad40569
Simplify bet buttons ( #644 )
...
* mono-button bet row
* "bet yes" => "yes"
* prettier
2022-07-12 17:34:10 -05:00
mantikoros
dd9fdc381f
track limit orders
2022-07-12 16:55:00 -05:00
mantikoros
24896e44b4
"limit bet" => "limit order"
2022-07-12 16:46:03 -05:00
Marshall Polaris
43b30e6d04
Don't "warm up" resolveMarket anymore ( #638 )
2022-07-12 12:36:10 -07:00
James Grugett
0882f1c0d6
Remove top Pagepadding on small screens
2022-07-11 19:07:37 -05:00
James Grugett
b8d7c2ee17
Size group chat window & nav bar list of groups precisely. Update Page margin/padding.
2022-07-11 18:40:25 -05:00
James Grugett
24fac1fc0b
Fix erronous 0 prob shown in table
2022-07-11 15:53:13 -05:00
Ian Philips
ed9a2c0d35
Set min height for group chat
2022-07-11 14:52:16 -06:00
James Grugett
90a75985dd
In market bets tab, show limit orders' total order amount
2022-07-11 11:46:09 -05:00
James Grugett
9b252b93ab
Fix fee calculation in bet panel tooltip
2022-07-11 10:54:37 -05:00
James Grugett
dd6f5e5ef4
Show better limit order stats in bets table
2022-07-11 10:49:36 -05:00
James Grugett
098f20ccad
Fix limit bet filter to exclude cancelled and filled bets
2022-07-10 22:28:29 -05:00
James Grugett
89d48d6c34
Use hook to fetch user bets
2022-07-10 22:28:04 -05:00
James Grugett
99fcfa6be7
Add portfolio filter for limit bets.
2022-07-10 22:15:07 -05:00
James Grugett
9586e81e95
Show limit bets in bets table
2022-07-10 22:07:42 -05:00
James Grugett
fd7384a099
Hide referrals button on user page
2022-07-10 19:59:23 -05:00
James Grugett
5e1ed17cdf
Load contracts at UserPage top level instead of in BetsList
2022-07-10 19:19:35 -05:00
James Grugett
f294189e20
Refactor notifications to use Pagination component
2022-07-10 18:50:59 -05:00
James Grugett
162e73912e
Paginate bets list
2022-07-10 18:41:33 -05:00