James Grugett
b57ff68654
Fix highlight & scroll to comment
2022-10-07 14:40:38 -05:00
Sinclair Chen
f0b35993c9
fix hydration error (button inside button)
2022-10-07 10:56:27 -07:00
James Grugett
8f56ccad22
Set limits on bets and contracts loaded for portfolio page. Show warning if limit is hit
2022-10-07 11:55:47 -05:00
James Grugett
4285198f09
Merge branch 'main' into main2
2022-10-06 22:19:39 -05:00
James Grugett
f533d9bfcb
Verify balance of limit order "makers" ( #1007 )
...
* Fetch balance of users with open limit orders & cancel orders with insufficient balance
* Fix imports
* Fix bugs
* Fix a bug
* Remove redundant cast
* buttons overlaying content fix (#1005 )
* buttons overlaying content fix
* stats: round DAU number
* made set width for portfolio/profit fields (#1006 )
* tournaments: included resolved markets
* made delete red, moved button for regular posts (#1008 )
* Fix localstorage saved user being overwritten on every page load
* Market page: Show no right panel while user loading
* Don't flash sign in button if user is loading
* election map coloring
* market group modal scroll fix (#1009 )
* midterms: posititoning, make mobile friendly
* Un-daisy share buttons (#1010 )
* Make embed and challenge buttons non-daisyui
* Allow link Buttons. Change tweet, dupe buttons.
* lint
* don't insert extra lines when upload photos
* Map fixes (#1011 )
* usa map: fix sizing
* useSetIframeBackbroundColor
* preload contracts
* seo
* remove hook
* turn off sprig on dev
* Render timestamp only on client to prevent error of server not matching client
* Make sized container have default height so graph doesn't jump
* midterms: use null in static props
* Create common card component (#1012 )
* Create common card component
* lint
* add key prop to pills
* redirect to /home after login
* create market: use transaction
* card: reduce border size
* Update groupContracts in db trigger
* Default sort to best
* Save comment sort per user rather than per contract
* Refactor Pinned Items into a reusable component
* Revert "create market: use transaction"
This reverts commit e1f24f24a9
.
* Mark @v with a (Bot) label
* fix padding on daily movers
* fix type errors
* Wrap sprig init in check for window
* unindex date-docs from search engines
* Auto-prettification
* compute elasticity
* change dpm elasticity
* Fix google lighthouse issues (#1013 )
* don't hide free response panel on open resolve
* liquidity sort
* Limit order trade log: '/' to 'of'. Remove 'of' in 'of YES'.
* Date doc: Toggle to disable creating a prediction market
* Listen for date doc changes
* Fix merge error
* Don't cancel all a users limit orders if they go negative
Co-authored-by: ingawei <46611122+ingawei@users.noreply.github.com>
Co-authored-by: mantikoros <sgrugett@gmail.com>
Co-authored-by: Sinclair Chen <abc.sinclair@gmail.com>
Co-authored-by: mantikoros <95266179+mantikoros@users.noreply.github.com>
Co-authored-by: Ian Philips <iansphilips@gmail.com>
Co-authored-by: Pico2x <pico2x@gmail.com>
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
Co-authored-by: sipec <sipec@users.noreply.github.com>
2022-10-06 22:16:49 -05:00
Austin Chen
71b0c71729
Tag ArbitrageBot with bot badge
2022-10-06 21:52:55 -05:00
mantikoros
25333317b0
Show elasticity; volume tooltip
2022-10-06 21:52:55 -05:00
Austin Chen
42a7d04b4d
Tag ArbitrageBot with bot badge
2022-10-06 20:17:34 -04:00
James Grugett
b1d386ca5a
Listen for date doc changes
2022-10-06 18:54:22 -05:00
James Grugett
0dc8753a92
Listen for date doc changes
2022-10-06 18:50:53 -05:00
James Grugett
d846b9fb30
Date doc: Toggle to disable creating a prediction market
2022-10-06 18:42:56 -05:00
James Grugett
77e0631ea4
Limit order trade log: '/' to 'of'. Remove 'of' in 'of YES'.
2022-10-06 18:42:56 -05:00
mantikoros
80622dc7ee
liquidity sort
2022-10-06 18:23:27 -05:00
Sinclair Chen
d9c8925ea0
don't hide free response panel on open resolve
2022-10-06 15:20:46 -07:00
Sinclair Chen
adb809f973
Fix google lighthouse issues ( #1013 )
2022-10-06 15:19:37 -07:00
sipec
ac37f94cf7
Auto-prettification
2022-10-06 20:50:29 +00:00
Sinclair Chen
bc5af50b0c
unindex date-docs from search engines
2022-10-06 13:49:39 -07:00
James Grugett
4162cca3ff
Wrap sprig init in check for window
2022-10-06 15:23:51 -05:00
Sinclair Chen
2f2c586d5d
fix padding on daily movers
2022-10-06 12:01:00 -07:00
Austin Chen
853e3e4896
Mark @v with a (Bot) label
2022-10-06 14:20:35 -04:00
Pico2x
59de979949
Refactor Pinned Items into a reusable component
2022-10-06 17:04:00 +01:00
Ian Philips
26f04fb04a
Save comment sort per user rather than per contract
2022-10-06 10:16:29 -04:00
Ian Philips
e127f9646a
Default sort to best
2022-10-06 09:53:55 -04:00
Ian Philips
25ef17498a
Update groupContracts in db trigger
2022-10-06 09:26:35 -04:00
mantikoros
68075db3da
card: reduce border size
2022-10-05 22:20:51 -05:00
mantikoros
cd8245fbee
redirect to /home after login
2022-10-05 21:38:13 -05:00
mantikoros
f1e400765a
add key prop to pills
2022-10-05 21:31:34 -05:00
Sinclair Chen
94624c5387
Create common card component ( #1012 )
...
* Create common card component
* lint
2022-10-05 18:02:24 -07:00
mantikoros
7ce09ae39d
midterms: use null in static props
2022-10-05 19:24:03 -05:00
James Grugett
935bdd12a7
Make sized container have default height so graph doesn't jump
2022-10-05 18:44:30 -05:00
James Grugett
5d7721e041
Render timestamp only on client to prevent error of server not matching client
2022-10-05 18:44:30 -05:00
mantikoros
a149777c0e
turn off sprig on dev
2022-10-05 18:36:32 -05:00
mantikoros
81fb2456bd
remove hook
2022-10-05 18:29:08 -05:00
mantikoros
f8ec306ee9
Map fixes ( #1011 )
...
* usa map: fix sizing
* useSetIframeBackbroundColor
* preload contracts
* seo
2022-10-05 18:20:40 -05:00
Sinclair Chen
a53fb49ec3
don't insert extra lines when upload photos
2022-10-05 16:08:01 -07:00
Sinclair Chen
7863a4232d
Un-daisy share buttons ( #1010 )
...
* Make embed and challenge buttons non-daisyui
* Allow link Buttons. Change tweet, dupe buttons.
* lint
2022-10-05 15:51:10 -07:00
mantikoros
a3b841423f
midterms: posititoning, make mobile friendly
2022-10-05 17:12:50 -05:00
ingawei
b8911cafe8
market group modal scroll fix ( #1009 )
2022-10-05 17:07:41 -05:00
mantikoros
60aa294131
election map coloring
2022-10-05 16:58:47 -05:00
James Grugett
0818a94307
Don't flash sign in button if user is loading
2022-10-05 16:56:47 -05:00
James Grugett
a3acd3fa3c
Market page: Show no right panel while user loading
2022-10-05 16:52:16 -05:00
James Grugett
1ef1af8234
Fix localstorage saved user being overwritten on every page load
2022-10-05 16:49:28 -05:00
ingawei
189da4a0cf
made delete red, moved button for regular posts ( #1008 )
2022-10-05 16:21:03 -05:00
mantikoros
10f0bbc63d
tournaments: included resolved markets
2022-10-05 15:46:20 -05:00
ingawei
2d56525d65
made set width for portfolio/profit fields ( #1006 )
2022-10-05 15:40:26 -05:00
mantikoros
f1f8082600
stats: round DAU number
2022-10-05 15:27:20 -05:00
ingawei
ec006f25c4
buttons overlaying content fix ( #1005 )
...
* buttons overlaying content fix
2022-10-05 15:19:10 -05:00
James Grugett
b40a114168
Print error from usePagination
2022-10-05 15:13:40 -05:00
mantikoros
2596d54831
update tournaments page
2022-10-05 14:46:15 -05:00
Austin Chen
0df5497ffb
Fix regression of unable to purchase mana
2022-10-05 15:35:02 -04:00
James Grugett
f35eb42d7b
Make search query params work on page load
2022-10-05 13:27:46 -05:00
James Grugett
18f8ad433d
Hide sort and query options when searching
2022-10-05 13:12:30 -05:00
Sinclair Chen
37e8f2ff5a
Make %mentions actually look like mentions ( #993 )
...
* Make contract mentions inline text
* Add tooltip for author, close time, volume
* Make pill wider
2022-10-05 11:11:05 -07:00
Austin Chen
b9ba3e75fa
Show top 5k markets in sitemap
2022-10-05 11:49:47 -04:00
Austin Chen
70bfec2742
Improve sitemaps
2022-10-05 11:41:32 -04:00
Pico2x
26281556f7
Merge branch 'main' of https://github.com/manifoldmarkets/manifold
2022-10-05 15:54:13 +01:00
Austin Chen
730abf584a
Revert "Warn whenever rich text editor has unsaved changes"
...
This reverts commit 419219c703
.
2022-10-05 10:54:04 -04:00
Pico2x
34d09316e0
Yscale now updates when zooming in on chart
2022-10-05 15:46:18 +01:00
Austin Chen
6f41ab8efd
Keep unlisted state on duplicate
2022-10-05 10:38:23 -04:00
Pico2x
f1207e87ec
Update share-modal.tsx
2022-10-05 15:18:53 +01:00
Pico2x
4e22b8e332
Merge branch 'main' of https://github.com/manifoldmarkets/manifold
2022-10-05 15:01:44 +01:00
Pico2x
07de8cc86a
Slightly less horrible color palette
2022-10-05 15:01:41 +01:00
akrolsmir
f07a022d63
Auto-remove unused imports
2022-10-05 13:58:54 +00:00
Austin Chen
d42ec42b0e
Standardize on CopyLinkButton
2022-10-05 09:55:46 -04:00
Austin Chen
6fa4e17a58
Remove "Add my comment" button for signed out users
2022-10-05 09:35:21 -04:00
Austin Chen
af3a3a3934
Clean up style on Get M$
2022-10-05 09:30:51 -04:00
Pico2x
9e3477970d
Merge branch 'main' of https://github.com/manifoldmarkets/manifold
2022-10-05 14:19:38 +01:00
Pico2x
3390c34d0a
Mobile tooltip isn't occluded by finger anymore
2022-10-05 14:19:26 +01:00
Austin Chen
419219c703
Warn whenever rich text editor has unsaved changes
2022-10-05 09:16:05 -04:00
Pico2x
8aaca848b2
Updating group name works again.
2022-10-05 14:02:17 +01:00
Pico2x
e4d7d0a232
Mobile graphs no longer show the zoom function.
2022-10-05 13:57:45 +01:00
Pico2x
e9050973e1
Update post-comments.tsx
2022-10-05 11:53:59 +01:00
FRC
83d9a1f3e2
Posts changes ( #988 )
...
* Add post subtitle
* Add "Post" badge to post card
* Move post tab to overview tab, refactor components
* Fix styling nits.
2022-10-05 11:37:23 +01:00
Marshall Polaris
49e97ddac1
Small add-on React 18 fixes ( #1004 )
...
* Bump React types for main code to 18
* Replace react-beautiful-dnd with maintained fork
* Add a type annotation
2022-10-05 00:23:23 -07:00
Marshall Polaris
a9d5dd7fc8
Memoize FeedBet
component ( #999 )
2022-10-04 23:17:09 -07:00
Marshall Polaris
ddb186dd98
Change Tipper
interface, memoize FeedComment
( #1000 )
...
* Change `Tipper` interface, memoize `FeedComment`
* Fixup per James feedback
* More fixup per James feedback
2022-10-04 23:16:56 -07:00
Marshall Polaris
d2273087cf
React 17.0.2 -> 18.2.0 ( #1003 )
...
* React 17.0.2 -> 18.2.0
* Adjust title tag to only have one text node (no internal spaces)
* react-expanding-textarea 2.3.5 -> 2.3.6
2022-10-04 23:16:39 -07:00
James Grugett
6a0b577aeb
Small home refactor
2022-10-05 00:54:38 -05:00
James Grugett
ca6197c7bb
Show total loan amount on portfolio
2022-10-05 00:33:05 -05:00
Sinclair Chen
ed6ea011c2
copy: "Dating docs" -> "Dating"
2022-10-04 18:33:26 -07:00
James Grugett
83d33792aa
Loan repaid => Loan payment
2022-10-04 20:10:26 -05:00
sipec
583c5b225e
Auto-remove unused imports
2022-10-05 00:49:36 +00:00
Sinclair Chen
9f256aa7a8
refactor: require label on buy/confirm buttons
2022-10-04 17:48:24 -07:00
mantikoros
7a271fce29
fix button
2022-10-04 19:35:53 -05:00
James Grugett
d8ef363f06
Add profit amount to sell dialog.
2022-10-04 19:35:29 -05:00
James Grugett
8043fa515a
Show loan repaid in sell dialog
2022-10-04 19:10:45 -05:00
mantikoros
f551e6c469
market close styling
2022-10-04 19:07:06 -05:00
Sinclair Chen
40b07329bd
Make follow & unfollow buttons same size
2022-10-04 16:42:17 -07:00
ingawei
c115b5cca7
Inga/multiple colors ( #994 )
...
* making FR bars smoller
2022-10-04 17:36:03 -05:00
Marshall Polaris
d6bb27f97c
Fix graph area to invert at 0 ( #998 )
2022-10-04 14:13:53 -07:00
Marshall Polaris
bbce3e873e
Tooltip follows marker on charts with marker ( #997 )
...
* Renaming of some tooltip stuff
* Tooltip follows marker on single value history charts
2022-10-04 14:02:44 -07:00
mantikoros
26f5e506b7
sell button warning
2022-10-04 15:53:00 -05:00
ingawei
5adaa7253f
made slice skinnier ( #996 )
2022-10-04 15:41:48 -05:00
Marshall Polaris
a55d85d4b6
Implement basic graph tooltip slice marker thingy ( #995 )
2022-10-04 12:55:51 -07:00
Ian Philips
f085df96e3
Allow wider group pills on mobile
2022-10-04 09:23:07 -06:00
Ian Philips
79af4b2be0
Compare to the const ya sillyhead
2022-10-04 08:11:04 -06:00
Ian Philips
094bcaea17
Convert confirmation daisy buttons to tailwind
2022-10-04 08:03:21 -06:00
Ian Philips
c6e5e04e65
Convert confirmation daisy buttons to tailwind
2022-10-04 08:02:20 -06:00
Pico2x
ee4d3947b8
moar contracts in mentions
2022-10-04 14:38:07 +01:00
Marshall Polaris
45b281fac5
Kill a console log
2022-10-04 01:34:17 -07:00
Marshall Polaris
31c6cb7739
Rewrite portfolio graphs with new machinery ( #986 )
...
* Fix chart `onMouseOver` propagation
* Make generic charts support money on y-axis
* Fix somewhat ridiculous `formatMoney` to work with negative amounts
* Make margins on charts configurable
* Implement color as function of point on SingleValueHistoryChart
* Rewrite portfolio history graphs with new graph machinery
* Toast Nivo
2022-10-04 01:18:22 -07:00
mantikoros
23ca3ff56a
order book label
2022-10-03 23:56:39 -05:00
Sinclair Chen
c3ffac34a1
Remove tag parsing ( #956 )
...
* Remove #tag parsing
* Remove #tag linkifying
* lint
2022-10-03 18:28:21 -07:00
James Grugett
efd83eaad4
Home: Don't show duplicate contracts across groups
2022-10-03 18:28:41 -05:00
James Grugett
8d70dc4800
Increase trending group count again. (It's uglier, but it's way more useful!)
2022-10-03 18:22:18 -05:00
Ian Philips
a1dcf8d168
Add best sort to FR contracts
2022-10-03 16:38:12 -06:00
James Grugett
84aaeece9f
Filter out unlisted from trending, new, and daily trending on home page
2022-10-03 17:33:51 -05:00
James Grugett
27d765a4a1
Add most popular sort
2022-10-03 17:28:31 -05:00
James Grugett
5214f27be3
Fix daily prob showing global daily prob
2022-10-03 17:23:22 -05:00
mantikoros
d0d223f7ad
Auto-prettification
2022-10-03 22:21:56 +00:00
mantikoros
0c9226de41
EditableCloseDate: add pencil icon
2022-10-03 17:20:53 -05:00
ingawei
ce48016f80
added mana cannot be traded for real money disclaimer in welcome modal ( #990 )
2022-10-03 16:38:10 -05:00
Ian Philips
42cc07e4a6
Hide market title in notifs if grouped
2022-10-03 14:59:27 -06:00
Ian Philips
71975f307c
Show resolve loading indicator
2022-10-03 14:33:00 -06:00
Sinclair Chen
67de983aac
Fix links in spoilers
2022-10-03 11:55:10 -07:00
Sinclair Chen
59b128dbe7
Redo add funds modal without daisy and actually use it ( #963 )
2022-10-03 10:15:58 -07:00
Ian Philips
074a1fdde2
Hide sprig on non-prod envs
2022-10-03 10:59:18 -06:00
Pico2x
77a5f8b9dd
Revert the merge revert (double revert)
2022-10-03 17:31:07 +01:00
Ian Philips
5ae9049295
Show resolution panel above recommented markets
2022-10-03 10:11:24 -06:00
Ian Philips
d5d1284306
Properly handle null id
2022-10-03 09:57:27 -06:00
Ian Philips
adb8bc476f
Show whether market is unlisted
2022-10-03 09:36:49 -06:00
Ian Philips
f92f098f82
Allo creators to unlist markets
2022-10-03 09:26:39 -06:00
Ian Philips
370edec890
Remove unsubscribe options for market closure
2022-10-03 08:30:21 -06:00
FRC
f5a3abf0bc
Add spinner ( #987 )
2022-10-03 15:27:15 +01:00
Ian Philips
27e6534d94
Persist preferred comment sort order by contract
2022-10-03 08:15:27 -06:00
Ian Philips
051c2905e1
Allow user to opt out of all unnecessary notifications ( #974 )
...
* Allow user to opt out of all unnecessary notifications
* Unsubscribe from all response ux
* Only send one response
2022-10-03 07:41:39 -06:00
Pico2x
1f7b9174b3
Update index.tsx
2022-10-03 13:45:38 +01:00
FRC
06571a3657
Flag incorrectly resolved markets, warn about unreliable creators ( #945 )
...
* Flag incorrectly resolved markets, warn about unreliable creators
* Address James' review nits
* Added a loading state and some copy-changes
* Fix missing refactor
* Fix vercel error
* Fix merging issues
2022-10-03 10:49:19 +01:00
Pico2x
3fb43c16c4
Revert "Merge branch 'main' of https://github.com/manifoldmarkets/manifold "
...
This reverts commit 603201a00f
, reversing
changes made to b517817ee3
.
2022-10-03 10:02:38 +01:00
Pico2x
603201a00f
Merge branch 'main' of https://github.com/manifoldmarkets/manifold
2022-10-03 08:47:23 +01:00
Pico2x
b517817ee3
Fix indentation iphone
2022-10-03 08:47:21 +01:00
James Grugett
80693620f0
Make alt contract card listen for updates
2022-10-02 22:46:04 -05:00
mantikoros
f1ae54355d
cowp: pointer cursor
2022-10-02 20:44:24 -05:00
Marshall Polaris
503038d2a2
Fix a dumb bug on pseudo-numeric charts
2022-10-02 16:59:49 -07:00
Marshall Polaris
bf8dca25b2
Rewrite stats graphs using new machinery ( #985 )
...
* Make curve configurable on generic charts
* Extract SizedContainer helper component
* Use new charts for stats page
* Move analytics charts component
* Fix up start date logic for graphs excluding data
2022-10-02 16:56:29 -07:00
James Grugett
a82f447965
Fix free response comment threading
2022-10-02 18:20:37 -05:00
FRC
1f8c72b4c9
Overview page on groups ( #961 )
...
* Frontpage on groups
wip
* Fix James's nits
2022-10-03 00:02:31 +01:00
James Grugett
40c51c3d59
Add emojis to /labs
2022-10-02 17:14:11 -05:00
James Grugett
86ceea831b
Add stats to /labs
2022-10-02 17:10:18 -05:00
mantikoros
efb9ef7602
add padding to embeds
2022-10-02 17:04:28 -05:00
James Grugett
8c1131ebab
Tweak home search bar spacing on mobile
2022-10-02 17:04:04 -05:00
mantikoros
2c223160ed
comment button styling
2022-10-02 16:58:04 -05:00
mantikoros
11bd658c68
hide comment sort, trade tab if no items
2022-10-02 16:58:04 -05:00
James Grugett
39638a3888
Update mtg link
2022-10-02 15:27:29 -05:00
James Grugett
234820ecd4
Add /labs SEO
2022-10-02 15:24:02 -05:00
James Grugett
4d996c2476
Margin tweak
2022-10-02 15:23:16 -05:00
mantikoros
9ecf10496c
Auto-remove unused imports
2022-10-02 20:17:27 +00:00
mantikoros
42b27fcedd
update midterms dashboard
2022-10-02 15:15:37 -05:00
jahooma
7bf59bcdd0
Auto-prettification
2022-10-02 20:15:07 +00:00
James Grugett
043b18da0e
Add referral link to your user page
2022-10-02 15:13:03 -05:00