mantikoros
d063e209dd
Revert "expand search bar when typing on mobile"
...
This reverts commit 43b1096313
.
2022-07-09 22:04:50 -04:00
mantikoros
43b1096313
expand search bar when typing on mobile
2022-07-09 17:27:39 -04:00
Marshall Polaris
67a05c2f1b
Migrate transact function to v2 ( #635 )
2022-07-09 13:54:15 -07:00
Marshall Polaris
c1ca1471a1
Migrate createAnswer function to v2 ( #634 )
...
* Migrate createAnswer function to v2
* Remove unhelpful toString on APIError
2022-07-09 00:26:56 -07:00
Marshall Polaris
d9f42caa6a
Migrate addLiquidity and withdrawLiquidity functions to v2 ( #627 )
2022-07-08 15:08:17 -07:00
mantikoros
93b293ca0e
remove quick betting for FR markets
2022-07-08 12:50:46 -04:00
mantikoros
50c5f8b6eb
reenable fees on share sales; rename getCpmmFees()
2022-07-08 12:34:16 -04:00
Ian Philips
b1b016f9e0
Enable tipping on group chats w/ notif ( #629 )
2022-07-07 17:23:13 -06:00
Ian Philips
999c1cd8e3
Bold more on new group chats
2022-07-07 15:52:28 -06:00
Ian Philips
e456b9a855
Analyze tab usage
2022-07-07 15:24:13 -06:00
Ian Philips
3ff8b26312
Remove category selector references
2022-07-07 14:55:28 -06:00
Ian Philips
d6e808e1a3
Remove category filters
2022-07-07 14:45:26 -06:00
Ian Philips
cfbb78af48
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 14:41:50 -06:00
Ian Philips
7f8617832f
Unused vars
2022-07-07 07:05:12 -06:00
Ian Philips
93b2900015
Groups UX on mobile
2022-07-07 06:53:14 -06:00
Ian Philips
a23c744c3e
Small groups UX changes
2022-07-06 17:24:53 -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
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
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
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
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
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
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
7fc1ec6bd2
Clear suggested FR answer after submission ( #603 )
2022-06-30 15:13:59 -07:00
Marshall Polaris
fc7f19e785
Finalize v2 resolvemarket migration ( #598 )
...
* Update resolve-market to be a v2 function
* Cleanup API error responses
* Update frontend to use v2 version of resolvemarket
* Appease ESLint
* Address review comments
* Appease ESLint
* Remove unnecessary auth check
* Fix logic bug in FR market validation
* Make it so you can specify runtime opts for v2 functions
* Cleanup to resolve market API resolutions input, fixes
* Fix up tiny lint
* Last minute cleanup to resolvemarket FR API input validation
Co-authored-by: Benjamin <ben@congdon.dev>
2022-06-29 16:47:06 -07:00
Austin Chen
19d12c949a
Add a line spacer on the sidebar
2022-06-29 17:51:11 -05:00
Austin Chen
8132fa595b
Don't add space when there are 0 groups
2022-06-29 13:08:01 -05:00
Austin Chen
2d79d7f8db
Rework nav to show list of groups ( #596 )
...
* Rework nav to show list of groups
* Fix lint
* Replace Portfolio with Profile link
* Lint: remove unused vars
2022-06-29 12:33:20 -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
Austin Chen
c18a0378e9
Tweak nav items around
2022-06-28 11:18:55 -05:00
Austin Chen
2f434c849d
Remove portfolio link; user icon links to portfolio
2022-06-28 11:03:14 -05:00
Sinclair Chen
54356b8d2f
Remove undo. Show full tip amount. Linear scale. ( #573 )
2022-06-27 11:18:15 -05:00
Austin Chen
c1765ca0cb
Use green for FR (and numeric) cards
2022-06-26 19:44:10 -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
Ben Congdon
5e768aa57c
Prevent duplicate Free Response answers ( #581 )
...
* Prevent duplicate Free Response answers
* Address review comments
2022-06-25 16:18:49 -07:00
Austin Chen
da81035e58
Group leaderboards show members only by default
2022-06-24 18:38:39 -05:00
James Grugett
b7dbcaaadf
Run prettier
2022-06-24 12:27:03 -05:00
James Grugett
8d7bf6fb64
Apply tag and creatorId filters to contract firestore search
2022-06-24 12:19:04 -05:00
Ian Philips
8ced159d9a
Various group & mobile ux improvements
2022-06-24 12:16:37 -05:00