Commit Graph

1597 Commits

Author SHA1 Message Date
Milli
c3798a1d48 removed vscode from gitignore 2022-06-03 19:37:53 +02:00
Milli
32859a3dab Removed comments, default resolution MKT 2022-06-03 19:30:43 +02:00
Milli
f7bc69d76e Merge branch 'main' into automated-market-resolution 2022-06-03 19:06:52 +02:00
Milli
1ce8276013 fix merge 2022-06-03 19:06:23 +02:00
Milli
b1532f766a Merge branch 'vscode_files' into automated-market-resolution
# Conflicts:
#	.vscode/settings.json
2022-06-03 19:05:50 +02:00
Milli
c3b5cc3f7f Working debugger config 2022-06-03 18:41:21 +02: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
Milli
6a46169ab9 Merge branch 'vscode_files' of https://github.com/TrueMilli/manifold into vscode_files 2022-06-03 02:31:34 +02:00
Milli
226c725e7d vscode settings
* correct linebreaks
* search exclusion
* automatic prettifier
2022-06-03 02:31:27 +02: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
Milli
0ac289bd44 vscode settings
* correct linebreaks
* search exclusion
* automatic prettifier
2022-06-03 02:29:54 +02:00
Milli
7c825242e2 Merge branch 'refactoring' into automated-market-resolution
# Conflicts:
#	common/contract.ts
2022-06-03 02:20:33 +02:00
Milli
46d38dbb0b linebreak crlf 2022-06-03 02:08:40 +02:00
Milli
f3dfd81666 prettier 2022-06-03 01:37:37 +02:00
James Grugett
bbb9a2c1fa Quick bet: Opposite arrow sells position 2022-06-02 18:24:10 -05:00
Milli
7f25a6da1a Revert "Added comments for leading semicolons" 2022-06-03 01:14:45 +02:00
Milli
78969e4a41 launch config for debugging with vs code WIP
* "Launch Chrome" does not work since login via google is not possible in debugger-chrome
* Breakpoints are unbound when attached to chrome
2022-06-03 01:06:24 +02:00
Milli
776f7b7367 Revert "Ignoring vs code files"
This reverts commit 09aea5c207.
2022-06-03 01:03:10 +02:00
TrueMilli
a416a2de6e
Update functions/src/create-contract.ts 2022-06-03 00:48:45 +02:00
Milli
a19e6326a3 Re-added comment 2022-06-03 00:46:38 +02:00
Milli
4be929fd8e Prettier 2022-06-03 00:39:15 +02:00
Milli
5315eb3600 using the type "resolution" 2022-06-03 00:36:24 +02:00
Milli
01adc91a67 const for binary resolutions 2022-06-03 00:31:05 +02:00
Milli
fba083cead Prettier 2022-06-03 00:09:02 +02:00
Milli
dfec5ed8fa added type for binary resolution 2022-06-02 23:35:58 +02:00
Milli
6dab3c4e29 removed unused imports and variables 2022-06-02 23:32:19 +02:00
Milli
09aea5c207 Ignoring vs code files
Should this be done in the repo or should everyone using VS Code do that himself globally on his machine(s)?

(cherry picked from commit 944de9398a)
2022-06-02 23:29:03 +02:00
Milli
03a3726dd8 Added comments for leading semicolons
(cherry picked from commit 60739c7853)
2022-06-02 23:27:13 +02:00
mantikoros
06c5c97a03 down betting arrow disabled for free response markets 2022-06-02 16:25:41 -05:00
Milli
1b2aff170f refactoring
(cherry picked from commit 4de86d5b08)
2022-06-02 23:25:09 +02:00
Milli
722a6e6d94 Merge branch 'refactoring' into automated-market-resolution
# Conflicts:
#	firestore.rules
2022-06-02 23:23:39 +02:00
Milli
d355e7a95e removed unnecessary export 2022-06-02 23:22:04 +02: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
Milli
6f9b707643 prohibited changing other peoples markets 2022-06-02 01:17:45 +02:00
Milli
4a1c8d52b7 Setting of auto resolve date when changing close date 2022-06-02 01:16:31 +02:00
Milli
1c91cc984a New edit interface for auto resolution 2022-06-01 23:23:34 +02:00
Milli
6cf574f33c Merge remote-tracking branch 'upstream/main' into automated-market-resolution
# Conflicts:
#	common/contract.ts
#	package.json
#	web/components/contract/quick-bet.tsx
#	web/components/outcome-label.tsx
#	web/components/resolution-panel.tsx
2022-06-01 22:38:45 +02:00