Commit Graph

1589 Commits

Author SHA1 Message Date
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
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
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