manifold/web/components
TrueMilli a3663d03e8
Automated market resolution (#404)
* Added radio buttons to market creation (non functional)

* 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)?

* Removed 'automatic' resolution

* added union type for resolution

* revert: resolution could be anything here (non binary markets)

* Expanded ChoicesToggleGroup for string choices

* Added combined resolution and required buttons to market creation

* restricted automatic resolution to binary markets

* added automatic resolution to contract

* added automatic resolution to contract overview

* string or number array to mixed array

* created const for resolutions

* Added comments for leading semicolons

* configuration of auto resolution on market creation

* v1.22.19

* v1.0.0

* v0.0.0

* v1.0.0

* v1.22.19

* Mock display automatic resolution

* Revert changes to market creation

* Revert "v1.22.19"

This reverts commit 22f59adc9c.

* Removed resolutiontype from contract creation

* Added auto resolution time to contract

* Auto resolution date editable

* refactoring

* Editable interface for auto resolution

* New edit interface for auto resolution

* Setting of auto resolve date when changing close date

* prohibited changing other peoples markets

* removed unnecessary export

* refactoring

(cherry picked from commit 4de86d5b08)

* Added comments for leading semicolons

(cherry picked from commit 60739c7853)

* 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)

* removed unused imports and variables

* added type for binary resolution

* Prettier

* const for binary resolutions

* using the type "resolution"

* Prettier

* Re-added comment

* Update functions/src/create-contract.ts

* Revert "Ignoring vs code files"

This reverts commit 09aea5c207.

* 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

* Revert "Added comments for leading semicolons"

* prettier

* linebreak crlf

* vscode settings

* correct linebreaks
* search exclusion
* automatic prettifier

* vscode settings

* correct linebreaks
* search exclusion
* automatic prettifier

* Working debugger config

* fix merge

* Removed comments, default resolution MKT

* removed vscode from gitignore

* refactoring description update

* Added auto resolution to LiteMarket

* fix date, setDate mutates object

* fixed firestore.rules

* script to add auto resolution to all markets

* regularely auto resolve markets

* fix description error

* moved calculate ts for access in firebase

* Revert "moved calculate ts for access in firebase"

This reverts commit 8380bf4f72.

* fix reference to calculate for firebase

* fixed references to time

* renamed function

* added description

* added auto resolution to description

* direct bool check instead of != null

* direct bool check instead of != undefined

* remove explicit type

* Fix free response markets

* removed contract from functionname

* interval set to 1h

* query instead of filter

* folds ~> contracts

* query instead of filter

* promise.all instead of foreach

* removed contractDoc from function header

* removed autoResolution from function header

* batchedWaitAll instead of promise.all

* removed unused parameter

* replaced auto resolution with constant

* suggestions from PR

* fix comment

* removed unused imports

* added scripts to add close dates on prod

* optimization

* removed test script

* security: only auto resolve markets which are closed

* consistency checks

* re-added type check for binary markets
* moved check of probability into switch case block

* removed unused import

* auto resolution every minute

* auto resolution time optional

