Commit Graph

2282 Commits

Author SHA1 Message Date
James Grugett
3b390f758f Add ip address to csv 2022-09-03 23:52:33 -05:00
James Grugett
b8b2778b69 Fix flash that reveals other users' profit 2022-08-22 18:27:56 -05:00
James Grugett
d081f5215d Show current user profit on bets page 2022-08-17 15:57:37 -05:00
James Grugett
b56cfd510f Fix csv profit 2022-08-14 20:21:27 -05:00
James Grugett
f407737f0c Move Rules out of more menu into sidebar 2022-08-14 17:40:19 -05:00
James Grugett
4ab86963e8 Fix admin page 2022-08-12 17:38:40 -05:00
James Grugett
1dc94114e3 Delete subset of api 2022-08-12 14:53:51 -05:00
James Grugett
f500064e4e Revert "Delete api"
This reverts commit f32d207178.
2022-08-12 14:51:46 -05:00
James Grugett
e4a2f8acbb Rearrange nav, add Rules link, singular leaderboard 2022-08-12 12:37:15 -05:00
James Grugett
a266de380f Remove console.log 2022-08-12 12:02:39 -05:00
James Grugett
f32d207178 Delete api 2022-08-12 11:59:31 -05:00
James Grugett
919af972c8 Add back input for setting initial probability of created markets 2022-08-12 00:17:30 -05:00
James Grugett
8f157946fa Update admin page to show profit minus profit from first day 2022-08-11 23:18:54 -05:00
James Grugett
f6bb1b9e38 Remove me from leaderboard 2022-08-11 23:04:54 -05:00
James Grugett
9d51f7a662 Update leaderboards to subtract profit of first day 2022-08-11 22:48:50 -05:00
James Grugett
960b118e90 Add discord link 2022-08-11 12:50:45 -05:00
James Grugett
d70838c09b Document cancel bet 2022-08-10 18:42:44 -05:00
James Grugett
adbf06e889 Set amplitude api key 2022-08-10 14:57:00 -05:00
James Grugett
dc44df3968 Disable erroring code on createuser to fix no redirect. Disable welcome email. 2022-08-08 23:00:01 -05:00
James Grugett
3878b08d77 Hide profit from user page 2022-08-08 22:29:10 -05:00
James Grugett
9cc1a5199b Don't show profit on leaderboards 2022-08-08 21:50:15 -05:00
James Grugett
272d5ec2e2 Add external link to Manifold in more menu 2022-08-07 23:39:48 -07:00
James Grugett
b6b670214d Fix query params 2022-08-07 16:50:12 -07:00
James Grugett
a9120312af Default to trending. Fix close date being opposite 2022-08-07 16:43:53 -07:00
James Grugett
bf13e2fc12 Add profit and balance to admin csv export 2022-08-07 16:12:17 -07:00
James Grugett
367046a6e0 Only show liquidity panel to Hanania 2022-08-07 16:04:50 -07:00
James Grugett
c921590643 Fix error 2022-08-07 12:49:39 -07:00
James Grugett
0066589569 Update landing page to mention tournament. 2022-08-07 09:04:31 -07:00
James Grugett
6f196c7518 Use S$ 2022-08-07 08:23:49 -07:00
James Grugett
166e228032 Add hanania email as admin 2022-08-07 08:11:31 -07:00
James Grugett
76923c773e Hide referral panel 2022-08-07 07:51:22 -07:00
James Grugett
90c707516b Redirect home on sign in 2022-08-07 07:41:31 -07:00
James Grugett
ffa74c8e10 Fix signed out sidebar 2022-08-07 07:36:10 -07:00
James Grugett
13a2877e02 Disable non-all time leaderboards 2022-08-07 07:33:14 -07:00
James Grugett
96abf43977 Disable referrals 2022-08-07 07:16:03 -07:00
James Grugett
24655c0d7f Disable challenges 2022-08-06 17:53:53 -07:00
James Grugett
1aed9bb364 Merge branch 'main' into salemcenter 2022-08-05 14:12:34 -07:00
James Grugett
ced404eb74 Local search filters on groups, exclude contractIds 2022-08-05 12:01:16 -07:00
Ian Philips
60ebadbbe5 Add not about donating winnings to charity 2022-08-05 09:58:02 -06:00
Ian Philips
f47b70dd3c Darken numeric preview text 2022-08-05 07:08:41 -06:00
Ian Philips
de6d5b388a Lint 2022-08-05 06:58:39 -06:00
Ian Philips
1c80bf1faf Chat icon => users icon 2022-08-05 06:58:29 -06:00
Ian Philips
97e3de4e0f Show numeric values in card preview 2022-08-05 06:56:10 -06:00
Ian Philips
d90901b4e3 Check creator balance again upon acceptance 2022-08-05 05:03:47 -06:00
mantikoros
f3704633ee liquidity panel styling 2022-08-05 00:03:38 -07:00
mantikoros
5988dd1e48 improved create challenge modal; 2xs button 2022-08-04 23:42:35 -07:00
mantikoros
16f4fb9490 disable clicking on group in embed 2022-08-04 22:47:59 -07:00
mantikoros
4d153755c1 delete challenge button 2022-08-04 22:33:56 -07:00
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
James Grugett
33906adfe4 Revert "Switch comments/chat to rich text editor (#703)"
This reverts commit f52da72115.
2022-08-04 16:49:59 -07:00