manifold/web/components
mantikoros 1e66f4d140
Share row (#715)
* Challenge bets

* Store avatar url

* Fix before and after probs

* Check balance before creation

* Calculate winning shares

* pretty

* Change winning value

* Set shares to equal each other

* Fix share challenge link

* pretty

* remove lib refs

* Probability of bet is set to market

* Remove peer pill

* Cleanup

* Button on contract page

* don't show challenge if not binary or if resolved

* challenge button (WIP)

* fix accept challenge: don't change pool/probability

* Opengraph preview [WIP]

* elim lib

* Edit og card props

* Change challenge text

* New card gen attempt

* Get challenge on server

* challenge button styling

* Use env domain

* Remove other window ref

* Use challenge creator as avatar

* Remove user name

* Remove s from property, replace prob with outcome

* challenge form

* share text

* Add in challenge parts to template and url

* Challenge url params optional

* Add challenge params to parse request

* Parse please

* Don't remove prob

* Challenge card styling

* Challenge card styling

* Challenge card styling

* Challenge card styling

* Challenge card styling

* Challenge card styling

* Challenge card styling

* Challenge card styling

* Add to readme about how to dev og-image

* Add emojis

* button: gradient background, 2xl size

* beautify accept bet screen

* update question button

* Add separate challenge template

* Accepted challenge sharing card, fix accept bet call

* accept challenge button

* challenge winner page

* create challenge screen

* Your outcome/cost=> acceptorOutcome/cost

* New create challenge panel

* Fix main merge

* Add challenge slug to bet and filter by it

* Center title

* Add helper text

* Add FAQ section

* Lint

* Columnize the user areas in preview link too

* Absolutely position

* Spacing

* Orientation

* Restyle challenges list, cache contract name

* Make copying easy on mobile

* Link spacing

* Fix spacing

* qr codes!

* put your challenges first

* eslint

* Changes to contract buttons and create challenge modal

* Change titles around for current bet

* Add back in contract title after winning

* Cleanup

* Add challenge enabled flag

* Spacing of switch button

* market share row

* Add lite market endpoint

* 500 mana email (#687)

* Create 500-mana.html

* Update 500-mana.html

Fixed typos and links not working

* Added "create a good market" guide

added page creating-market.html
For Stephen to set up condition (email 3 days after signing up)

* Update 500-mana.html

updated 500 Mana email (still need to make changes to create market guide)

* email changes

* sendOneWeekBonusEmail logic

* add dayjs as dependency

* don't use mailgun scheduling

Co-authored-by: mantikoros <sgrugett@gmail.com>

* Challenge Bets (#679)

* Challenge bets

* Store avatar url

* Fix before and after probs

* Check balance before creation

* Calculate winning shares

* pretty

* Change winning value

* Set shares to equal each other

* Fix share challenge link

* pretty

* remove lib refs

* Probability of bet is set to market

* Remove peer pill

* Cleanup

* Button on contract page

* don't show challenge if not binary or if resolved

* challenge button (WIP)

* fix accept challenge: don't change pool/probability

* Opengraph preview [WIP]

* elim lib

* Edit og card props

* Change challenge text

* New card gen attempt

* Get challenge on server

* challenge button styling

* Use env domain

* Remove other window ref

* Use challenge creator as avatar

* Remove user name

* Remove s from property, replace prob with outcome

* challenge form

* share text

* Add in challenge parts to template and url

* Challenge url params optional

* Add challenge params to parse request

* Parse please

* Don't remove prob

* Challenge card styling

* Challenge card styling

* Challenge card styling

* Challenge card styling

* Challenge card styling

* Challenge card styling

* Challenge card styling

* Challenge card styling

* Add to readme about how to dev og-image

* Add emojis

* button: gradient background, 2xl size

* beautify accept bet screen

* update question button

* Add separate challenge template

* Accepted challenge sharing card, fix accept bet call

* accept challenge button

* challenge winner page

* create challenge screen

* Your outcome/cost=> acceptorOutcome/cost

* New create challenge panel

* Fix main merge

* Add challenge slug to bet and filter by it

* Center title

* Add helper text

* Add FAQ section

* Lint

* Columnize the user areas in preview link too

* Absolutely position

* Spacing

* Orientation

* Restyle challenges list, cache contract name

* Make copying easy on mobile

* Link spacing

* Fix spacing

* qr codes!

* put your challenges first

* eslint

* Changes to contract buttons and create challenge modal

* Change titles around for current bet

* Add back in contract title after winning

* Cleanup

* Add challenge enabled flag

* Spacing of switch button

* Put sharing qr code  in modal

Co-authored-by: mantikoros <sgrugett@gmail.com>

* See challenges you've accepted too

* Remove max height

* Notify mentioned users on market publish (#683)

* Add function to parse at mentions

* Notify mentioned users on market create

- refactor createNotification to accept list of recipients' ids

* Switch comments/chat to rich text editor (#703)

* Switch comments/chat to rich text editor

* Remove TruncatedComment

* Re-add submit on enter

* Insert at mention on reply

* Update editor style for send button

* only submit on enter in chat

* code review: refactor

* use more specific type for upload

* fix ESlint and errors from merge

* fix trigger on every render eslint warning

* Notify people mentioned in comment

* fix type errors

* Revert "Switch comments/chat to rich text editor (#703)"

This reverts commit f52da72115.

* merge conflict

* share modal

* merge issue

* eslint

* bigger link icion

Co-authored-by: Ian Philips <iansphilips@gmail.com>
Co-authored-by: James Grugett <jahooma@gmail.com>
Co-authored-by: SirSaltyy <104849031+SirSaltyy@users.noreply.github.com>
Co-authored-by: Sinclair Chen <abc.sinclair@gmail.com>
2022-08-05 00:22:45 -05:00
..
analytics Show x value in numeric graph's tooltip 2022-05-22 17:48:02 -05:00
answers Multiple choice markets (#698) 2022-07-27 21:40:33 -05:00
buttons noobify welcome demo (#699) 2022-07-30 02:50:03 -05:00
challenges Share row (#715) 2022-08-05 00:22:45 -05:00
charity Remove quadratic matching from /charity 2022-07-19 00:20:18 -07:00
contract Share row (#715) 2022-08-05 00:22:45 -05:00
editor Add @ mentions to editor (#670) 2022-07-23 20:37:34 -07:00
feed Revert "Switch comments/chat to rich text editor (#703)" 2022-08-04 16:49:59 -07:00
groups Revert "Switch comments/chat to rich text editor (#703)" 2022-08-04 16:49:59 -07:00
layout fix modal 2022-07-27 19:51:34 -07:00
manalinks manalink qr code 2022-07-29 16:02:18 -07:00
nav Challenge Bets (#679) 2022-08-04 15:27:02 -06:00
onboarding noobify welcome demo (#699) 2022-07-30 02:50:03 -05:00
portfolio Challenge Bets (#679) 2022-08-04 15:27:02 -06:00
widgets Group leaderboards show members only by default 2022-06-24 18:38:39 -05:00
add-funds-button.tsx Tracking (#511) 2022-06-15 16:34:34 -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 large bet warning 2022-07-25 18:11:29 -07:00
amount-input.tsx Range limit orders (#655) 2022-07-22 00:57:56 -05:00
auth-context.tsx Make main login/logout buttons reload server side props (#677) 2022-07-22 00:03:16 -07:00
avatar.tsx Set max width on avatars 2022-07-18 08:34:20 -06:00
bet-panel.tsx Challenge Bets (#679) 2022-08-04 15:27:02 -06:00
bet-row.tsx bet row: default to YES 2022-07-13 11:20:29 -05:00
bets-list.tsx Don't show cancel button for other people's limit orders 2022-08-03 14:30:59 -07:00
bucket-input.tsx Range limit orders (#655) 2022-07-22 00:57:56 -05:00
button.tsx Share row (#715) 2022-08-05 00:22:45 -05:00
checkbox.tsx replace raw checkbox w/ Checkbox component 2022-07-13 16:50:08 -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 Revert "Switch comments/chat to rich text editor (#703)" 2022-08-04 16:49:59 -07:00
confirmation-button.tsx Groups (#510) 2022-06-22 11:35:50 -05:00
contract-search.tsx Hide pills while searching 2022-08-03 14:17:45 -07:00
copy-contract-button.tsx Include groupId when duplicating markets 2022-07-29 09:20:01 -07:00
copy-link-button.tsx Challenge Bets (#679) 2022-08-04 15:27:02 -06:00
create-question-button.tsx Make main login/logout buttons reload server side props (#677) 2022-07-22 00:03:16 -07:00
datetime-tooltip.tsx Add more linting to web package (#343) 2022-05-26 14:41:24 -07:00
editor.tsx Revert "Switch comments/chat to rich text editor (#703)" 2022-08-04 16:49:59 -07:00
file-upload-button.tsx Rich content (#620) 2022-07-13 11:58:22 -07:00
filter-select-users.tsx refactor string matching (#649) 2022-07-15 14:16:00 -07:00
follow-button.tsx Tracking (#511) 2022-06-15 16:34:34 -05:00
follow-list.tsx Online users list ui, remove from followers list 2022-07-15 09:32:03 -06:00
following-button.tsx Tracking (#511) 2022-06-15 16:34:34 -05:00
info-box.tsx PlayMoneyDisclaimer; hide limit orders for signed out users; infobox styling 2022-07-24 23:28:05 -07: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 track landing page 2022-06-15 21:42:11 -05:00
leaderboard.tsx Categories to groups (#641) 2022-07-13 15:11:22 -06:00
limit-bets.tsx Fix a DOM error in console 2022-07-19 16:57:32 -05:00
linkify.tsx Add more linting to web package (#343) 2022-05-26 14:41:24 -07:00
liquidity-panel.tsx Refactor some backend-related stuff (#639) 2022-07-10 15:03:15 -07:00
loading-indicator.tsx Show loading indicator on comment submit 2022-05-18 10:08:42 -06:00
manalink-card.tsx manalinks: fix focus 2022-08-02 15:22:53 -07:00
new-contract-badge.tsx Show "New" badge on contract cards too 2022-04-20 23:03:16 -07:00
notifications-icon.tsx Categories to groups (#641) 2022-07-13 15:11:22 -06:00
NotificationSettings.tsx Fix build 2022-07-19 15:45:47 -05:00
number-input.tsx Range limit orders (#655) 2022-07-22 00:57:56 -05:00
numeric-bet-panel.tsx Refactor some backend-related stuff (#639) 2022-07-10 15:03:15 -07:00
numeric-resolution-panel.tsx Don't "warm up" resolveMarket anymore (#638) 2022-07-12 12:36:10 -07:00
online-user-list.tsx Online users list ui, remove from followers list 2022-07-15 09:32:03 -06:00
outcome-label.tsx Multiple choice markets (#698) 2022-07-27 21:40:33 -05:00
page.tsx Tweak visually hidden style 2022-07-23 15:10:54 -05:00
pagination.tsx hide pagination if only one page 2022-08-02 15:22:53 -07:00
play-money-disclaimer.tsx show sign up button on mobile on market page 2022-07-25 17:45:42 -07:00
probability-input.tsx Range limit orders (#655) 2022-07-22 00:57:56 -05:00
probability-selector.tsx Revert "bound initial probability to [0.1, 0.9]" 2022-04-30 13:05:43 -04:00
qr-code.tsx manalink qr code 2022-07-29 16:02:18 -07:00
referrals-button.tsx Show referrals banner on user-page 2022-07-26 15:24:16 -07:00
relative-timestamp.tsx More absolute imports (#156) 2022-05-09 09:04:36 -04:00
resolution-panel.tsx Don't "warm up" resolveMarket anymore (#638) 2022-07-12 12:36:10 -07:00
sell-button.tsx Pseudo numeric market (#609) 2022-07-02 14:37:59 -05:00
sell-modal.tsx Pseudo numeric market (#609) 2022-07-02 14:37:59 -05:00
sell-row.tsx 🧾 Limit orders! (#495) 2022-07-10 13:05:44 -05:00
SEO.tsx Challenge Bets (#679) 2022-08-04 15:27:02 -06:00
share-embed-button.tsx Tracking (#511) 2022-06-15 16:34:34 -05:00
share-icon-button.tsx Changing manalinks table UI (#665) 2022-07-21 00:45:53 -05:00
share-market-button.tsx Challenge Bets (#679) 2022-08-04 15:27:02 -06:00
sign-up-prompt.tsx Challenge Bets (#679) 2022-08-04 15:27:02 -06:00
site-link.tsx simplify rich text link styles 2022-07-13 16:14:44 -07:00
subtitle.tsx initial commit for manalinks UI improvements (#642) 2022-07-13 16:57:34 -05:00
tags-input.tsx Groups (#510) 2022-06-22 11:35:50 -05:00
tags-list.tsx exclude certain categories for new users 2022-06-21 10:01:51 -05:00
text-button.tsx Show referrals banner on user-page 2022-07-26 15:24:16 -07:00
tipper.tsx Refactor some backend-related stuff (#639) 2022-07-10 15:03:15 -07:00
title.tsx noobify welcome demo (#699) 2022-07-30 02:50:03 -05: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
tooltip.tsx Comment tips (attempt 2) (#539) 2022-06-17 22:28:16 -05:00
tweet-button.tsx Tracking (#511) 2022-06-15 16:34:34 -05:00
use-save-binary-shares.ts 🧾 Limit orders! (#495) 2022-07-10 13:05:44 -05:00
user-page.tsx I want to see others' referrals 2022-07-28 11:16:48 -07:00
yes-no-selector.tsx Put back old Yes/No bet buttons 2022-07-15 11:03:42 -05:00