* pr fixes
2022-06-14 15:01:32 -05:00
..
analytics Show x value in numeric graph's tooltip 2022-05-22 17:48:02 -05:00
answers Listen for contract updates when navigating from home to contract page. (#494) 2022-06-13 11:04:56 -05:00
charity Add quadratic matching to Manifold for Charity (#486) 2022-06-13 20:53:29 -07:00
contract Automated market resolution (#404) 2022-06-14 15:01:32 -05:00
feed Remove unused acitivity items-related code (#492) 2022-06-14 07:13:24 -06:00
folds Revert "Revert "Turn on no unused variables linting, kill dead code (#484)"" 2022-06-12 21:42:41 -07:00
layout Automated market resolution (#404) 2022-06-14 15:01:32 -05:00
nav about button directs to "how to" (#501) 2022-06-14 18:02:21 +01:00
add-funds-button.tsx "add funds" => "get M$" 2022-06-12 23:26:05 -05:00
advanced-panel.tsx Replace some uses of any with more specific types (#344) 2022-05-26 15:22:44 -07:00
alert-box.tsx alert box component 2022-06-13 21:08:56 -05:00
amount-input.tsx Add more linting to web package (#343) 2022-05-26 14:41:24 -07:00
avatar.tsx Linkify bettor username in Bets tab 2022-06-09 15:00:31 -05:00
bet-panel.tsx fix ios scrolling in bet panel 2022-06-10 11:36:07 -05:00
bet-row.tsx Refactor contract typing to be more concise and more correct (#355) 2022-05-31 19:42:35 -07:00
bets-list.tsx Fix sorting for Your bets table 2022-06-14 11:27:11 -05:00
bucket-input.tsx Change lodash stuff so that it can be tree-shaken out of build (#233) 2022-05-22 01:36:05 -07:00
checkbox.tsx Fix line endings 2022-06-05 18:57:49 -07:00
choices-toggle-group.tsx Revert "Revert "Turn on no unused variables linting, kill dead code (#484)"" 2022-06-12 21:42:41 -07:00
client-render.tsx Add more linting to web package (#343) 2022-05-26 14:41:24 -07:00
comments-list.tsx More absolute imports (#156) 2022-05-09 09:04:36 -04:00
confirmation-button.tsx Revert "Revert "Turn on no unused variables linting, kill dead code (#484)"" 2022-06-12 21:42:41 -07:00
contract-search.tsx Put back numbers in home tab titles for categories / following 2022-06-08 11:24:35 -05:00
copy-link-button.tsx Enable url linking to comments and a copy to clipboard function [wip] (#239) 2022-05-17 09:55:26 -06:00
datetime-tooltip.tsx Add more linting to web package (#343) 2022-05-26 14:41:24 -07:00
follow-button.tsx Disallow following yourself via market page 2022-06-10 12:55:55 -05:00
follow-list.tsx Don't show follow button for yourself 2022-06-08 14:22:10 -05:00
following-button.tsx Put back edit following button 2022-06-08 14:42:23 -05:00
info-tooltip.tsx Switch to outlined icon 2022-01-16 02:14:21 -05:00
join-spans.tsx Replace some uses of any with more specific types (#344) 2022-05-26 15:22:44 -07:00
landing-page-panel.tsx prettier 2022-06-13 11:52:29 -05:00
leaderboard.tsx More absolute imports (#156) 2022-05-09 09:04:36 -04:00
linkify.tsx Add more linting to web package (#343) 2022-05-26 14:41:24 -07:00
liquidity-panel.tsx Fix lint error 2022-06-12 21:44:35 -07:00
loading-indicator.tsx Show loading indicator on comment submit 2022-05-18 10:08:42 -06:00
new-contract-badge.tsx Show "New" badge on contract cards too 2022-04-20 23:03:16 -07:00
notifications-icon.tsx Various notifications bugfixes/improvements (#442) 2022-06-06 16:15:36 -06:00
number-input.tsx Replace some uses of any with more specific types (#344) 2022-05-26 15:22:44 -07:00
numeric-bet-panel.tsx Revert "Revert "Turn on no unused variables linting, kill dead code (#484)"" 2022-06-12 21:42:41 -07:00
numeric-resolution-panel.tsx Public API improvements (#266) 2022-05-20 14:58:14 -07:00
outcome-label.tsx Refactoring (#401) 2022-06-02 17:30:34 -07:00
page.tsx Revert "Revert "Turn on no unused variables linting, kill dead code (#484)"" 2022-06-12 21:42:41 -07:00
probability-selector.tsx Revert "bound initial probability to [0.1, 0.9]" 2022-04-30 13:05:43 -04:00
relative-timestamp.tsx More absolute imports (#156) 2022-05-09 09:04:36 -04:00
resolution-panel.tsx Refactoring (#401) 2022-06-02 17:30:34 -07:00
sell-button.tsx Refactor contract typing to be more concise and more correct (#355) 2022-05-31 19:42:35 -07:00
sell-modal.tsx Refactor contract typing to be more concise and more correct (#355) 2022-05-31 19:42:35 -07:00
sell-row.tsx Refactor contract typing to be more concise and more correct (#355) 2022-05-31 19:42:35 -07:00
SEO.tsx Replace some uses of any with more specific types (#344) 2022-05-26 15:22:44 -07:00
share-embed-button.tsx Enable url linking to comments and a copy to clipboard function [wip] (#239) 2022-05-17 09:55:26 -06:00
share-market.tsx Enable url linking to comments and a copy to clipboard function [wip] (#239) 2022-05-17 09:55:26 -06:00
sign-up-prompt.tsx Extract signup prompt (#333) 2022-05-25 09:25:39 -07:00
site-link.tsx Replace some uses of any with more specific types (#344) 2022-05-26 15:22:44 -07:00
tags-input.tsx Serious business API validation & big cleanup of createContract, placeBet (#302) 2022-05-26 14:37:51 -07:00
tags-list.tsx fix double hashtag 2022-05-17 11:49:10 -04:00
text-button.tsx Extract TextButton component with blue underline. 2022-06-08 14:23:10 -05:00
title.tsx Automatically sort Tailwind classes with Prettier (#45) 2022-02-11 10:40:22 -08:00
toast-clipboard.tsx Enable url linking to comments and a copy to clipboard function [wip] (#239) 2022-05-17 09:55:26 -06:00
tweet-button.tsx Move tweet, embed buttons plus communities and tags into a market info dialog 2022-04-07 15:52:54 -05:00
use-save-shares.ts Refactor contract typing to be more concise and more correct (#355) 2022-05-31 19:42:35 -07:00
user-page.tsx alert box component 2022-06-13 21:08:56 -05:00
yes-no-selector.tsx "add funds" => "get M$" 2022-06-12 23:26:05 -05:00