Commit Graph

2286 Commits

Author SHA1 Message Date
Ian Philips
7f007baba4 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>
2022-08-04 21:36:32 -07:00
SirSaltyy
c871135260 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>
2022-08-04 21:33:36 -07:00
James Grugett
31d7333ec7 Add lite market endpoint 2022-08-04 21:33:36 -07:00
mantikoros
b8bb184ff9 market share row 2022-08-04 21:30:15 -07:00
Ian Philips
88c6c1f793 Spacing of switch button 2022-08-04 15:07:09 -06:00
Ian Philips
839f19520a Add challenge enabled flag 2022-08-04 15:05:50 -06:00
Ian Philips
313c10c33a Cleanup 2022-08-04 14:51:19 -06:00
Ian Philips
82f853e5fd Add back in contract title after winning 2022-08-04 14:50:06 -06:00
Ian Philips
d909c507cb Change titles around for current bet 2022-08-04 14:49:05 -06:00
Ian Philips
5890673b01 Changes to contract buttons and create challenge modal 2022-08-04 14:43:21 -06:00
mantikoros
eeb50fe54a eslint 2022-08-04 13:39:39 -07:00
mantikoros
1e0feae186 put your challenges first 2022-08-04 12:28:26 -07:00
mantikoros
40b7877f1d qr codes! 2022-08-04 12:25:51 -07:00
Ian Philips
8b4bd64421 Fix spacing 2022-08-04 11:05:47 -06:00
Ian Philips
cd4051c082 Link spacing 2022-08-04 11:02:02 -06:00
Ian Philips
9c4191dc79 Make copying easy on mobile 2022-08-04 10:55:37 -06:00
Ian Philips
7cc4710ab1 Restyle challenges list, cache contract name 2022-08-04 10:25:35 -06:00
Ian Philips
5d0d2d0b46 Orientation 2022-08-04 09:41:10 -06:00
Ian Philips
ca726da4a9 Spacing 2022-08-04 09:39:35 -06:00
Ian Philips
c361dc22e7 Absolutely position 2022-08-04 08:22:11 -06:00
Ian Philips
d46c56a994 Columnize the user areas in preview link too 2022-08-04 08:13:21 -06:00
Ian Philips
a38e06c16c Lint 2022-08-04 06:55:22 -06:00
Ian Philips
10e6f86219 Add FAQ section 2022-08-04 06:38:59 -06:00
Ian Philips
a528e75f9a Add helper text 2022-08-04 06:10:53 -06:00
Ian Philips
aad49e7032 Center title 2022-08-04 05:58:14 -06:00
Ian Philips
4dbabd2a77 Add challenge slug to bet and filter by it 2022-08-04 05:53:35 -06:00
Ian Philips
ee3b0b32e6 Fix main merge 2022-08-04 05:14:16 -06:00
Ian Philips
625c8944bd Merge branch 'main' into challenges 2022-08-03 20:47:26 -06:00
Ian Philips
d83e103fab Ignore clicks when hidden 2022-08-03 18:42:40 -06:00
Ian Philips
5bc905b358 Bottom padding works on mobile, broken on desktop :( 2022-08-03 16:42:51 -06:00
Ian Philips
b4c6b99e09 Remove bottom bar height correction 2022-08-03 16:38:00 -06:00
Ian Philips
756115ba54 Link tags aren't hiding sidebar on click 2022-08-03 16:30:05 -06:00
Ian Philips
fab83cfc33 Don't auotfocus on mobile 2022-08-03 16:16:46 -06:00
Ian Philips
aa3101baa9 Fix group chat padding 2022-08-03 16:10:02 -06:00
Ian Philips
82419d0b92
Groups chat ux (#713)
* Add in group chat bubble

* Show chat bubble on nav with unseen notifs

* Spacing

* More spacing

* Remove chat tab

* Show chat on help/welcome/updates/features groups

* Cleanup

* Scroll with updated height
2022-08-03 15:38:35 -06:00
James Grugett
a7d80d62cb Don't show cancel button for other people's limit orders 2022-08-03 14:30:59 -07:00
James Grugett
a761f8c65e Hide pills while searching 2022-08-03 14:17:45 -07:00
Ian Philips
903264b9be New create challenge panel 2022-08-03 10:46:50 -06:00
Ian Philips
4252157290 Your outcome/cost=> acceptorOutcome/cost 2022-08-03 08:57:09 -06:00
mantikoros
5cb6f44c9c create challenge screen 2022-08-02 17:49:08 -07:00
mantikoros
d6f29ac9b9 challenge winner page 2022-08-02 17:45:39 -07:00
James Grugett
280308b625 Show # of bets equal to visible bets 2022-08-02 17:40:34 -07:00
James Grugett
b5d8acfef3 Switch profit in bets tab to match user page 2022-08-02 17:31:49 -07:00
James Grugett
3c9108de0d Document creating a limit order in API 2022-08-02 17:01:31 -07:00
mantikoros
a16814b9c7 accept challenge button 2022-08-02 16:44:05 -07:00
Ian Philips
c24b4e77a8 Lint 2022-08-02 17:24:59 -06:00
James Grugett
d45edb7887 Add WagerWith.me and James' Bot to Awesome Manifold 2022-08-02 16:21:07 -07:00
Ian Philips
e700697423 Fix group referrals not working 2022-08-02 17:18:08 -06:00
Ian Philips
754d4cb489 Accepted challenge sharing card, fix accept bet call 2022-08-02 16:37:57 -06:00
Marshall Polaris
f8a74aa438
Allow admins to resolve any market (#711) 2022-08-02 15:34:20 -07:00