James Grugett
4fa38a2ece
Tweak wording
2022-07-10 12:25:58 -05:00
James Grugett
9e7b3c0887
Simple bet fill notification
2022-07-10 12:21:42 -05:00
James Grugett
c00681abd8
Move mobile limit bets list into bet dialog.
2022-07-09 16:45:25 -05:00
James Grugett
89ac26417b
Merge branch 'main' into limit-orders
2022-07-09 14:42:46 -05:00
Ian Philips
f171462d0d
Enable tipping on group chats w/ notif ( #629 )
2022-07-07 18:52:04 -05:00
Ian Philips
800d0e321c
Minor notif spacing adjustments
2022-07-07 18:52:04 -05:00
Ben Congdon
0a4d186c3b
Add API route for listing a bets by user ( #567 )
...
* Add API route for getting a user's bets
* Refactor bets API to use /bets
* Update /markets to use zod validation
* Update docs
2022-07-07 18:52:04 -05:00
Ian Philips
0522483a9a
Analyze tab usage
2022-07-07 18:52:04 -05:00
Ian Philips
f246de9026
Track notification clicks
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
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
mantikoros
855079b413
create: remove automatic setting of log scale
2022-07-07 18:52:04 -05:00
Ian Philips
49a58c47d4
Unused vars
2022-07-07 18:52:04 -05:00
Ian Philips
47c562ca96
Leaderboards => Rankings on groups
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
Ian Philips
3f528cef5d
Slight notifications refactor
2022-07-07 18:52:04 -05:00
James Grugett
60f5f311f9
Support limit orders on numeric markets
2022-07-06 23:09:38 -05:00
James Grugett
a2a655063a
Merge branch 'main' into limit-orders
2022-07-06 15:36:16 -05:00
Ian Philips
54b4f97a84
Move timestamp to same line
2022-07-06 13:45:31 -06: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
Ian Philips
434b8b9dbe
Just show first names to save space
2022-07-06 07:51:32 -06:00
Ian Philips
83a02c4b20
Small notifications ux improvements
2022-07-06 07:45:47 -06:00
Ian Philips
a6143c1abb
Always group income
2022-07-06 07:27:21 -06:00
Austin Chen
029021b351
Remove Categories from /create
2022-07-05 17:20:37 -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
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
83557515ad
Render your open bets (unfilled limit orders)
2022-07-05 11:14:00 -04:00
Sinclair Chen
af2b148b34
show names on admin user table
2022-07-04 13:25:44 -07: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
Austin Chen
9839b7b5a4
Allow customizing starting balance & antes
2022-07-03 16:46:15 -07: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
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
Ben Congdon
d29115b05a
Nitpick on Manalinks claim page ( #608 )
2022-07-01 08:40:43 -07:00
Ian Philips
3165e42119
Referrals ( #592 )
...
* add trigger for updated user
* Add referral bonuses and notifications for them
* Cleanup
* Add share group button, cleanup
* Cleanup
* Add referrals list to user profile
* Remove unused
* Referral bonus => constant
* Refactor
* Add referral txn to helper fn
* Move reads into firebase transaction
* Use effects to write referral info
* Flex-wrap profile objects
* Small ui changes
* Restrict referral user to one update
* Remove rogue semicolon
* Note about group referral query details
* Track referrals, add them to settings list
2022-07-01 07:47:19 -06:00
Ben Congdon
c5efd5b7d0
Market Resolution API ( #600 )
...
* Add market resolution API
* Add additional free market resolution validation
* Address review comments
* Refactor resolution validation code somewhat
Co-authored-by: Marshall Polaris <marshall@pol.rs>
2022-06-30 15:11:45 -07:00
Austin Chen
7bbc425690
Only show "My Groups" when there is at least 1 group
2022-06-29 17:54:08 -05:00
Ian Philips
8c3c30c707
Show groups on user page, allow to join/leave ( #594 )
...
* Show groups on user page, allow to join/leave
* Link to groups
* Unused var
2022-06-29 11:00:43 -05:00
James Grugett
53e2ff7327
Merge branch 'main' into limit-orders
2022-06-28 11:02:12 -05:00
James Grugett
4107d5fedb
Fix weird layout on refreshing create page
2022-06-27 14:40:40 -05:00
Ben Congdon
3b6ba76db6
Add market liquidity addition events to bets feed ( #578 )
...
* Add liquidity events to bets feed
* Use larger avatar for liquidity feed items
2022-06-26 19:00:02 -05:00
Marshall Polaris
0067bee94b
Compute stats in Firebase instead of Vercel ( #584 )
...
* Add stats updating cloud function
* Read stats from database on client instead of computing them
* Improve logging for stats updater
* Tidying up
2022-06-26 14:42:42 -07:00
Marshall Polaris
2e5d852a77
Fix lint
2022-06-25 18:20:54 -07:00