#metabrainz

/

      • shelly
        mayhem: What is your suggested way of debugging in listenbrainz frontend ?
      • 2023-02-28 05955, 2023

      • lucifer
        shelly: what error do you get when you try to console.log?
      • 2023-02-28 05917, 2023

      • mayhem
        if what you are debugging is react code, I would install the react dev plugins for your browser.
      • 2023-02-28 05926, 2023

      • shelly
        lucifer: I don't get any error of sorts
      • 2023-02-28 05952, 2023

      • lucifer
        okay if you push the code to github, can take a look at what's going on.
      • 2023-02-28 05901, 2023

      • lucifer
        mayhem: LB#2370. if you could review it soon, i'll do another release.
      • 2023-02-28 05902, 2023

      • BrainzBot
        Improve artist credit similarity using weights: https://github.com/metabrainz/listenbrainz-server…
      • 2023-02-28 05909, 2023

      • yvanzo
        reosarevok: I’m starting to update cron containers.
      • 2023-02-28 05922, 2023

      • Rishika joined the channel
      • 2023-02-28 05950, 2023

      • Rishika
        from where the data comes into the application
      • 2023-02-28 05954, 2023

      • lucifer
        mayhem: i see one issue with that mockup. the for you data isn't calculated for arbitrary ranges which that selector allows to choose.
      • 2023-02-28 05902, 2023

      • shelly
        lucifer : I can give a pastebin link https://pastebin.com/3p3FGSjm . I have added console on line 90
      • 2023-02-28 05930, 2023

      • lucifer
        Rishika: assuming you mean the fresh releases data, we have apis available for that and those are already integrated in the code.
      • 2023-02-28 05947, 2023

      • lucifer
        you'll probably only need to do the ui parts.
      • 2023-02-28 05955, 2023

      • lucifer
        have you checked out the existing page?
      • 2023-02-28 05922, 2023

      • Rishika
        yes
      • 2023-02-28 05949, 2023

      • monkey
        mayhem:
      • 2023-02-28 05952, 2023

      • monkey
        background: linear-gradient(0.36deg, rgba(53, 48, 112, 0.8) 0.42%, rgba(53, 48, 112, 0.1) 99.8%);
      • 2023-02-28 05915, 2023

      • Rishika has quit
      • 2023-02-28 05934, 2023

      • Rishika joined the channel
      • 2023-02-28 05934, 2023

      • Rishika
        how am I expected to contribute, I'm really excited to be a part
      • 2023-02-28 05940, 2023

      • lucifer
        shelly: that seems like it should work. maybe some caching issue so the isn't getting updated, try in incognito or clearing cache. also is the static builder container yp.
      • 2023-02-28 05919, 2023

      • rudraksh[m] joined the channel
      • 2023-02-28 05920, 2023

      • lucifer
        although you just want to view the state in this case so you should try using the dev plugins as mayhem suggested.
      • 2023-02-28 05957, 2023

      • lucifer
        Rishika: first of setup the webserver locally and then the find a ticket to work on and get familiar with the codebase.
      • 2023-02-28 05913, 2023

      • shelly
        lucifer: i am using react dev tools plugin but I wanted to know how the data is aggregated. I will try what you suggested
      • 2023-02-28 05905, 2023

      • bitmap
        yvanzo: reosarevok: I'm around now, can I help with anything?
      • 2023-02-28 05930, 2023

      • shelly
        lucifer: The api to get pins such as https://api.listenbrainz.org/1/Shelly101/pins/fol… is returning empty array for pinned_recordings.
      • 2023-02-28 05933, 2023

      • Rishika
        lucifer I'm checking with it
      • 2023-02-28 05921, 2023

      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #2875 (03beta…MBS-12946): MBS-12946: Don't put Tooltip div inside span https://github.com/metabrainz/musicbrainz-server/…
      • 2023-02-28 05921, 2023

      • yvanzo
        hi bitmap: reosarevok is trying a quickfix for MBS-12946, do you think that we should merge your two last PRs at the same time?
      • 2023-02-28 05922, 2023

      • BrainzBot
        MBS-12946: Beta: Pending artist credits tooltip duplicated in entity header https://tickets.metabrainz.org/browse/MBS-12946
      • 2023-02-28 05925, 2023

      • reosarevok
        bitmap: ^
      • 2023-02-28 05950, 2023

      • reosarevok
        I think that's the best solution, but happy with alternative ones if you have better ideas
      • 2023-02-28 05917, 2023

      • reosarevok
        I'll take the time to have a quick dinner, BIAB
      • 2023-02-28 05928, 2023

      • reosarevok
        Feel free to take over that branch as needed
      • 2023-02-28 05947, 2023

      • Rishika has quit
      • 2023-02-28 05949, 2023

      • yvanzo
        I updated cron/dump containers already, and I’m wrestling with the blog post editor atm.
      • 2023-02-28 05919, 2023

      • Rishika joined the channel
      • 2023-02-28 05945, 2023

      • Rishika
        and is this the link that I can get a ticket to work on https://tickets.metabrainz.org/projects/LB/issues…
      • 2023-02-28 05945, 2023

      • BrainzBot
        LB-1216: Exporting playlists to Spotify fails with some playlists
      • 2023-02-28 05930, 2023

      • JasjeetSingh[m] joined the channel
      • 2023-02-28 05909, 2023

      • Rishika has quit
      • 2023-02-28 05909, 2023

      • monkey
        shelly: the pro-tip here is to set your browser developer console to disable cache while open. On chrome: https://usercontent.irccloud-cdn.com/file/PtjX6HL…
      • 2023-02-28 05915, 2023

      • monkey
        In the preferences of the devtools
      • 2023-02-28 05921, 2023

      • Rishika joined the channel
      • 2023-02-28 05905, 2023

      • Rishika
        mayhem Is this the repository for the web server https://github.com/metabrainz/listenbrainz-server/. that I need to set up locally
      • 2023-02-28 05925, 2023

      • kepstin joined the channel
      • 2023-02-28 05934, 2023

      • jivte has quit
      • 2023-02-28 05955, 2023

      • elomatreb[m] joined the channel
      • 2023-02-28 05945, 2023

      • bitmap
        yvanzo: my two PRs are mostly just to avoid Sentry spam (I think we may start seeing 10x more of the EntityLink ones once production is deployed)
      • 2023-02-28 05900, 2023

      • bitmap
        so it might be a good idea to deploy that one at least
      • 2023-02-28 05916, 2023

      • sol[m] joined the channel
      • 2023-02-28 05907, 2023

      • yvanzo
        I know it is just for that but we managed to break pages like this before :)
      • 2023-02-28 05904, 2023

      • yvanzo
        Since we will have to pass reo's patch through beta (even just for a few minutes for us to test), it seems fine to merge your two PRs.
      • 2023-02-28 05921, 2023

      • atj
        feels like someone should comment on LB-1216, it's over a month old
      • 2023-02-28 05921, 2023

      • BrainzBot
        LB-1216: Exporting playlists to Spotify fails with some playlists https://tickets.metabrainz.org/browse/LB-1216
      • 2023-02-28 05958, 2023

      • mayhem
        Rishika: yes
      • 2023-02-28 05900, 2023

      • Rishika
        mayhem Thank you, will be back with PR or possibly some doubts about the setup
      • 2023-02-28 05931, 2023

      • BrainzGit
        [listenbrainz-server] 14mayhem opened pull request #2372 (03master…explore-page): Explore page https://github.com/metabrainz/listenbrainz-server…
      • 2023-02-28 05956, 2023

      • jivte joined the channel
      • 2023-02-28 05929, 2023

      • yvanzo
        reosarevok: Do you need any help with the PR?
      • 2023-02-28 05911, 2023

      • reosarevok
        I'll be back in 5 minutes to check how's stuff:)
      • 2023-02-28 05919, 2023

      • Rishika has quit
      • 2023-02-28 05939, 2023

      • mayhem
        monkey: can I put the explore page on test.lb so that aerozol can play later?
      • 2023-02-28 05952, 2023

      • bitmap
        yvanzo: I'll merge mine to the beta branch then
      • 2023-02-28 05956, 2023

      • monkey
        Yep, go ahead
      • 2023-02-28 05902, 2023

      • mayhem
        k
      • 2023-02-28 05936, 2023

      • yvanzo
        👍
      • 2023-02-28 05916, 2023

      • reosarevok
        Now back
      • 2023-02-28 05919, 2023

      • monkey
        Thanks atj, will answer.
      • 2023-02-28 05933, 2023

      • monkey
        FWIW `ERROR:spotipy.client:HTTP Error for PUT to https://api.spotify.com/v1/playlists/451yxSGCHNUS… with Params: {} returned 400 due to You can add a maximum of 100 tracks per request.`
      • 2023-02-28 05957, 2023

      • atj
        seems reasonable :)
      • 2023-02-28 05928, 2023

      • reosarevok
        bitmap: inline-block seems fine. I had block because it's not like really inline, it's a tooltip, but still :)
      • 2023-02-28 05930, 2023

      • reosarevok
        Can change it
      • 2023-02-28 05938, 2023

      • yvanzo
        Go for it :)
      • 2023-02-28 05908, 2023

      • reosarevok
        I capitalize ContainerElement because we did the same in CollapsibleList, and I thought the reason we did there is because they're component-like? But maybe not
      • 2023-02-28 05932, 2023

      • mayhem
        monkey: https://test.listenbrainz.org/explore/ -- looks good on mobile too.
      • 2023-02-28 05940, 2023

      • mayhem
        now to make it actually work. :)
      • 2023-02-28 05942, 2023

      • reosarevok
        I understand the second suggestion is for tooltips to be always just span?
      • 2023-02-28 05945, 2023

      • reosarevok
        I can test it
      • 2023-02-28 05931, 2023

      • bitmap
        reosarevok: yeah if we can always use span that would simplify things a lot
      • 2023-02-28 05953, 2023

      • bitmap
        and make the capitalization irrelevant
      • 2023-02-28 05904, 2023

      • monkey
        mayhem: while you're at it: you can put all the cards in the same row, they'll wrap just fine and you'll avoid having blanks like this: https://usercontent.irccloud-cdn.com/file/aaGawDs…
      • 2023-02-28 05939, 2023

      • mayhem
        oh, right, the two columns are now a possibility
      • 2023-02-28 05909, 2023

      • BrainzGit
        [musicbrainz-server] 14mwiencek merged pull request #2870 (03beta…external-links-invariant-violation): Fix invariant violation submitting external links https://github.com/metabrainz/musicbrainz-server/…
      • 2023-02-28 05914, 2023

      • reosarevok
        bitmap: it works fine in the release rel editor tooltips at least
      • 2023-02-28 05926, 2023

      • reosarevok
        So if you see no reason why it could become a problem later on, seems fine
      • 2023-02-28 05910, 2023

      • bitmap
        I guess the only case would be when the content is a block-level element
      • 2023-02-28 05913, 2023

      • texke` joined the channel
      • 2023-02-28 05953, 2023

      • reosarevok
        Do we expect to have a block-level tooltip?
      • 2023-02-28 05900, 2023

      • reosarevok
        (rather than a popover)
      • 2023-02-28 05931, 2023

      • bitmap
        probably not. HelpIcon uses a <div> as the target but it's just to render an icon, I think it could easily be an inline-block span
      • 2023-02-28 05918, 2023

      • reosarevok
        Oh
      • 2023-02-28 05923, 2023

      • reosarevok
        I guess we should change that one
      • 2023-02-28 05944, 2023

      • bitmap
        I only see 5 uses of <Tooltip /> so they should be easy to check
      • 2023-02-28 05952, 2023

      • reosarevok
        Yeah
      • 2023-02-28 05954, 2023

      • yvanzo
        Not sure if the <span> issue is related but we should probably look into using ReactTooltip in the longer term, which BB and LB already use.
      • 2023-02-28 05906, 2023

      • reosarevok
        Never heard. What's better about it?
      • 2023-02-28 05933, 2023

      • yvanzo
        Not reinventing the wheel and having this kind of issue I hope.
      • 2023-02-28 05953, 2023

      • bitmap
        iirc I forked our implementation from khan academy but we've made quite a few changes at this point
      • 2023-02-28 05902, 2023

      • reosarevok
        bitmap: ButtonPopover has Popover which has Dialog which is a div
      • 2023-02-28 05932, 2023

      • Cronus1007 joined the channel
      • 2023-02-28 05945, 2023

      • bitmap
        that uses a portal though (so the dialog isn't rendered inline), I think it should be fine
      • 2023-02-28 05926, 2023

      • milkii has quit
      • 2023-02-28 05926, 2023

      • texke has quit
      • 2023-02-28 05926, 2023

      • Sophist-UK has quit
      • 2023-02-28 05927, 2023

      • d4rkie has quit
      • 2023-02-28 05928, 2023

      • monotux has quit
      • 2023-02-28 05929, 2023

      • nyaomi has quit
      • 2023-02-28 05934, 2023

      • milkii joined the channel
      • 2023-02-28 05934, 2023

      • Sophist-UK joined the channel
      • 2023-02-28 05934, 2023

      • d4rkie joined the channel
      • 2023-02-28 05934, 2023

      • monotux joined the channel
      • 2023-02-28 05934, 2023

      • nyaomi joined the channel
      • 2023-02-28 05951, 2023

      • Cronus1007 has quit
      • 2023-02-28 05907, 2023

      • BrainzGit
        [musicbrainz-server] 14mwiencek merged pull request #2871 (03beta…entitylink-name-variation-warning): ReleaseEventsDiff: Add missing nameVariation prop https://github.com/metabrainz/musicbrainz-server/…
      • 2023-02-28 05917, 2023

      • reosarevok
      • 2023-02-28 05942, 2023

      • mayhem
        monkey: explore page update, works as expected now.
      • 2023-02-28 05900, 2023

      • mayhem
        aerozol: https://test.listenbrainz.org/explore/ here is the first cut of the explore page as per your mock-up.
      • 2023-02-28 05910, 2023

      • reosarevok
        bitmap: heh, MBS-12948
      • 2023-02-28 05911, 2023

      • BrainzBot
        MBS-12948: Wrap long titles in release relationship editor https://tickets.metabrainz.org/browse/MBS-12948
      • 2023-02-28 05956, 2023

      • bitmap
        fun
      • 2023-02-28 05916, 2023

      • reosarevok
        https://github.com/metabrainz/musicbrainz-server/… if you want you could send a PR making them wrap, but it might be fine to release a fix next time, too
      • 2023-02-28 05930, 2023

      • reosarevok
        Not a particularly horrible thing to live with for 2 weeks
      • 2023-02-28 05941, 2023

      • mayhem
        when your mock-up didn't specify is how it should respond responsively -- monkey and I guessed at keeping the panels a constant size as per the image size that you set up. I've used the images from the figma when I could, but I had to create a couple of images because they were not part of the mock-up. Please review and let me know what else needs to be done to bring this up to your expectations.
      • 2023-02-28 05956, 2023

      • mayhem
        aerozol: ^^ also meant for you.
      • 2023-02-28 05933, 2023

      • bitmap
        reosarevok: I'll see how trivial it is. testing the toolip PR first
      • 2023-02-28 05940, 2023

      • BrainzGit
        [troi-recommendation-playground] 14amCap1712 opened pull request #93 (03main…playlist-export-fix): LB-1216: Fix exporting large playlists to spotify https://github.com/metabrainz/troi-recommendation…
      • 2023-02-28 05954, 2023

      • monkey
        !m lucifer
      • 2023-02-28 05954, 2023

      • BrainzBot
        You're doing good work, lucifer!
      • 2023-02-28 05958, 2023

      • yvanzo
        reosarevok: Added MBS-12946 to the blog post and split the lists as you suggested.
      • 2023-02-28 05959, 2023

      • BrainzBot
        MBS-12946: Beta: Pending artist credits tooltip duplicated in entity header https://tickets.metabrainz.org/browse/MBS-12946
      • 2023-02-28 05908, 2023

      • monkey
        I was just gathering some extra info to make your job easier :D
      • 2023-02-28 05902, 2023

      • BrainzGit
        [troi-recommendation-playground] 14amCap1712 merged pull request #90 (03main…dependabot/pip/spotipy-2.22.1): Bump spotipy from 2.20.0 to 2.22.1 https://github.com/metabrainz/troi-recommendation…
      • 2023-02-28 05954, 2023

      • monkey
        lucifer: One thing I wanted to point out is that currently that spotify endpoint returns a 400 error which doesn't seem to be caught, resulting in a 500 server error
      • 2023-02-28 05926, 2023

      • lucifer
        monkey: i see, will fix.
      • 2023-02-28 05932, 2023

      • monkey
        Thx
      • 2023-02-28 05912, 2023

      • yvanzo
        bitmap: I’m sure there potentially are thousands of trivial fixes :) but we don’t want to release at a later time than when we postponed yesterday :D
      • 2023-02-28 05928, 2023

      • bitmap
        yvanzo: I think it can wait for the next release for sure
      • 2023-02-28 05916, 2023

      • bitmap
        MBS-12946 doesn't seem like a showstopper either but we already have a fix, so
      • 2023-02-28 05917, 2023

      • BrainzBot
        MBS-12946: Beta: Pending artist credits tooltip duplicated in entity header https://tickets.metabrainz.org/browse/MBS-12946
      • 2023-02-28 05931, 2023

      • reosarevok
        I wanted to fix that one just because of how dumb it looks tbh :p
      • 2023-02-28 05937, 2023

      • reosarevok
        The wrapping one is not so bad in comparison
      • 2023-02-28 05943, 2023

      • BrainzGit
        [listenbrainz-server] 14mayhem closed pull request #2369 (03master…issue-LB-1229): LB-1229: Removed Double-escaped HTML entities in Blog https://github.com/metabrainz/listenbrainz-server…
      • 2023-02-28 05927, 2023

      • BrainzGit
        [troi-recommendation-playground] 14mayhem merged pull request #89 (03main…create-real-documentation): User/developer documentation https://github.com/metabrainz/troi-recommendation…
      • 2023-02-28 05917, 2023

      • yvanzo
        I agree, that was not a blocking bug but it was much more visible than the latest reported bug which is rather an edge case.
      • 2023-02-28 05903, 2023

      • reosarevok
        bitmap: ok, I'll squash the commits in that PR and make the commit message better then
      • 2023-02-28 05911, 2023

      • mayhem
      • 2023-02-28 05917, 2023

      • reosarevok
        bitmap, yvanzo: it's on the selenium queue - if you want we can wait, if you want we can merge if it passes circleci