Commit Graph

1069 Commits

Author SHA1 Message Date
James Grugett
2041e39b45 Small fixes to existing sell shares client 2022-07-09 17:23:11 -05:00
James Grugett
c00681abd8 Move mobile limit bets list into bet dialog. 2022-07-09 16:45:25 -05:00
James Grugett
5648595272 Simplify mobile betting dialog 2022-07-09 16:39:48 -05:00
James Grugett
4596a1ef26 Don't show amount error in probability input 2022-07-09 16:12:15 -05:00
James Grugett
0bc5c80c32 Tweak 2022-07-09 15:58:03 -05:00
James Grugett
9548350112 Add tooltip to explain limit probability 2022-07-09 15:42:28 -05:00
James Grugett
89ac26417b Merge branch 'main' into limit-orders 2022-07-09 14:42:46 -05:00
James Grugett
5be2ea8583 Implement selling shares 2022-07-09 14:26:23 -05:00
James Grugett
dd9be0376b Your limit bets 2022-07-08 18:14:22 -05:00
Ian Philips
f171462d0d Enable tipping on group chats w/ notif (#629) 2022-07-07 18:52:04 -05:00
Ian Philips
544fb2ebb7 Bold more on new group chats 2022-07-07 18:52:04 -05:00
Ian Philips
0522483a9a Analyze tab usage 2022-07-07 18:52:04 -05:00
Ian Philips
39cf961b15 Remove category selector references 2022-07-07 18:52:04 -05:00
Ian Philips
d942e6f658 Remove category filters 2022-07-07 18:52:04 -05:00
Ian Philips
ca47a7c51a Use react-query to cache notifications (#625)
* Use react-query to cache notifications

* Fix imports

* Cleanup

* Limit unseen notifs query

* Catch the bounced query

* Don't use interval

* Unused var

* Avoid flash of page nav

* Give notification question priority & 2 lines

* Right justify timestamps

* Rewording

* Margin

* Simplify error msg

* Be explicit about limit for unseen notifs

* Pass limit > 0
2022-07-07 18:52:04 -05:00
Ian Philips
49a58c47d4 Unused vars 2022-07-07 18:52:04 -05:00
Ian Philips
9473f0ba2e Groups UX on mobile 2022-07-07 18:52:04 -05:00
Ian Philips
f8fa13638a Small groups UX changes 2022-07-07 18:52:04 -05:00
James Grugett
d8202cb029 Remove console.logs 2022-07-06 23:33:34 -05:00
James Grugett
60f5f311f9 Support limit orders on numeric markets 2022-07-06 23:09:38 -05:00
James Grugett
a68c100df8 Add limit order switcher to mobile bet dialog 2022-07-06 22:32:25 -05:00
James Grugett
34b80074a3 Deduct user balance only on each fill. Store orderAmount of bet. Timestamp of fills. 2022-07-06 17:49:17 -05:00
James Grugett
a2a655063a Merge branch 'main' into limit-orders 2022-07-06 15:36:16 -05:00
Ian Philips
de20ee9fb9
Show tip notifications (#623)
* Show tip notifications

* Optimizing notifications for mobile

* Unused vars

* Move income reason logic to income notif

* Remove unnecessary icons

* Unused vars
2022-07-06 13:30:51 -06:00
Austin Chen
2d1e76eae8 When duplicating, add the original link in description 2022-07-06 10:39:19 -07:00
Ian Philips
434b8b9dbe Just show first names to save space 2022-07-06 07:51:32 -06:00
Austin Chen
b71944607b Simplify Tweet text 2022-07-05 16:48:59 -07:00
Austin Chen
cb25a7752d
Duplicate a question from '...' screen (#622)
* Duplicate a question from '...' screen

* Remove unused code
2022-07-05 16:26:58 -07:00
Ian Philips
3a6d28e2c2
Bold groups with recent chat activity (#621)
* Bold groups with recent chat activity

* Cleanup

* Cleanup
2022-07-05 17:18:37 -06:00
Sinclair Chen
270a5fc139 also filter by username when adding people 2022-07-05 14:34:16 -07:00
James Grugett
54779f93f9 Limit probability selector to 1-99 2022-07-05 16:39:57 -04:00
James Grugett
6cea9de8d3 Rename open bets to limit bets. Tweak payout calculation 2022-07-05 16:39:40 -04:00
Ian Philips
b26648c1ce
Daily trading bonuses (#618)
* first commit, WIP

* Give trading bonuses & paginate notifications

* Move read & update into transaction

* Move request bonus logic to notifs icon
2022-07-05 11:29:26 -06:00
James Grugett
871271ecbb Fix build error 2022-07-05 11:55:59 -04:00
James Grugett
f98bc17bc1 Cancel bet endpoint. 2022-07-05 11:50:15 -04:00
James Grugett
83557515ad Render your open bets (unfilled limit orders) 2022-07-05 11:14:00 -04:00
Ian Philips
790fdad1e3 Display refered by publicly 2022-07-04 09:18:01 -06:00
Ian Philips
22f917e250 Avatar sizes to 24, size 20 is broken 2022-07-04 08:32:51 -06:00
Ian Philips
e712ad8289
Allow users to choose who referred them (#611)
* Allow users to choose who referred them

* Refactor

* Rewording

* Match list styles

* Match empty text styles
2022-07-04 07:49:41 -06:00
mantikoros
d78bbcb3df fix navbar tracking 2022-07-03 23:43:18 -04:00
James Grugett
68abee86fb Simpler switching between bet & limit bet. 2022-07-03 23:42:49 -04:00
James Grugett
e88e7a604a Listen for unfilled bets in bet panel. Calculate how the probability moves based on open limit orders. 2022-07-03 23:28:32 -04:00
James Grugett
3d4f993998 Merge branch 'main' into limit-orders 2022-07-03 15:57:09 -04:00
Pico2x
960f8a1b3d
Toggle weekly leaderboard and daily/weekly/alltime portfolio graph (#616)
* Toggle weekly leaderboard and daily/weekly/alltime portfolio graph

* Formatmoney for tooltip value
2022-07-03 14:18:12 -05:00
mantikoros
1a6afaf44f
Pseudo numeric market (#609)
* create pseudo-numeric contracts

* graph and bet panel for pseudo numeric

* pseudo numeric market layout, quick betting

* Estimated value

* sell panel

* fix graph

* pseudo numeric resolution

* bets tab

* redemption for pseudo numeric markets

* create log scale market, validation

* log scale

* create: initial value can't be min or max

* don't allow log scale for ranges with negative values (b/c of problem with graph library)

* prettier delenda est

* graph: handle min value of zero

* bet labeling

* validation

* prettier

* pseudo numeric embeds

* update disclaimer

* validation

* validation
2022-07-02 14:37:59 -05:00
James Grugett
cda3edb4d1 Use client side contract search for emulator 2022-07-02 14:03:18 -04:00
Ian Philips
2dce3e15a1 Correct margin on tabs 2022-07-01 17:03:26 -06:00
Ian Philips
b9931e65da Allow adding anyone's contract to a group 2022-07-01 16:37:30 -06:00
James Grugett
cb68530e2a Use client side contract search for emulator 2022-07-01 12:26:45 -04:00
James Grugett
746ba5e802 Merge branch 'main' into limit-orders 2022-07-01 12:07:44 -04:00