mantikoros
a8b874a32f
track comment tips
2022-06-21 10:36:44 -05:00
James Grugett
9a97da72d8
Don't show sell button if you have sold all your shares
2022-06-21 10:14:55 -05:00
mantikoros
d4f2a81735
exclude certain categories for new users
2022-06-21 10:01:51 -05:00
James Grugett
1b3b4eb6d8
Don't show sell button for closed markets
2022-06-21 09:59:12 -05:00
Marshall Polaris
5add7eea49
Remove notification box about public/hidden bets ( #544 )
2022-06-20 18:29:46 -05:00
Justin
d572efad1a
Add Statistics link to sidebar ( #545 )
...
* add stats link to sidebar & mobile nav
* prettier
2022-06-20 18:28:18 -05:00
Ian Philips
9004c694ca
Fix comments & bets mixing in tabs ui
2022-06-20 08:58:18 -05:00
Marshall Polaris
dca957708c
http
-> https
in documentation (#552 )
2022-06-19 14:48:16 -07:00
Marshall Polaris
1075fec53f
Clean up unclean user names ( #543 )
...
* Clean the user's display name on update.
The user's display name should always be clean (see for example
functions/src/create-user.ts). However, change-user-info.ts does not
enforce this, thus potentially allowing a malicious user to change their
name to something that doesn't satisfy the rules for clean display
names.
Note: this cannot happen currently because all callers (in profile.tsx)
clean the name. However, doing it here is good defense in depth
(similar to how the userName is cleaned).
* Update display name max length to 30
* Add a script to hunt down too-long display names
* Make util.isProd a function
* Don't access admin.firestore() on top level of utils.ts
Co-authored-by: Jonas Wagner <ltlygwayh@gmail.com>
2022-06-18 14:31:39 -07:00
Marshall Polaris
08632a3a07
Correctly proxy GET and HEAD requests instead of dying ( #542 )
2022-06-18 02:09:44 -07:00
James Grugett
24176c864d
Yarn lock change
2022-06-17 23:39:44 -05:00
Sinclair Chen
833dd37469
Comment tips (attempt 2) ( #539 )
...
* Add tip arrows UI (visual)
* move tipper into its own component
* simplify score calculation
* Add tip txns
- more specific txn types
- fix transact cloud function to be able to create tip txns
- insert tips into comments via a context
* Refactor tipper to send tip txns
* Stop tipping yourself. Disable anons.
* Style tipper (smaller)
* remove default exports
* capitalize tooltips
* rename stuff
* add exhausting hook dependencies
* replace context with prop threading
* fix eslint unused vars
* fix: thread tips correctly into fr comments
2022-06-17 22:28:16 -05:00
Marshall Polaris
bb934d8390
Remove surprising 2 minute edge caching for API market data ( #541 )
2022-06-17 17:43:02 -07:00
James Grugett
83ded17625
Revert "Comment tips ( #469 )"
...
This reverts commit e567782a7d
.
2022-06-17 16:31:21 -05:00
mantikoros
7679849c7d
show 2 decimal places for fees
2022-06-17 16:28:25 -05:00
Sinclair Chen
e567782a7d
Comment tips ( #469 )
...
* Add tip arrows UI (visual)
* move tipper into its own component
* simplify score calculation
* Add tip txns
- more specific txn types
- fix transact cloud function to be able to create tip txns
- insert tips into comments via a context
* Refactor tipper to send tip txns
* Stop tipping yourself. Disable anons.
* Style tipper (smaller)
* remove default exports
* capitalize tooltips
* rename stuff
* add exhausting hook dependencies
* replace context with prop threading
* fix eslint unused vars
2022-06-17 14:19:42 -07:00
Sinclair Chen
e0a40d4d24
Replace leaderboard cake icon with line go up
2022-06-17 10:38:47 -07:00
Marshall Polaris
732a474cc9
Add userId
to bets in API ( #530 )
...
* add userid to bets
* allBets -> bets
* revert one
Co-authored-by: wasabipesto <21313833+wasabipesto@users.noreply.github.com>
2022-06-17 00:35:38 -07:00
Ben Congdon
172f14c16f
Include answer probabilities in FreeResponse API results ( #526 )
...
* Include answer probabilities in FreeResponse API results
* Appease ESLint
2022-06-17 00:20:43 -07:00
Marshall Polaris
61a2bcb609
Don't unnecessarily query contract in onCreateBet ( #528 )
2022-06-17 00:15:37 -07:00
Marshall Polaris
0820cc8f4d
Clean some API stuff up and instrument placeBet
with a bunch of logging ( #521 )
...
* Hoist some variables out of functions
* Use built in CORS processing machinery
* Instrument `placebet` with a bunch of logging
2022-06-16 20:57:03 -07:00
Ben Congdon
a8ae724159
Don't show the 'New' chip on resolved markets ( #523 )
...
* Don't show the 'New' chip on resolved markets
* Add createdTime check to contract-details
2022-06-16 22:52:53 -05:00
ahalekelly
f063d5cd24
Step charts ( #520 )
...
* Use step charts
* Fixed formatting
* Fixed flat line on right side of chart
* Tweaked chart margins
* Restored right margin
2022-06-16 22:51:48 -05:00
Ben Congdon
2d3088bfc3
Create initial 'Awesome Manifold' docs page ( #522 )
...
* Create initial 'Awesome Manifold' docs page
* Add awesome-manifold entry for Mastodon bot
2022-06-16 16:46:41 -07:00
Marshall Polaris
5d6bdff988
Kill updateRecommendations
job ( #525 )
2022-06-16 17:38:32 -05:00
ahalekelly
73b048a5dc
Update binary-markets.md ( #512 )
2022-06-16 15:25:21 -07:00
Ben Congdon
60bb892601
Include free response answers in FullMarket API response ( #519 )
2022-06-16 15:14:59 -07:00
ahalekelly
6bb1a1f9ea
Update edit link to point to new repo ( #514 )
...
Resolves #498
2022-06-16 14:58:05 -07:00
Sinclair Chen
b99f9dd193
make leaderboard margin same as other pages
2022-06-16 14:43:34 -07:00
Sinclair Chen
8219929227
fix: sidebar wider on medium screens
2022-06-16 14:14:08 -07:00
James Grugett
ecbfed049d
Reveal email in admin table
2022-06-16 14:13:08 -05:00
mantikoros
67abb942a0
eliminate platform, liquidty fees
2022-06-16 12:46:34 -05:00
mantikoros
d2a1af7c15
track search, track charity donation
2022-06-16 11:49:57 -05:00
mantikoros
6c6f03e622
fix subtle tabs bug
2022-06-16 11:29:04 -05:00
mantikoros
c2945f11b7
track create user
2022-06-16 10:45:44 -05:00
mantikoros
a15d39110b
bug fix: tracking messing with alogolia
2022-06-15 22:17:28 -05:00
mantikoros
f295e0a537
track landing page
2022-06-15 21:42:11 -05:00
mantikoros
fb10e9cddc
server side tracking; track M$ purchases
2022-06-15 21:29:53 -05:00
James Grugett
b1597c0f24
Figure out a better hack to fake the url on home page. (And fix bug navigating back to home.)
2022-06-15 21:00:30 -05:00
SirSaltyy
6a73dc042c
Update Trending Markets ( #513 )
2022-06-16 00:05:25 +01:00
James Grugett
0c1ca11304
Don't show unsavedChanges warning if you are submitting new market.
2022-06-15 17:19:16 -05:00
mantikoros
781506129c
sign in, sign up button styling
2022-06-15 16:58:52 -05:00
mantikoros
c45da8c334
Tracking ( #511 )
...
* tracking helper functions
* track everything
* remove extraneous code
2022-06-15 16:34:34 -05:00
James Grugett
730b7272ce
Warn about unsaved changes on create page.
2022-06-15 15:12:16 -05:00
James Grugett
e4f1d7cae1
Change eslint unused var to 'warn' instead of 'error'
2022-06-15 14:48:12 -05:00
mantikoros
c3b15ac5dc
prevent total liquidity stat from going negative
2022-06-15 11:33:58 -05:00
James Grugett
cc4b9abd9f
Revert "Automated market resolution ( #404 )"
...
This reverts commit a3663d03e8
.
2022-06-14 23:31:20 -05:00
James Grugett
26921451a8
Revert "Fix auto resolve markets query"
...
This reverts commit b405bd453a
.
2022-06-14 23:30:58 -05:00
James Grugett
b405bd453a
Fix auto resolve markets query
2022-06-14 23:16:02 -05:00
mantikoros
38c63fb3ee
Amplitude ( #505 )
...
* basic amplitude setup
* delete heap
* track referrers
* basic tracking
* delete unused import
* prettier
2022-06-14 22:00:36 -05:00