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
Forrest Wolf
397d90c6b7
Replace some more uses of any
with more specific types ( #389 )
...
* Give confirmation button icon a type
* Give setBids a type
* Make StripeSession type more specific
* Give MenuButton buttonContent a type
2022-06-02 17:40:41 -07:00
TrueMilli
0f2a311b74
Refactoring ( #401 )
...
* refactoring
(cherry picked from commit 4de86d5b08
)
* removed unused imports and variables
* added type for binary resolution
* Prettier
* const for binary resolutions
* using the type "resolution"
* Prettier
* Update functions/src/create-contract.ts
* launch config for debugging with vs code
* "Launch Chrome" does not work since login via google is not possible in debugger-chrome
* Breakpoints are unbound when attached to chrome
2022-06-02 17:30:34 -07:00
James Grugett
bbb9a2c1fa
Quick bet: Opposite arrow sells position
2022-06-02 18:24:10 -05:00
mantikoros
06c5c97a03
down betting arrow disabled for free response markets
2022-06-02 16:25:41 -05:00
mantikoros
5a4bb65d80
remove extra space (to fix prettier static check)
2022-06-02 16:00:38 -05:00
mantikoros
5af2e1fef0
up arrows green, down arrows red
2022-06-02 15:54:03 -05:00
Austin Chen
5b142baa98
Revert "Demote charity to more menu"
...
This reverts commit 311b39ffe9
.
2022-06-02 13:35:31 -07:00
mantikoros
4fbc7703ce
create page: remove numeric markets
2022-06-02 14:27:01 -05:00
Sinclair Chen
e1b1f30c55
make sell button show on mobile (bet list)
2022-06-02 10:56:56 -07:00
Ian Philips
9b4974a3da
Auth for description/close time, unauth for tags
2022-06-02 11:23:25 -06:00
Ian Philips
31a0a378ef
Sync firestore rules from firebase console
2022-06-02 11:14:01 -06:00
James Grugett
c40f2904f0
Revert "check id on update ( #393 )"
...
This reverts commit c2f993ddf2
.
2022-06-02 10:42:05 -05:00
James Grugett
311b39ffe9
Demote charity to more menu
2022-06-01 23:31:38 -05:00
James Grugett
f14bb63393
Check that sold bet is by auth'd user
2022-06-01 18:30:42 -05:00
TrueMilli
c2f993ddf2
check id on update ( #393 )
2022-06-01 16:30:36 -07:00
Ian Philips
78a359407d
Notifications reverted ux ( #386 )
...
* Revert "Revert "Notifications ux fixes - wip (#383 )""
This reverts commit 699b03eb42
.
* <p>=><div>
2022-06-01 12:26:41 -06:00
Ian Philips
699b03eb42
Revert "Notifications ux fixes - wip ( #383 )"
...
This reverts commit b5057f4028
.
2022-06-01 11:52:27 -06:00
Ian Philips
b5057f4028
Notifications ux fixes - wip ( #383 )
...
* Notifications generating on comment,answer,contract update
* Notifications MVP
* Submitted an answer => answered
* Listen for unseen notifications
* Fix userlink formatting, move page
* Fix links
* Remove redundant code
* Cleanup
* Cleanup
* Refactor name
* Comments
* Cleanup & update notif only after data retrieval
* Find initial new notifs on user change
* Enforce auth rules in db
* eslint update
* Code review changes
* Refactor reason
* Add todos
* Show question in notifiation title
* Allow larger width on md
* Condense on mobile
* Decrease padding, hide title on mobile
* Line clamp notifications
* Shrink text
2022-06-01 11:31:46 -06:00
Jack
536ef180ce
Add charities: EA Funds and Founders Pledge funds ( #382 )
...
Co-authored-by: jackc271 <jackc2718@gmail.com>
2022-06-01 10:25:37 -07:00
TrueMilli
29a09ad276
Made an actual comment ( #384 )
2022-06-01 10:20:45 -07:00
James Grugett
2c4aa6152e
Hide sell buttons in other people's profiles
2022-06-01 11:28:47 -05:00
Ian Philips
59830579a9
Set timeout to reset the free market banner ( #367 )
...
* wip - trigger recheck when past time
* wip - trigger recheck when past time
* Reset logic
* Interval=>timeout
2022-06-01 07:54:48 -06:00
Ian Philips
1c980ba678
Notifications ( #354 )
...
* Notifications generating on comment,answer,contract update
* Notifications MVP
* Submitted an answer => answered
* Listen for unseen notifications
* Fix userlink formatting, move page
* Fix links
* Remove redundant code
* Cleanup
* Cleanup
* Refactor name
* Comments
* Cleanup & update notif only after data retrieval
* Find initial new notifs on user change
* Enforce auth rules in db
* eslint update
* Code review changes
* Refactor reason
2022-06-01 07:11:25 -06:00
Marshall Polaris
35c373f6ce
MULTI contracts are not a thing ( #381 )
2022-05-31 20:40:08 -07:00
James Grugett
dec286583a
Show bets loading indictor instead of wrong data
2022-05-31 22:21:45 -05:00
Marshall Polaris
9f1fe3ee17
Fix busted avatar links on charity pages ( #380 )
2022-05-31 20:02:50 -07:00
Marshall Polaris
7c4ec2a8e3
Refactor contract typing to be more concise and more correct ( #355 )
...
* Refactor contract types slightly
* Refactor contract types greatly
* Kill dead binary DPM contract creation code
* Use BinaryContract, DPMContract, etc. type aliases
2022-05-31 19:42:35 -07:00
Forrest Wolf
30adb5e1f8
Fix dependency of useEffect in BetsList ( #379 )
...
* Fix dependency of useEffect in BetsList
* Revert "Fix dependency of useEffect in BetsList"
This reverts commit 077b211f22
.
* Disable linter for BetsList useEffect deps
* Add hideBetsBefore to useEffect dependencies
* Fix formatting
2022-05-31 21:36:00 -05:00
James Grugett
9cb24c9f3c
Make categories work when signed out
2022-05-31 21:23:36 -05:00
James Grugett
b236ebdbd9
Fix janky horizontal scrollbar on home on mobile
2022-05-31 20:07:28 -05:00
Austin Chen
a840143990
Publicly display bets without infinite looping
...
React why
2022-05-31 18:06:29 -07:00
Sinclair Chen
c8bf71d40d
Allow selling CPMM binary position from bet table ( #372 )
...
* Allow selling CPMM binary position from bet table
* Only click to collapse on bet header, not body
2022-05-31 17:36:58 -07:00
Sinclair Chen
3d9d60e8fe
refactor Row, Col to accept all div props
2022-05-31 17:13:54 -07:00
Marshall Polaris
d8af8accbb
Mention /docs package in README
2022-05-31 15:16:18 -07:00
Marshall Polaris
cee8e8b892
Fix up formatting in the docs package to use Prettier correctly ( #370 )
...
* Add .prettierignore to docs package
* Fix up prettier errors
2022-05-31 14:50:21 -07:00
Marshall Polaris
c640b4c830
Bring docs repo into main repo as new workspace ( #369 )
...
* Bring docs repo into main repo as new workspace
* Pin @types/react to 17.x
2022-05-31 14:30:58 -07:00
Sinclair Chen
6106eeee95
copyedit: donations available after May
2022-05-31 13:23:01 -07:00
James Grugett
5bcff4171b
Revert "Publicly display bets placed after 06-01-2022"
...
This reverts commit a4330cfdf2
.
2022-05-31 14:15:26 -05:00
Austin Chen
a4330cfdf2
Publicly display bets placed after 06-01-2022
2022-05-31 10:49:07 -07:00
Ian Philips
2fb1c4bb11
Free markets: Generate new date for setUTCHours
2022-05-31 09:51:44 -06:00
Austin Chen
3bc4e7b336
Embed @wasabipesto's charts on /analytics
2022-05-31 08:32:11 -07:00
Austin Chen
5978f4b1cb
Show blog link in sidebar
2022-05-29 17:33:41 -07:00
James Grugett
23944bf47a
Filter redemption bets out of market 'Bets' tab
2022-05-28 15:57:12 -05:00
James Grugett
90a8de09d7
Ask a question => Create a question
2022-05-28 15:48:08 -05:00
James Grugett
4c81106612
Don't show quick bet when signed out, or for numeric markets
2022-05-28 15:36:16 -05:00
James Grugett
29a05ffff2
Disable quick bet for resolved markets
2022-05-28 15:27:01 -05:00