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
James Grugett
436646cc47
Use algolia to fetch daily movers so it's faster.
2022-09-17 19:18:48 -05:00
James Grugett
a14e7d3947
Move Algolia bits to own file in web/lib/service
2022-09-17 19:18:48 -05:00
mantikoros
47cc313aef
add back leaderboards link
2022-09-17 19:15:26 -05:00
mantikoros
44f9a1faa2
fix labels
2022-09-17 19:12:44 -05:00
mantikoros
f71791bdd5
fix labels
2022-09-17 19:10:34 -05:00
James Grugett
350ab35856
Tweak padding
2022-09-17 18:52:14 -05:00
mantikoros
37cff04e39
share dialog styling
2022-09-17 18:49:24 -05:00
James Grugett
e7ed893b78
Round prob in Daily movers
2022-09-17 18:45:40 -05:00
mantikoros
8f30ef38d9
fix imports
2022-09-17 18:40:45 -05:00
James Grugett
1fbadf8181
Improve Customize UI
2022-09-17 18:30:29 -05:00
mantikoros
438c12da57
refactor sidebar; add to mobile navbar
2022-09-17 18:26:02 -05:00
James Grugett
191ec9535c
Show more rows on daily movers all
2022-09-17 18:00:24 -05:00
James Grugett
b74fd57912
Show absolute prob in daily movers as well
2022-09-17 17:58:08 -05:00
James Grugett
a54f060ccb
New for you => New
2022-09-17 15:15:37 -05:00
mantikoros
fde90be5a2
fix resolve prob notification text
2022-09-17 15:01:45 -05:00
mantikoros
d2471e2a02
group selector dialog: loading indicator, tracking
2022-09-17 14:59:02 -05:00
James Grugett
f35799c129
Only autofocus search if no query params set
2022-09-17 14:54:55 -05:00
mantikoros
6a21067440
update /about redirect
2022-09-17 14:46:59 -05:00
Austin Chen
e0806cf0e0
Fix links to group /about and /leaderboards
2022-09-16 20:36:52 -07:00
James Grugett
94c448ee8b
Most predictions => Most traded
2022-09-16 17:43:27 -05:00
Sinclair Chen
3e9f046a29
Always focus search bar on search page
2022-09-16 15:37:52 -07:00
James Grugett
9340d827d9
Replace new with recently updated
2022-09-16 17:29:46 -05:00
James Grugett
612066d96c
Tweak margin
2022-09-16 17:26:00 -05:00
James Grugett
015e86afcb
Add search to bottom nav bar. Add back Home title to home page.
2022-09-16 17:24:31 -05:00
James Grugett
7c710ba598
Rename file nav-bar to bottom-nav-bar
2022-09-16 17:24:31 -05:00
Sinclair Chen
5b8fc12163
Make add group button same height as group names ( #890 )
2022-09-16 15:21:07 -07:00
James Grugett
ab3ed3fbf1
Save last sort to local storage
2022-09-16 17:09:12 -05:00
James Grugett
22d5c74818
Add search nav items
2022-09-16 16:46:24 -05:00
James Grugett
1321139e7f
Prefetch daily movers
2022-09-16 16:35:04 -05:00
mantikoros
70ef9e1836
group sidebar, navbar tweaks
2022-09-16 16:30:06 -05:00
James Grugett
e4cfd92bb2
Track home actions
2022-09-16 16:21:13 -05:00
James Grugett
25ee793208
🏠 New home ( #889 )
...
* Factor out section header
* Remove daily balance change
* Remove dead code
* Layout, add streak
* Fix visibility observer to work on server
* Tweak
* Search perserved by url
* Add pill query param
* Add search page
* Extract component for ProbChangeRow
* Explore groups page
* Add search row
* Add trending groups section
* Add unfollow option for group
* Experimental home: accommodate old saved sections.
* Tweaks to search layout
* Rearrange layout
* Daily movers page
* Add streak grayed out indicator
* Use firebase query instead of algolia search for groups
* Replace trending group card with pills
* Hide streak if you turned off that notification
* Listen for group updates
* Better UI for adding / removing groups
* Toast feedback for join/leave group. Customize button moved to bottom.
* Remove Home title
* Refactor arrange home
* Add new for you section
* Add prefetch
* Move home out of experimental!
* Remove unused import
* Show non-public markets from group
2022-09-16 16:12:24 -05:00
mantikoros
f7164ddd7d
group selector dialog ( #888 )
...
* group selector dialog
* cache groups to prevent ui jumping
* welcome dialog display logic
* show fewer groups, more filtering
2022-09-16 14:58:36 -05:00
Sinclair Chen
dd2b09830e
update Clearer Thinking end date to Sep 30
2022-09-16 12:13:45 -07:00
Phil
52ecd79736
Twitch prerelease ( #887 )
...
* Bot linking button functional.
* Implemented initial prototype of new Twitch signup page.
* Removed old Twitch signup page.
* Moved new Twitch page to correct URL.
* Twitch account linking functional.
* Fixed charity link.
* Changed to point to live bot server.
* Slightly improve spacing and alignment on Twitch page
* Tidy up, handle some errors when talking to bot
* Seriously do the thing where Twitch link is hidden by default
* Fixed secondary Get Started button. Copy overlay and dock link now functional.
* Add/remove bot from channel working.
* Removed legacy Twitch controls from user profile.
* Links provided by dock/overlay buttons are now correct.
* Minor profile cleanup post merge.
* Fixed unnecessary relinking Twitch account when logging in on Twitch page.
* Added confirmation popup to refresh API key. Refreshing API key now requires a user to relink their Twitch account.
* Removed legacy twitch-panel.tsx
Co-authored-by: Marshall Polaris <marshall@pol.rs>
2022-09-16 08:43:49 -07:00
IanPhilips
c316d49957
Auto-prettification
2022-09-16 15:30:09 +00:00
Ian Philips
68f2277def
Just put 'you' on mobile
2022-09-16 09:28:39 -06:00
Ian Philips
a2d912bb5a
Add more info to limit order notif
2022-09-16 09:02:58 -06:00
Ian Philips
c183315d52
Don't notify of updated close time when resolving market
2022-09-16 08:15:16 -06:00
FRC
456aed467c
Move tabs to sidebar ( #873 )
...
* Move tabs to sidebar
* Address all feedback
Fix icon names
Extract navbar component into a separate function
Rm arrow and indentation
Move group name under logo
Fix visual sidebar stretchy thing
Fix visual bug
* Extra nits
2022-09-16 14:32:15 +01:00
ingawei
256fd89fd2
market close fix oopsies ( #886 )
...
* market close fix
2022-09-16 02:38:09 -05:00
Phil
833ec518b4
Twitch prerelease ( #882 )
...
* Bot linking button functional.
* Implemented initial prototype of new Twitch signup page.
* Removed old Twitch signup page.
* Moved new Twitch page to correct URL.
* Twitch account linking functional.
* Fixed charity link.
* Changed to point to live bot server.
* Slightly improve spacing and alignment on Twitch page
* Tidy up, handle some errors when talking to bot
* Seriously do the thing where Twitch link is hidden by default
Co-authored-by: Marshall Polaris <marshall@pol.rs>
2022-09-16 00:22:13 -07:00
Austin Chen
1321b95eb1
%mentions for embedding contract card, take 2 ( #884 )
...
* Revert "Revert "Use %mention to embed a contract card in rich text editor (#869 )""
This reverts commit e0634cea6d
.
* Overwrite name to prevent breakages
* Fix '%' mentioning if you escape out
* Cleanup: merge render functions
2022-09-15 23:37:17 -07:00
Austin Chen
ca4a2bc7db
Remove console log
2022-09-15 23:00:58 -07:00
mantikoros
430ad1acb0
"unique bettors"; "Unknown" => "0"
2022-09-15 23:18:27 -05:00
ingawei
1ce989f3d6
Inga/bettingfix embedfix ( #885 )
...
* Revert "Revert "Inga/bettingfix (#879 )""
This reverts commit 176acf959f
.
* added embed fix
2022-09-15 19:41:25 -05:00
James Grugett
e0634cea6d
Revert "Use %mention to embed a contract card in rich text editor ( #869 )"
...
This reverts commit 140628692f
.
2022-09-15 18:19:22 -05:00
Sinclair Chen
ebbb8905e2
Add clearer thinking Regrant to tournaments ( #883 )
2022-09-15 16:05:56 -07:00
Austin Chen
140628692f
Use %mention to embed a contract card in rich text editor ( #869 )
...
* Bring up a list of contracts with @
* Fix hot reload for RichContent
* Render contracts as half-size cards
* Use % as the prompt; allow for spaces
* WIP: When there's no matching question, create a new contract
* Revert "WIP: When there's no matching question, create a new contract"
This reverts commit efae1bf715
.
* Rename to contract-mention
* WIP: Try to merge in @ and % side by side
* Add a different pluginKey
* Track the prosemirror-state dep
2022-09-15 15:12:26 -07:00
Ian Philips
e9fcf5a352
Space
2022-09-15 16:12:05 -06:00
Ian Philips
3362b2f953
Capitalize
2022-09-15 15:51:39 -06:00
Ian Philips
61c672ce4c
Show negative payouts
2022-09-15 15:50:26 -06:00
Ian Philips
7628713c4b
Enrich contract resolved notification
2022-09-15 15:25:19 -06:00
Marshall Polaris
b903183fff
Paginate contract bets tab ( #881 )
...
* Apply pagination to bets list on contract
* Make contract trades tab number actually match number of entries
2022-09-15 13:47:07 -07:00
Austin Chen
1476f669d3
Fix capitalization
2022-09-15 13:45:51 -07:00
Ian Philips
8c6a40bab7
Enrich limit order notification
2022-09-15 13:39:46 -06:00
Sinclair Chen
69c2570ff9
fix copy to make clear referrals aren't limited
2022-09-15 12:29:57 -07:00
Ian Philips
b3e6dce31e
Capitalize
2022-09-15 09:57:14 -06:00
Ian Philips
be91d5d5e0
Avatars don't link during contract selection
2022-09-15 09:51:52 -06:00
Ian Philips
e9f136a653
Single source of truth for predict
2022-09-15 09:12:56 -06:00
Pico2x
718218c717
Update bet-inline.tsx
2022-09-15 15:51:14 +01:00
Pico2x
772eeb5c93
Update [contractSlug].tsx
2022-09-15 15:45:49 +01:00
Ian Philips
e5428ce525
Watch market modal copy
2022-09-15 07:14:59 -06:00
Pico2x
176acf959f
Revert "Inga/bettingfix ( #879 )"
...
This reverts commit 8aaaf5e9e0
.
2022-09-15 13:55:57 +01:00
ingawei
8aaaf5e9e0
Inga/bettingfix ( #879 )
...
* making betting action panels much more minimal, particularly for mobile
* added tiny follow button
2022-09-15 01:46:58 -05:00
ingawei
ccf02bdba8
Inga/admin rules resolve ( #880 )
...
* Giving admin permission to resolve all markets that have closed after 7 days.
2022-09-14 22:28:40 -05:00
Ian Philips
9aa56dd193
Only show prev opened notif setting section
2022-09-14 17:25:17 -06:00
Ian Philips
3efd968058
Allow one-click unsubscribe, slight refactor
2022-09-14 17:17:32 -06:00
Sinclair Chen
68b0539fc1
Enable search exclusion and exact searches
...
like `-musk` to remove Elon results or `"eth"` for Ethereum results
2022-09-14 15:06:11 -07:00
Sinclair Chen
7aaacf4d50
Center tweets
2022-09-14 13:19:12 -07:00
Ian Philips
7ba2eab65e
Rename user notification preferences
2022-09-14 10:26:08 -06:00
Ian Philips
edbae16c8e
Betting streak reset indicator
2022-09-14 08:56:05 -06:00
Ian Philips
d6b0a1edc0
Betting streak reset to 7am UTC and store streak data on notif
2022-09-14 07:27:20 -06:00
mantikoros
a2d61a1daa
Twitch integration ( #815 )
...
* twitch account linking; profile page twitch panel; twitch landing page
* fix import
* twitch logo
* save twitch credentials cloud function
* use user id instead of bot id, add manifold api endpoint
* properly add function to index
* Added support for new redirect Twitch auth.
* Added clean error handling in case of Twitch link fail.
* remove simulator
* Removed legacy non-redirect Twitch auth code. Added "add bot to channel" button in user profile and relevant data to user type.
* Removed unnecessary imports.
* Fixed line endings.
* Allow users to modify private user twitchInfo firestore object
* Local dev on savetwitchcredentials function
Co-authored-by: Phil <phil.bladen@gmail.com>
Co-authored-by: Marshall Polaris <marshall@pol.rs>
2022-09-14 01:52:31 -07:00
Marshall Polaris
7144e57c93
Denormalize user display fields onto bets ( #853 )
...
* Denormalize user display fields onto bets
* Make bet denormalization script fast enough to run it on prod
* Make `placeBet`/`sellShares` immediately post denormalized info
2022-09-14 01:33:59 -07:00
Marshall Polaris
1ebb505752
Fix liquidity feed display to look right ( #877 )
2022-09-14 01:13:53 -07:00
mantikoros
273b815e54
hide house liquidity on feed
2022-09-14 00:51:43 -05:00
mantikoros
be851b8382
fix typo
2022-09-13 21:23:36 -05:00
mantikoros
58ef43a8ec
intro panel: use gradient image
2022-09-13 21:12:01 -05:00
Ian Philips
f6feacfbc9
Fix lint and persistent storage key
2022-09-13 17:18:16 -06:00
Sinclair Chen
74335f2b01
Adjust market modal styles ( #875 )
...
* Refactor add market modals into one component
* Adjust style: stickier search, scroll auto
2022-09-13 16:16:07 -07:00
Ian Philips
df3d7b591d
Componentize notification line setting, don't use useEffect
2022-09-13 17:00:34 -06:00
James Grugett
c9d323c83f
Small updates to experimental/home ( #874 )
...
* Factor out section header
* Remove daily balance change
* Remove dead code
* Layout, add streak
* Fix visibility observer to work on server
* Tweak
* Formatting
2022-09-13 17:47:29 -05:00
Ian Philips
34bad35cb8
Betting=>predicting
2022-09-13 16:19:52 -06:00
Ian Philips
c423326270
Send users emails when they hit 1 and 6 unique bettors
2022-09-13 16:12:53 -06:00
Ian Philips
4398fa9bda
Add new market from followed user email notification
2022-09-13 09:54:51 -06:00
Ian Philips
8b1776fe3b
Remove contracts number badge from groups tab
2022-09-13 07:53:01 -06:00
Ian Philips
de8c27c970
Filter None answer earlier
2022-09-13 07:48:41 -06:00
Sinclair Chen
22d2248951
Add floating menu (bold, italic, link) ( #867 )
...
* Add floating menu (bold, italic, link)
* Sanitize and href-ify user input
2022-09-12 16:10:32 -07:00
Ian Philips
2351403674
Replies to answers are comments
2022-09-12 17:04:06 -06:00
James Grugett
f49cb9b399
Only show 'Show more' for free response answers if there are more answers to show
2022-09-12 17:40:19 -05:00
mantikoros
d66a81bc6b
Auto-prettification
2022-09-12 22:35:32 +00:00
mantikoros
8e41b39936
landing page: use next image for logo
2022-09-12 17:34:13 -05:00
mantikoros
0e5b1a7742
market intro panel
2022-09-12 17:30:51 -05:00
mantikoros
3d3caa7a42
remove comment bet area
2022-09-12 16:50:38 -05:00
Ian Philips
5c6fe08bdb
Website => Web
2022-09-12 14:48:42 -06:00
Ian Philips
747d5d7c7c
In app => website
2022-09-12 14:48:16 -06:00
Ian Philips
3a814a5b5d
Detect just settings tab w/o section
2022-09-12 14:41:30 -06:00
Ian Philips
0af1ff112b
Allow users to see 0% FR answers via show more button
2022-09-12 14:30:15 -06:00
Ian Philips
86422f90ea
Set all overflow notifs to seen
2022-09-12 14:17:39 -06:00
FRC
ff81b859d1
"Fix "500 internal error" in large groups ( #872 )
...
* Fix "500 internal error" in large groups (#856 )
This reverts commit 28f0c6b1f8
.
* Ship without touching prod and with some logs.
2022-09-12 20:54:11 +01:00
James Grugett
4f19220778
Experimental home: accommodate old saved sections.
2022-09-12 11:56:20 -05:00
Ian Philips
5c6328ffc2
[WIP] Fully customizable notifications ( #860 )
...
* Notifications Settings page working
* Update import
* Linked notification settings to notification rules
* Add more subscribe types
* It's alive... It's alive, it's moving, it's alive, it's alive, it's alive, it's alive, IT'S ALIVE'
* UI Tweaks
* Clean up comments
* Direct & highlight sections for notif mgmt from emails
* Comment cleanup
* Comment cleanup, lint
* More comment cleanup
* Update email templates to predict
* Move private user out of getDestinationsForUser
* Fix resolution messages
* Remove magic
* Extract switch to switch-setting
* Change tab in url
* Show 0 as invested or payout
* All emails use unsubscribeUrl
2022-09-12 10:34:56 -06:00
FRC
28f0c6b1f8
Revert "Fix "500 internal error" in large groups ( #856 )" ( #871 )
...
This reverts commit a6ed8c9228
.
2022-09-12 17:26:46 +01:00
FRC
a6ed8c9228
Fix "500 internal error" in large groups ( #856 )
...
* Members to memberIds
* Moved to update-metrics
2022-09-12 16:44:24 +01:00
James Grugett
c1287a4a25
Small updates to experimental home ( #870 )
...
* Line clamp question in prob change table
* Tweaks
* Expand option for daily movers
* Snap scrolling for carousel
* Add arrows to section headers
* Remove carousel from experimental/home
* React querify fetching your groups
* Edit home is its own page
* Add daily profit and balance
* Merge branch 'main' into new-home
* Make experimental search by your followed groups/creators
* Just submit, allow xs on pills
* Weigh in
* Use next/future/image component to optimize avatar images
* Inga/challenge icon (#857 )
* changed challenge icon to custom icon
* fixed tip button alignment
* weighing in and trading "weigh in" for "trade"
* Delete closing soon, mark new as New for you, trending is site-wide
* Delete your trades. Factor out section item
* Don't allow hiding of home sections
* Convert daily movers into a section
* Tweaks for loading daily movers
* Prob change table shows variable number of rows
* Fix double negative
Co-authored-by: Ian Philips <iansphilips@gmail.com>
Co-authored-by: Austin Chen <akrolsmir@gmail.com>
Co-authored-by: ingawei <46611122+ingawei@users.noreply.github.com>
Co-authored-by: mantikoros <sgrugett@gmail.com>
2022-09-12 00:39:04 -05:00
Sinclair Chen
f8d346a404
Clean up charity styles
...
- center cards on mobile
- make notes more professional
2022-09-11 11:42:05 -07:00
mantikoros
93033b5b24
Revert "Yes and no buttons on contract page ( #868 )"
...
This reverts commit b39e0f304f
.
2022-09-10 21:57:50 -05:00
mantikoros
18815caed4
Revert "Put sale value above quick bet button"
...
This reverts commit 9ee7173305
.
2022-09-10 21:57:35 -05:00
Ian Philips
9ee7173305
Put sale value above quick bet button
2022-09-10 17:48:35 -06:00