Austin Chen
6ac29106f2
Extract out liquidity component
2022-06-10 09:22:40 -07:00
Austin Chen
3898ec95ed
Tweak interface
2022-06-10 09:12:44 -07:00
Austin Chen
4cd35c8742
Show a preview of where the buy goes to
2022-06-08 20:29:23 -07:00
Austin Chen
7acd3aed93
Simplify buying logic
2022-06-08 20:19:26 -07:00
Austin Chen
06c49be05b
Implement buy YES calculation
2022-06-08 19:56:59 -07:00
Austin Chen
17ae9d953d
Calculate gross liquidity
2022-06-08 10:36:35 -07:00
Austin Chen
853c45d564
Make typescript happy
2022-06-08 09:10:34 -07:00
Austin Chen
2fdb962a14
Show current prob on graph
2022-06-08 08:57:15 -07:00
Austin Chen
81064e67cf
Show tickStates in graph and table
2022-06-08 08:45:09 -07:00
Austin Chen
8734a14e6b
Remove sqrtRatio for now; track tickStates
2022-06-07 09:46:36 -07:00
Austin Chen
ab3b88112f
Graph the amount of liquidity available
2022-06-07 09:36:42 -07:00
Austin Chen
538ae323d7
Floor tick values
2022-06-07 08:54:17 -07:00
Austin Chen
4b09640e60
Create a test interface for Uniswap v3
2022-06-07 08:37:00 -07:00
Ian Philips
4aec46f880
Follow notif groups => Other activity
2022-06-06 16:36:55 -06:00
Ian Philips
85ad343d5d
Follow notifications => user profile
2022-06-06 16:30:31 -06:00
Ian Philips
a7a482eecd
Various notifications bugfixes/improvements ( #442 )
...
* Various notifications bugfixes/improvements
* eslint
2022-06-06 16:15:36 -06:00
James Grugett
849e7d03a8
Switch to tabs for categories vs following
2022-06-06 14:53:05 -05:00
Marshall Polaris
d9eb9798e5
Point client at new v2 versions of createmarket
and placebet
( #433 )
...
* Kill 'warmup spam' for createContract and placeBet
* Point v2 function calls at v2 endpoints
* Add real prod placebet and createmarket endpoints
2022-06-06 12:46:06 -07:00
Marshall Polaris
13826b5759
Migrate placeBet and createContract to v2 functions ( #432 )
2022-06-06 12:34:58 -07:00
Ian Philips
44b3579cc7
Add tip to see more
2022-06-06 12:01:12 -06:00
James Grugett
caa43856af
Run prettier :P
2022-06-06 12:55:13 -05:00
James Grugett
587357c13f
Description for categories / users you are following with edit button.
2022-06-06 12:51:45 -05:00
Ian Philips
6aa639591b
Minor settings line wording tweaks
2022-06-06 11:46:26 -06:00
Ian Philips
1976bc755e
Revert "Revert "Notification detail, grouping, and settings control [wip] ( #403 )""
...
This reverts commit 07f2d390e5
.
2022-06-06 11:36:59 -06:00
Ian Philips
07f2d390e5
Revert "Notification detail, grouping, and settings control [wip] ( #403 )"
...
This reverts commit 37c7f909a3
.
2022-06-06 10:54:25 -06:00
Ian Philips
37c7f909a3
Notification detail, grouping, and settings control [wip] ( #403 )
...
* Revert "Revert "Notifications ux fixes - wip (#383 )""
This reverts commit 699b03eb42
.
* Group & provide more control over notification display
* UI/UX improvements
* Remove unused text key
* Refactor
* Refactor
* Show answer resolution in notification
* Disable eslint on single linefor exhaustive deps
* Handle arbritrary notifications
* Refactor
* Remove unused vars
* Add follow user
* Various UX improvements, add follow notif
* Various small ui changes
* Show notification settings breakdown
* Improve notification status lines
2022-06-06 10:52:11 -06:00
James Grugett
773465c6c5
Move select all button to top of category selector modal
2022-06-06 10:44:37 -05:00
mantikoros
43b0fe6749
Contract card ui tweaks: consistent market type colors, no underline,… ( #402 )
...
* contract card ui tweaks: consistent market type colors, no underline, adjust font/border size
* bigger probabiity numbers in contract card
* revert non-color changes; change prob bar width to 1.5
2022-06-06 09:54:43 -05:00
Marshall Polaris
9e66daa861
Ratchet up linting for functions package a little bit ( #431 )
2022-06-05 22:50:27 -07:00
Marshall Polaris
e712a054ae
Fix line endings
2022-06-05 18:57:49 -07:00
Jack
004dd7168e
Fix free response answers with 0 bets disappearing ( #427 )
...
Before this PR, free response answers and their associated comments disappeared when all shares in the answer were sold. If it's just an answer, this is a surprising UX but not that bad. But this can also disappear an entire comment thread with great discussion, as I noticed on one of my markets recently.
I suppose the downside is that these answers take up space and are more likely to be undesired - but I think answers with M$1 of bets are much more common anyway.
2022-06-05 17:20:06 -07:00
James Grugett
a39b1e502c
Fix navigate to home not working
2022-06-05 15:45:33 -05:00
James Grugett
96db414ca1
Category checklist ( #426 )
...
* Use ChoicesToggleGroup for categories vs following
* Edit categories modal
* Filter closed and resolved using Configure. Set page to 0.
* Add useEvent hook, incase we want to use it before React releases it.
* useMemo on filters computation
* Try to fix prettier
* Use check box! Add select all/none button
2022-06-05 14:06:08 -05:00
James Grugett
3d31641050
Fix clicking card from user profile has no effect
2022-06-04 23:21:24 -05:00
James Grugett
a42a0f086c
Remove Row and run prettier
2022-06-04 21:53:55 -05:00
James Grugett
cfd6af7c72
Tweak create page layout
2022-06-04 21:28:27 -05:00
James Grugett
11974f68fc
Run prettier
2022-06-04 19:14:14 -05:00
James Grugett
93bb1dd519
Support ctrl or command click to open link in new tab
2022-06-04 19:13:07 -05:00
James Grugett
5152be57ba
Quick back from clicking contract card on home! Preserves search state.
2022-06-04 19:00:13 -05:00
James Grugett
cd12628565
Tag page: load sort option from storage
2022-06-04 18:17:32 -05:00
Marshall Polaris
069b88d6fd
Fix API calls to hit emulated Firebase ( #424 )
2022-06-04 15:19:46 -07:00
Marshall Polaris
33ddd86add
Switch to Google Secret Manager for function secrets ( #418 )
...
* Upgrade firebase-functions 3.16.0 -> 3.21.2
* Use Secret Manager instead of config
* Small refactoring on new stripe/mailgun initialization
* Teach README about new secrets workflow
2022-06-04 14:39:25 -07:00
Justin
e3eb43a14b
add volume to api response ( #413 )
2022-06-04 13:33:07 -07:00
Marshall Polaris
f8c44efeba
Small cleanup to some common
code ( #422 )
...
* Remove unnecessary type helpers
* Turn on unused code lint
2022-06-04 13:30:54 -07:00
Forrest Wolf
b89753e1fe
Add yarn verify
script ( #378 )
...
* Add yarn check script
* Rename
* Add verify script to subdirectories for convenience
2022-06-03 15:10:14 -07:00
Marshall Polaris
7572e07489
Add a /health function for ease of benchmarking ( #412 )
...
* Slightly more defensive API endpoints
* Add health endpoint for benchmarking trivial Firebase fns
2022-06-03 14:49:09 -07:00
TrueMilli
00f142ec7e
vscode settings ( #409 )
...
* vscode settings
* Working debugger config
2022-06-03 12:17:31 -07:00
Marshall Polaris
49859e6f00
Call cloud functions directly from web client instead of proxy ( #405 )
2022-06-03 00:50:24 -07:00
James Grugett
c1bda8a775
Follow other users. Filter markets by followed ( #387 )
...
* Add follow button to user page
* Update follows in the database using follow button.
* Add toggle for followed market creators to home
* Hide follow toggle from user's markets page
* Check that sold bet is by auth'd user
* Change follow toggle to category pill
* Remove unused imports
* Remove console.logs
2022-06-02 23:52:14 -05:00
Sinclair Chen
749f7aad40
copyedit: username in bet list empty state
2022-06-02 18:07:47 -07:00