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
mantikoros
64951e691e
update midterms dashboard
2022-10-02 15:11:40 -05:00
James Grugett
9a90cc3835
Move manalinks into labs
2022-10-02 15:03:29 -05:00
James Grugett
10e361bcac
Load daily movers at top level as well
2022-10-02 14:59:02 -05:00
James Grugett
a7f6cb7cfa
Fix labs layout
2022-10-02 14:51:28 -05:00
James Grugett
359a768e14
Move challenges into /labs
2022-10-02 14:49:08 -05:00
James Grugett
42aea03415
Add search bar to home
2022-10-02 14:41:44 -05:00
James Grugett
0fb263efa4
Revert "Test loading user from localstorage on first render"
...
This reverts commit 701d0a06cd
.
2022-10-02 14:16:54 -05:00
James Grugett
747977556b
Add /labs to More menu
2022-10-02 14:13:19 -05:00
James Grugett
37e8cfbbed
Tweak padding
2022-10-02 14:12:33 -05:00
James Grugett
701d0a06cd
Test loading user from localstorage on first render
2022-10-02 14:08:05 -05:00
Sinclair Chen
0ffd6c129a
Make small embeds into cards ( #976 )
...
* Fix embed style (adjust input, strikethrough)
* Turn small embeds into contract cards
* Use media query instead of conditional render
* Open embed card clicks in new tab
2022-10-02 11:55:47 -07:00
James Grugett
758dbfe398
Add labs cards
2022-10-02 13:51:42 -05:00
James Grugett
33dfce3e16
Remove dating docs from More menu
2022-10-02 13:43:14 -05:00
James Grugett
af66d94c84
Manifold labs
2022-10-02 13:42:44 -05:00
mantikoros
290a34bc64
useTracking
2022-10-02 13:39:29 -05:00
mantikoros
4c2f9011d0
track embed hostname
2022-10-02 13:39:19 -05:00
mantikoros
57b592b5aa
show toast after comment tips
2022-10-02 12:55:58 -05:00
mantikoros
fd31b7eaca
set comment sort default to newest
2022-10-02 12:50:49 -05:00
Sinclair Chen
1d645e5ff8
trim copy on sort & bounty tooltips
2022-10-02 08:52:53 -07:00
mantikoros
0b0b84a6ad
show tips on own comments again
2022-10-01 16:22:19 -05:00
mantikoros
2baae33a77
show market tip total
2022-10-01 16:16:34 -05:00
mantikoros
fac87f8e0c
tips: display total
2022-10-01 16:10:17 -05:00
mantikoros
670c6faea8
tip button: remove border color
2022-10-01 16:00:39 -05:00
mantikoros
09e4864b32
consistent tip amount (M$10)
2022-10-01 15:57:47 -05:00
mantikoros
a445d9b7fa
make tip button green
2022-10-01 15:54:14 -05:00
mantikoros
cb613705e9
Consistent tips ( #984 )
...
* consistent tip button
* hide tips for self
* prettier
2022-10-01 15:51:08 -05:00
mantikoros
aeeb47bdbe
don't block on tipping
2022-10-01 15:06:09 -05:00
mantikoros
0844e5620a
create: remove visilbity section
2022-10-01 14:30:31 -05:00
mantikoros
2d6fe308b8
better group sort
2022-10-01 14:14:03 -05:00
James Grugett
759685258a
Turn off autofocus for amount input. (Fixes FR answer bug; IMO better UX)
2022-10-01 13:48:13 -05:00
James Grugett
b53e4acea6
API: Cache markets for 15 seconds at least
2022-10-01 13:37:56 -05:00
Marshall Polaris
2f1221f094
Size-aware chart tooltip positioning ( #980 )
2022-10-01 00:10:17 -07:00
mantikoros
2f3ae5192e
embed: disable clicking contract details
2022-09-30 20:30:45 -05:00
James Grugett
b0b1d72ba6
Cleaner home page loading!
2022-09-30 20:07:50 -05:00
Marshall Polaris
dc0b6dc6a6
Don't render stuff whenever window size changes ( #978 )
2022-09-30 18:01:48 -07:00
Marshall Polaris
89e26d077e
Clean up chart sizing code ( #977 )
...
* Clean up chart sizing code
* Do all the chart sizing work in same batch
2022-09-30 16:57:48 -07:00
Marshall Polaris
38b7c898f6
More refactoring to make chart tooltips more flexible ( #975 )
2022-09-30 16:16:04 -07:00
Sinclair Chen
3d146dd57d
decrease trending group count
2022-09-30 14:52:51 -07:00
ingawei
a219680701
Inga/scroll to top ( #965 )
...
- adding scroll to top button for markets, removing predict button at the bottom of comments
2022-09-30 15:16:27 -05:00
Sinclair Chen
37beb584ef
fix comment bounty overflow style
2022-09-30 12:54:48 -07:00
IanPhilips
9815e7301f
Auto-prettification
2022-09-30 19:48:04 +00:00
Ian Philips
ac97e62f2e
Add portfolio updates to notification settings
2022-09-30 13:45:57 -06:00
mantikoros
17d1b8575c
comment bounty styling
2022-09-30 14:45:23 -05:00
Phil
b2f81c1149
Twitch minor fix ( #973 )
...
* Made Twitch copy link buttons links so right-click -> copy URL works.
* Added Twitch OBS screenshot to public folder.
2022-09-30 20:01:51 +01:00
James Grugett
9d81e3b6d1
Fix import
2022-09-30 13:22:10 -05:00
James Grugett
ab883ea777
Order home group sections by daily score.
2022-09-30 12:00:16 -05:00
Ian Philips
3677de58c3
Add tooltip and badge on contract for bounties
2022-09-30 10:00:55 -06:00
Ian Philips
31de3636fd
Fix comment tab title
2022-09-30 09:34:58 -06:00
Ian Philips
a90b765670
Bounty comments ( #944 )
...
* Adding, awarding, and sorting by bounties
* Add notification for bounty award as tip
* Fix merge
* Wording
* Allow adding in batches of m250
* import
* imports
* Style tabs
* Refund unused bounties
* Show curreantly available, reset open to 0
* Refactor
* Rerun check prs
* reset yarn.lock
* Revert "reset yarn.lock"
This reverts commit 4606984276
.
* undo yarn.lock changes
* Track comment bounties
2022-09-30 09:27:42 -06:00
Ian Philips
55f854115c
Remove green circle from resolution prob input
2022-09-30 08:48:33 -06:00
Ian Philips
138f34fc66
Add close now button to contract edit time
2022-09-30 08:40:46 -06:00
Marshall Polaris
1bc1debbe8
Fix default sizes on charts to make more sense
2022-09-30 00:05:36 -07:00
Marshall Polaris
608ee7b865
Chart visual style adjustment ( #971 )
...
* Adjust area fill opacity on line charts
* Light gray border on tooltips
2022-09-30 00:03:31 -07:00
mantikoros
95c47aba1a
midterms: add CO, additional markets
2022-09-30 01:30:45 -05:00
James Grugett
f892c92e26
Save portfolio sort and filter to local storage!
2022-09-30 01:11:04 -05:00
Marshall Polaris
7e91133229
Change styles on contract tooltips to be more like portfolio graph ( #966 )
2022-09-29 22:45:51 -07:00
Marshall Polaris
523689b525
Keep tooltip within bounds of chart (well, for non-FR charts) ( #970 )
2022-09-29 22:45:31 -07:00
ingawei
b83e5db563
getting rid of daisy buttons ( #969 )
...
* getting rid of daisy buttons so bet button does not turn black on mobile
2022-09-30 00:41:22 -05:00
James Grugett
13b3613460
Show number of limit orders
2022-09-29 23:57:45 -05:00
Marshall Polaris
715bae57e0
Fix date memoization in charts ( #972 )
...
* Memoize on numbers, not dates
* Use numbers instead of dates to calculate visible range
2022-09-29 21:35:20 -07:00
Marshall Polaris
5b5a919ed7
Expose onMouseOver
chart event to hook into from outside ( #967 )
2022-09-29 20:18:33 -07:00
ingawei
262183e0e6
Inga/quick toggle fix ( #964 )
...
getting rid of unused component
2022-09-29 18:53:36 -05:00
Sinclair Chen
b7df1a7043
Add ||spoilers|| ( #942 )
...
* Add ||spoilers||
* Add spoiler button to format menu
2022-09-29 14:28:04 -07:00
Marshall Polaris
8929b2e6ba
Improve typing for chart tooltip stuff ( #962 )
2022-09-29 12:51:38 -07:00
mantikoros
9fc1e855ff
portfolio graph: put profit first
2022-09-29 13:53:43 -05:00
Pico2x
1755fb15d4
SEO for posts
2022-09-29 19:38:36 +01:00
Olivia Appleton
1e6b72059e
Expose multiple choice answer probabilities ( #939 )
...
* Expose multiple choice answer probabilities
* Run prettier
* Update api.md
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
2022-09-29 14:17:52 -04:00
James Grugett
2cc08ba9e7
Daily movers cleanup
2022-09-29 11:42:17 -05:00
Sinclair Chen
46fab105d9
Fix tipper icon progression
2022-09-29 07:26:19 -07:00
Sinclair Chen
4cc985634a
Put slider z-index under bottom menu
2022-09-29 07:04:11 -07:00
Marshall Polaris
15cd8b1f94
Fix a couple small chart bugs ( #960 )
...
* Fix time clamping causing little visual glitch
* Fix tick formatting glitch
2022-09-28 23:27:42 -07:00
Marshall Polaris
8862425120
Clean up chart tooltip handling ( #959 )
2022-09-28 21:43:04 -07:00
Marshall Polaris
be010da9f5
Refactor chart tooltip stuff, add bet avatar to tooltips ( #958 )
...
* Use objects instead of tuples for chart data
* Carry bet data down into charts
* Refactor to invert control of chart tooltip display
* Jazz up the chart tooltips with avatars
* Tidying
2022-09-28 21:14:34 -07:00
Marshall Polaris
7f7e7acd61
Make binary and pseudonumeric charts re-render less on contract diff ( #955 )
2022-09-28 18:03:30 -07:00
Sinclair Chen
1f2c7271b7
put edit profile z-index below side menu
2022-09-28 14:30:00 -07:00
Marshall Polaris
83de206e9e
Simply don't print zero ( #954 )
2022-09-28 14:20:28 -07:00
James Grugett
d55cedb36c
Load comments via static props
2022-09-28 13:11:26 -04:00
James Grugett
dba938032f
Listen for updates on daily mover contract
2022-09-28 12:28:40 -04:00
ingawei
7c8e977d60
order book things ( #953 )
...
Adding order book to limit orders in mobile modal. This is pretty ugly and just a quick fix because people are complaining.
2022-09-28 09:04:47 -05:00
ingawei
e0e6838711
Auto-remove unused imports
2022-09-28 13:46:41 +00:00
ingawei
513cf7b290
added order book
2022-09-28 06:45:32 -07:00
Marshall Polaris
89c3ea559c
Clamp time range in history chart scales ( #952 )
2022-09-28 01:18:11 -07:00
Marshall Polaris
9238b20242
Modularize d3 imports ( #951 )
2022-09-28 01:00:39 -07:00
Marshall Polaris
925a9e850f
Hack up brush rendering to fix possible Chrome bug ( #950 )
2022-09-28 00:58:51 -07:00
Marshall Polaris
8f88af4e2a
Fix an edge case with chart mouseover tooltips ( #949 )
2022-09-28 00:56:43 -07:00
Marshall Polaris
5b54e7d468
Limit max width of FR legend tooltip labels ( #948 )
2022-09-27 22:25:37 -07:00
Pico2x
f52127237e
COWP for cows
2022-09-28 01:21:38 -04:00
Pico2x
95f2604479
Cowp SEO friendly
2022-09-28 01:04:38 -04:00
Pico2x
a5b943965c
Create cowp.tsx
2022-09-28 00:59:24 -04:00
Marshall Polaris
c16adb9ec9
Fix potential clock sync issues with graph updating ( #947 )
2022-09-27 21:18:22 -07:00
Marshall Polaris
e0d9b4d335
Rewrite contract graphs ( #935 )
...
* Fiddle around with everything, WIP FR charts
* Implement numeric chart
* Reorganize everything into neat little files
* Add `AreaWithTopStroke` helper
* Tidying, don't gratuitously use d3.format
* Remove duplicate code
* Better tooltip bisection
* `NumericPoint` -> `DistributionPoint`
* Add numeric market tooltip
* Make numeric chart bucket points less wrong
* Clean up numeric bucket computation
* Clean up a bunch of tooltip stuff, add FR legend tooltips
* Fix a dumb bug
* Implement basic time selection
* Fix fishy Date.now inconsistency bugs
* Might as well show all the FR outcomes now
* Make tooltips accurate on curveStepAfter charts
* Make log scale PN charts work properly
* Adjust x-axis tick count
* Display tooltip on charts only for mouse
* Fix up deps
* Tighter chart tooltips
* Adjustments to chart time range management
* Better date formatting
* Continue tweaking time selection handling to be perfect
* Make FR charts taller by default
2022-09-27 20:24:42 -07:00
James Grugett
9dc0d1696e
Fix bug
2022-09-27 19:36:32 -04:00
James Grugett
13dad9a10c
Date doc: Remove photo as first-class feature
2022-09-27 19:03:14 -04:00
Austin Chen
14c008234a
Script: Add liquidity to all markets in a group
2022-09-27 18:55:30 -04:00
James Grugett
3ed29877ce
Add dating docs to menu bar
2022-09-27 18:55:08 -04:00
mantikoros
80d4bffc95
US Elections map ( #943 )
...
* usa map
* state election map
* senate midterms
* iframe
* fix
* /midterms
* listen for updates
2022-09-27 17:50:43 -05:00
James Grugett
b21daa1248
Date docs on Manifold ( #941 )
...
* Date docs
* Create date doc
* Create and show a date market as well
* Move url to date-docs
* Date doc individual page
* Add share button
* Edit date docs
* Layout
* Add comments for create-post
* Add comments and back nav
* Fix urls
* Tweaks
2022-09-27 17:30:07 -05:00
Austin Chen
419c7ab636
Navigate to ?tab=portfolio
2022-09-27 17:16:48 -04:00
Barak Gila
e2047210b7
add to queue rather than invoking sprig object directly, as it's still being setup ( #940 )
2022-09-27 15:13:11 -04:00
mantikoros
5e34b5a911
greyscale bet button if outcome is undefined
2022-09-27 13:15:13 -04:00
mantikoros
723d9dbece
Better bet summary ( #936 )
...
* show position, expected value, profit instead of "invested"
* move bet summary outside trades on market page
* refactor
* pass in userbets
* hide only if no bets; show invested on desktop
* various
2022-09-27 12:09:54 -05:00
Barak Gila
7ba19c274b
basic sprig integration with possible page URL events ( #932 )
...
* basic sprig integration with possible page URL events
* iteration 0
* iteration 1
* run prettier; attempt to remove expect error
* readd expect error messages
* typescript comment fixes
* add identify
* remove package-lock.json
* extract to separate file
* fix linting
* fix lint
* fix lint
* fix missing config
2022-09-27 12:02:03 -05:00
ingawei
a12ed78813
Getting rid of console log, fixing multiple choice markets ( #938 )
2022-09-26 23:48:00 -05:00
mantikoros
aa93ec060d
user page: put markets first
2022-09-27 00:46:30 -04:00
ingawei
fd90bc353b
multiple choice betting fix
2022-09-26 21:40:56 -07:00
ingawei
e17a59ae23
Inga/mobilebetting ( #911 )
...
* mobile binary betting
2022-09-26 19:28:54 -05:00
ingawei
2fe9fe593d
Inga/profile ( #937 )
...
- Changed edit profile button
- got rid of banner
- merged stats and trades tab on profile
- made multicolored profit graph
2022-09-26 18:01:13 -05:00
SirSaltyy
13cffcdaf1
Merge branch 'main' of https://github.com/manifoldmarkets/manifold
2022-09-26 18:12:28 -04:00
SirSaltyy
1b9811ce28
Update twitch page copy
2022-09-26 18:12:24 -04:00
James Grugett
90eaf83775
Redirect from '/home' to '/' if not logged in
2022-09-26 17:04:08 -04:00
Ian Philips
94ffac287e
Payout resolution notifications styling
2022-09-26 15:57:38 -04:00
Ian Philips
d9292f7a95
Switch order of my groups and all tabs
2022-09-26 11:30:41 -04:00
Ian Philips
bf92c4fb06
Fix 500 on non-existant group page
2022-09-26 11:28:54 -04:00
James Grugett
68120ec2b2
Revert "Clean up and fix stuff on answers panel ( #914 )"
...
This reverts commit 721448f408
.
2022-09-25 23:29:13 -04:00
Marshall Polaris
be2c60d3f3
Fix some rendering issues on contract page ( #933 )
...
* Memoize calculating sale amount on your bets list
* Don't re-render more than necessary with `useIsMobile` hook
* Use `useIsMobile` hook in `AmountInput`
2022-09-25 16:43:53 -07:00
Austin Chen
c1c3a360fd
Add CART contest to /tournaments
2022-09-25 13:08:34 -04:00
James Grugett
21c7130d3b
Filter out markets with undefined probChanges in dev
2022-09-23 18:58:05 -04:00
Marshall Polaris
d990bc2f07
Remove images config from next.config.js ( #931 )
2022-09-23 14:55:27 -07:00
Marshall Polaris
e2a8df6c3a
Nivo 0.74.0 -> 0.80.0 ( #929 )
2022-09-23 14:55:17 -07:00
Marshall Polaris
96dc060a0a
Move react-masonry-css dependency to web package.json ( #930 )
2022-09-23 14:55:06 -07:00
Austin Chen
d04304bdac
Fix blank page on nav to groups
2022-09-23 17:04:32 -04:00
Austin Chen
2891a47d8c
Support navigating to /about pages
2022-09-23 16:49:14 -04:00
James Grugett
490734db00
If no user, show loading on home
2022-09-23 16:43:23 -04:00
James Grugett
77ddc456a2
Add new home section to top.
2022-09-23 16:39:17 -04:00
James Grugett
1a5dcdedcc
Delay prefetch by 1000ms. Don't prefetch portfolio history.
2022-09-23 16:30:44 -04:00
James Grugett
0ab82a7bd4
Delete some unused code
2022-09-23 15:40:48 -04:00
James Grugett
deb8397ee9
Add Daily Trending section (daily-score for you.) Remove recently updated
2022-09-23 15:33:50 -04:00
James Grugett
57190e7876
Daily trending sort option
2022-09-23 15:33:50 -04:00
FRC
5a10132e2b
Add a "Posts" tab to groups ( #926 )
...
* Add a "Posts" sidebar item to groups
* Fix James's nits
* Show "Add Post" button only to users
2022-09-23 15:11:50 -04:00
Sinclair Chen
ebcecd4fe9
remove unused files
2022-09-23 15:01:48 -04:00
Ian Philips
08202c3ede
Add close market endpoint
2022-09-23 10:02:40 -04:00
jahooma
70bc5b2c4a
Auto-prettification
2022-09-22 21:58:40 +00:00
James Grugett
c6d034545a
Home: Prob change cards. Sort by daily score. ( #925 )
...
* Add dailyScore: product of unique bettors (3 days) and probChanges.day
* Increase memory and duration of scoreContracts
* Home: Smaller prob change card for groups. Use dailyScore for sort order (algolia)
* Add back hover
2022-09-22 16:57:48 -05:00
Sinclair Chen
eaaa46294a
fix empty comment send button style
2022-09-22 17:07:51 -04:00
Sinclair Chen
2240db9baa
fix profile tab styling
2022-09-22 16:24:57 -04:00
Marshall Polaris
a1c3d0a2dd
Fix up comment permalink stuff ( #915 )
...
* Eliminate needless state/effects to highlight comments
* Scroll to comment on render if highlighted
2022-09-22 12:58:40 -07:00
Marshall Polaris
7704de6904
Next.js 12.2.5 -> 12.3.1 ( #922 )
2022-09-22 12:46:48 -07:00
Marshall Polaris
721448f408
Clean up and fix stuff on answers panel ( #914 )
2022-09-22 12:40:55 -07:00
Marshall Polaris
6ee8d90bdb
Eliminate redundant showReply/replyTo state ( #917 )
2022-09-22 12:40:44 -07:00
Marshall Polaris
6fe0a22a48
Improve contract leaderboard computation ( #918 )
...
* Fix and clean up top comment stuff
* Make leaderboard code generic on entry type
* No need to look up users on contract leaderboard
2022-09-22 12:40:27 -07:00
mantikoros
b9fffcfa30
sort: add back 24h volume, remove most traded
2022-09-22 14:20:44 -04:00
mantikoros
0c0e7b5582
Auto-prettification
2022-09-22 18:02:17 +00:00
mantikoros
06db5515f6
add qr code to share dialog
2022-09-22 14:01:37 -04:00
FRC
a5e293c010
Bring back tabs in groups ( #923 )
2022-09-22 12:12:53 -04:00
Sinclair Chen
4412d0195c
Add tooltips to market header icons ( #924 )
2022-09-22 11:53:55 -04:00
mantikoros
c15285aa64
pare down sorts; only show high/low prob on groups
2022-09-22 00:32:20 -04:00
Austin Chen
9ff2b62740
Remove console log
2022-09-21 23:10:25 -04:00
Sinclair Chen
e9ab234d61
copy: manifold dollars -> mana
2022-09-21 17:49:32 -07:00
ingawei
7988fdde60
simplify binary graphs ( #921 )
2022-09-21 18:49:20 -05:00
Pico2x
b875ac563d
Revert "Bring back tabs in groups ( #919 )"
...
This reverts commit b4a59cfb21
.
2022-09-21 19:14:05 -04:00
FRC
b4a59cfb21
Bring back tabs in groups ( #919 )
2022-09-21 18:27:49 -04:00
Austin Chen
d922900bda
Increase tip size to M$10
2022-09-21 18:25:56 -04:00
ingawei
24766740c5
cleaning up search bar for mobile ( #916 )
...
* cleaning up search bar for mobile
2022-09-21 16:48:32 -05:00
Austin Chen
73fad2e34b
Remove F2P Tournament
2022-09-21 15:31:45 -04:00
Marshall Polaris
a10605e74c
More work on contract page and tabs ( #912 )
...
* Consolidate comment thread component code
* Move `visibleBets` work down into bets tab
* Remove unnecessary cruft from contract page props
* Don't load all comments in contract page static props anymore
* Tidy up props a bit
* Memoize bets tab
* Memoize recommended contracts widget
2022-09-21 00:02:10 -07:00
Marshall Polaris
c7f29af2ee
Clean up some stuff in AnswersPanel
( #902 )
...
* Tidy up messy markup on FR answers panel
* Clean up obsolete feed-related answer stuff
* Slight fixup per James feedback
2022-09-20 22:07:40 -07:00
Marshall Polaris
6e2aa622ab
Refactor, improve efficiency of contract tabs stuff ( #909 )
...
* Move comments and tips fetching down into comments tab rendering
* Consolidate `contract-activity.tsx` into `contract-tabs.tsx`
* Move LP fetching into bets tab
2022-09-20 21:02:17 -07:00
mantikoros
54778ec1b1
Fix twitch onboarding ( #910 )
...
* don't show welcome dialog for twitch users
* handle sign up race conditions with more hooks
* content organization and copy tweaks
* lint
* fix import
2022-09-20 19:23:18 -05:00
Marshall Polaris
8870f0d356
Don't always require tips to render comments ( #898 )
2022-09-20 15:58:47 -07:00
Marshall Polaris
be4def49a2
Kill counts of comments and trades on contract page ( #900 )
2022-09-20 15:53:35 -07:00
James Grugett
589bf9651d
Track viewing full daily movers
2022-09-20 17:40:31 -05:00
Marshall Polaris
60c79141aa
Move comment-bet association code into comment creation trigger ( #899 )
...
* Move comment-bet association code into comment creation trigger
* Add index for new comments query
2022-09-20 15:25:58 -07:00
Marshall Polaris
faaf502114
Remove old check in free answer comment rendering ( #906 )
2022-09-20 14:11:26 -07:00
Marshall Polaris
30ce80d0c9
Extract signup UI from contract tabs component ( #901 )
2022-09-20 14:04:07 -07:00
Marshall Polaris
8145b128ad
Move recommended contracts to own widget ( #896 )
2022-09-20 14:03:52 -07:00
Marshall Polaris
a2d9e8e3d2
Cleanup free answer comment stuff ( #897 )
...
* Remove unused most-recent-bet-time stuff
* Remove strange reply box hiding behavior
* Tidying markup
2022-09-20 14:03:33 -07:00
mantikoros
379e736e51
hide liquidity panel ( #904 )
2022-09-20 15:57:27 -05:00
Pico2x
fdd7dcc0ab
Rm group about/short description
2022-09-20 14:42:41 +01:00
James Grugett
62f20694bf
Exclude resolved from daily movers
2022-09-20 00:49:25 -05:00
James Grugett
c338dce3ce
Add daily activation rate. Remove top tenth actions. Cleanup
2022-09-20 00:10:05 -05:00
marsteralex
44deaf7b0a
WIP: add artist category ( #866 )
...
* fix https
* add beasts
* Remove extra file
* Prettier-ify code
* Prettier-ify
* add basic land guesser
also added fetcher to filter all cards instead of only unique art
* default to original
makes basic better
* added set symbol to basics
added set symbol to the basics game mode. Changed name to "How Basic"
* cleanup
* changed some pixels
* only load set data if needed
* hacked fix for removing image from name
* removed check from original
* remove check from original
* sort names by set instead of by set symbol
* include battlebond
* update cards for categories
update for dominaria united
* added commander category
commander category
* update basic land art
* can use double feature
* removing racist cards upstream
this way we don't have to store the cards in the json
* remove generated cards from digital commanders
* fix counterspell setting default
* added difficulty rating
* updated padding
* add dfc support for commanders
* add artists
* use latest non-digital if possible
* change vsCode settings for python
* update with latest non-digital printing
* update artist list
* update algo to select k samples
* cleanup code
* equally weight artists
* weight everything equally
* updated for all artists
* update artists
* add allowlist
* update artists to min 50 art
* allow promo to be replaced
* update jsons
* update with min 100 arts
* update code to be smaller jsons
* updated to 18 artists per game
* update ui
* update importing artists
* update to 21
* move num artists to top of js file
* update artistList to not include artist sigs
* update to 50 artists
* update for ub
* update artist list
* update ub defaults
* update jsons
* allow non-english cards to be replaced
* update allowlist
* update jsons
* add watermark
* update jsons
* update jsons
* make jsons slightly smaller
* add checkmarks and x's
* remove python
* add no answer and checkbox and x
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
2022-09-19 18:10:14 -07:00
James Grugett
4dc3eada1f
Add more stats. Fix timezone. Group retention and new user retention
2022-09-19 18:41:24 -05:00
James Grugett
d0973de2b4
Use percent chart, save unrounded stats
2022-09-19 17:45:52 -05:00
James Grugett
b4244ea75d
Change stats date to be by Pacific time zone
2022-09-19 17:10:12 -05:00
mantikoros
a2b01e28c9
daily movers: filter out numeric markets
2022-09-19 16:29:21 -05:00
jahooma
c101337c38
Auto-remove unused imports
2022-09-19 21:25:50 +00:00
James Grugett
f3ff6d99c8
Remove colored background for daily movers to make it not feel like your own profit / loss
2022-09-19 16:24:36 -05:00
James Grugett
fb27fac524
Revalidate getStaticProps after each bet
2022-09-19 14:55:37 -05:00
mantikoros
24cf42284f
replace "predictor" => "trader"
2022-09-19 14:03:52 -05:00
FRC
6aa45a2d12
Move group navbar to top ( #895 )
2022-09-19 17:29:17 +01:00
Ian Philips
5d65bb5bb1
Add message about unique bonuses withdrawn on n/a
2022-09-19 07:31:04 -06:00
Marshall Polaris
bfe00595e7
Make comments with bet outcome but no answer outcome appear ( #894 )
2022-09-19 00:53:10 -07:00
James Grugett
b93af31d2f
Add D1 and W1 (new users) to stats
2022-09-19 01:28:18 -05:00
Marshall Polaris
a9e5020904
Render free response comment threads more simply without bets ( #893 )
2022-09-18 19:16:48 -07:00
Marshall Polaris
58dcbaaf6e
Precalculate and store current positions for users who make comments ( #878 )
2022-09-18 15:57:50 -07:00
James Grugett
8ebf829169
Change groups default sort to Trending
2022-09-18 17:16:13 -05:00
James Grugett
17453e5618
Improve hook that was spamming in dev
2022-09-18 16:57:20 -05:00
James Grugett
ae6437442b
Fix unsaved changes warning erronously appearing
2022-09-18 16:36:45 -05:00
mantikoros
540915eb65
homepage: fix betting streaks error
2022-09-18 16:05:22 -05:00
James Grugett
f111d6e24f
Fix console errors from svg non-camelcase attributes
2022-09-18 15:55:39 -05:00
James Grugett
676bcc159d
Fix missing key
2022-09-18 15:53:04 -05:00
James Grugett
1da4373335
Creating a group from create market adds it immediately
2022-09-18 14:24:29 -05:00
James Grugett
c9e782faa7
Simplify create group dialog
2022-09-18 13:49:28 -05:00
Marshall Polaris
39119a3419
Twitch bot deployment work ( #892 )
...
* Point at production Twitch bot endpoint
* Move Twitch endpoints into env config
2022-09-18 01:13:10 -07:00
James Grugett
4aea3b96d7
Save initial home sections for new users
2022-09-17 23:58:18 -05:00
James Grugett
987274ad2d
Fix bug part 2
2022-09-17 20:01:00 -05:00
James Grugett
2166169608
Fix bug
2022-09-17 19:56:20 -05:00
James Grugett
d8e9e7812a
Don't show Daily movers if there are none. Threshold is 1%
2022-09-17 19:47:04 -05:00
James Grugett
3bddda37d2
Add plus to trending group button
2022-09-17 19:25:19 -05:00
jahooma
42f66b11f4
Auto-prettification
2022-09-18 00:20:50 +00:00