#metabrainz

/

      • outsidecontext
        zas, skelly37: yes to a meeting in general, but today I'm unavailable. Something on Sunday or next Tuesday would work for me
      • zas
        I can't on Sunday, so Tuesday for me
      • lucifer
        monkey: yup makes sense šŸ‘
      • skelly37
        same as zas, Tuesday then.
      • zas
        outsidecontext: at which time? anything between 10am CET and 11pm CET fits me
      • alastairp
        welcome all new people who want to work with us!
      • monkey
        lucifer: I'm deploying #1899 to beta.LB as we discussed (fixed the merge issues)
      • lucifer
        sounds good
      • skelly37
        zas, outsidecontext: I'll be available since 5:30PM, because I have to attend classes until the end of April. So, besides weekends, I'm currently available evenings
      • monkey
        Ah, will have to do that locally I think, can't use the GH action to push a PR I think
      • skelly37
        UTC +1, forgot to mention
      • lucifer
        monkey: dev image action?
      • agatzk has quit
      • https://github.com/metabrainz/listenbrainz-serv... from BP-resign branch should work ?
      • monkey
        Ah, well yeah the branch and the PR are the same
      • duh
      • lucifer
        +41,566 āˆ’34,825 whoa!
      • !m monkey & akshaaatt
      • BrainzBot
        You're doing good work, monkey & akshaaatt!
      • monkey
        Hence the longer beta period ;)
      • I'll make a forum post to introduce the new player
      • lucifer
        awesome!
      • monkey
        Get some beta feedback
      • agatzk joined the channel
      • outsidecontext
        zas, skelly37: 5:30 would actually work for me. If that's to early something after 19:30 would be ok, too. Just not let it get too late :)
      • And we are all three same time zone, that should make things not too difficult :)
      • atj
        ok, that's another ansible role repo sorted, with GitHub CI working
      • turns out you can install Docker inside Docker
      • lucifer
        metadocker :P
      • atj
        it's docker all the way down!
      • Ansh
        lucifer: I’ve raised a PR for CB-416. I had a query. In case a user has username which is a uuid, and another person without an MB linked account has a same uuid. Then which user should we identify?
      • BrainzBot
        CB-416: Identify users by musicbrainz username, not uuid https://tickets.metabrainz.org/browse/CB-416
      • skelly37 has quit
      • skelly37 joined the channel
      • lucifer
        hmm, good question. i am unsure. alastairp thoughts?
      • while the chance of such a conflict is rare, we could probably use different path of the url for uuid and username?
      • alastairp
        Ansh: great question!
      • Ansh
        If we neglect this case, both the username and uuid works great in a single path.
      • alastairp
        I would consider this so rare that we don't need to worry about it. If it's a uuid, always check user uuid, and if not then check if it's a username
      • Ansh: I'm just finishing up a meeting, but then I'll send a review for this PR that you opened
      • lucifer
        sounds good
      • Ansh
        Ok, then I'll have to change some existing tests, where they are setting a username as uuid.
      • alastairp
        Ansh: I only wanted to comment 2 things: 1) we reuse this pattern of "check uuid, load user, otherwise if invalid then load username" - it'd be good to move this to a helper function so that we can reuse it everywhere
      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #2452 (03master…MBS-12246): MBS-12246: Enable Genius links for Labels as "lyrics" and Places as "other databases" https://github.com/metabrainz/musicbrainz-serve...
      • alastairp
        and 2) make sure that there are some basic tests - maybe the user page, we can load it with a uuid, a username, and also if the user is logged in and the page is for a different user (I think you have a different code path there that we should also test)
      • but I had a quick look at the PR last night and it looks great, well done!
      • Ansh
        Thanks :)
      • atj
        !m Ansh
      • BrainzBot
        You're doing good work, Ansh!
      • zas
        outsidecontext: ok for 17:30
      • monkey
        Updating beta.LB
      • skelly371 joined the channel
      • skelly371 has quit
      • outsidecontext
        zas, skelly37: ok, Tuesday 17:30 then?
      • skelly37
        Agreed
      • mayhem sighs at support@
      • mayhem
        !m lucifer
      • BrainzBot
        You're doing good work, lucifer!
      • monkey
      • Dijia has quit
      • mayhem
      • wow, harsh.
      • that page looks great monkey
      • monkey
        Neat, thanks !
      • mayhem just wants a thousands , separator in listen count
      • Yeah, I agree
      • monkey brushes up on decimal separators and locales
      • BrainzGit
        [bookbrainz-site] 14payyup opened pull request #803 (03master…identifier-editor): feat(editor): Move the identifier editing to be part of the main editing flow https://github.com/metabrainz/bookbrainz-site/p...
      • akshaaatt
        monkey re: the redirect PR, I'm unsure of how the current homepage would be visible for a logged in user. A menu item in nav?
      • lucifer
        monkey: oh that's one thing i know about. (learnt about it while fixing artist map counts) can do that if you want? :)
      • akshaaatt
        I remember discussing with you saying that we'll hault any UX changes after BP redesign to LB until the sidenav
      • lucifer
        mayhem: oh well. lol. i guess we can add 1-2 line description to the page at lb.org/recent to make such confusion less likely.
      • akshaaatt
        Also regarding the bp redesign, we need to get rid of the extra footer bottom margin for pages that don't have the BP
      • atj
        looks great! I think "See profile on" should be "See your profile on"
      • "View your profile on" might be better
      • agatzk has quit
      • akshaaatt
        atj: good point but we use the "See profile on" wording for other user's profile page as well. So if you visit their profile then also the term is valid
      • atj
        akshaaatt: it doesn't really make sense at the moment, I think you need two different wordings for the user vs. another user in that case
      • agatzk joined the channel
      • lucifer
        we could probably word acc. to logged in user.
      • yeah that ^
      • monkey
        akshaaatt: Ah my bad, I have patchy memory.
      • atj
        also, I have a pointless scrollbar on the sidebar: https://i.ibb.co/v4T4dkt/Screenshot-2022-03-11-...
      • due to my lack of follows
      • monkey
        lucifer: Sure, if you want to throw that in be my guest :)
      • atj
        *followers
      • lucifer
        šŸ‘
      • monkey
        Thanks atj
      • akshaaatt
        Thanks for the feedback atj. I think we should make these updates
      • atj
        and the shadows between elements without whitespace makes it a bit incoherent
      • sorry, I'm being picky
      • could the right hand column follow as you scroll down the page?
      • akshaaatt
        ++
      • I think that'll be good
      • agatzk has quit
      • agatzk joined the channel
      • monkey
        I'd have to see if that works OK for mobile devices
      • But the thought did occur
      • agatzk has quit
      • akshaaatt
        mayhem: reosarevok Freso I'm planning to keep our LinkedIn page active because I've noticed that a lot of people prefer it these days and it'll be a great way to share about social updates to the organization. In order to start with the posts, I'm thinking that a GSoC 2022 acceptance post can be a good first post there. Any thoughts?
      • monkey
        Huh, I'm getting 502s from the spotify API when BrainzPlayer hits their search endpoint
      • agatzk joined the channel
      • lucifer
        monkey: oops, i was wrong. d3 always defaults to en-US locale. apparently the artist map fix worked fine in all locales because the format specifier used was like that. for listen count, this will result in wrong locale. :(
      • oh but maybe i can do without d3.
      • monkey: i noticed something weird, ListenCountCard isn't used anywhere it seems :/ . the listens page isn't using it but rendering the count directly. is that correct?
      • monkey
        lucifer: Oh huh, didn't know we had a ListenCountCard.
      • lucifer
        ah!
      • monkey
        For the decimal separator, I think simply `number.toLocaleString()` should be enough
      • (and well supported in browsers)
      • lucifer
        i see, sounds good.
      • monkey
        Yeah, I see the component, not sure when we last used that, i don't remember it at all
      • Aug 2020
      • lucifer
        i was earlier thinking in terms of d3 because that's what is used by nivo charts. 🤦 toLocaleString should work
      • let's remove this component then?
      • monkey
        I guess? Although it looks better than what I put on the listens page: https://user-images.githubusercontent.com/33172...
      • lucifer
        oh that does look better. how about starting to use this component ?
      • maybe also add a case to show better text when no listens instead you have listened to 0 listens.
      • monkey
        Yes to all that. I'd rather do it in a separate PR though, that one's big enough as it is :p
      • lucifer
        cool, i'll open a separate PR
      • based on BP redesign.
      • monkey
        šŸ‘ thanks
      • Dijia joined the channel
      • akshaaatt
        Freso: could you have a look at the hyperlinks to mentors at https://wiki.musicbrainz.org/Development/Summer... because all links seem to be redundant for me
      • Ah I see that the endpoints have changed
      • trolley has quit
      • lucifer
        [Warning] One or more build-args [GIT_COMMIT_SHA] were not consumed
      • oh lol, how many times will we fix this
      • trolley joined the channel
      • trolley has quit
      • trolley joined the channel
      • trolley has quit
      • trolley joined the channel
      • Dijia has quit
      • Dijia joined the channel
      • BrainzGit
        [listenbrainz-server] 14amCap1712 opened pull request #1900 (03brainzplayer-redesign…format-listen-count): Use ListenCountCard component https://github.com/metabrainz/listenbrainz-serv...
      • trolley has quit
      • agatzk has quit
      • agatzk joined the channel
      • trolley joined the channel
      • trolley has quit
      • trolley joined the channel
      • mayhem
      • alastairp
        coooool. is it fast?
      • mayhem
        I think I am going extend it to run both exact and non-exact queries at the same time....
      • ... so I can figure out if it is fast enough.
      • it gets slower the lower the threshold is set.
      • alastairp
        understandable
      • mayhem
        .1 and it chugs for quite some time.
      • .5 seems ok.