#metabrainz

/

      • monkey
        akshaaatt: It would be good to have all the importable BS5 files in the bootstrap-generic.scss file and comment them out if we don't want to import them.
      • 2022-06-01 15223, 2022

      • monkey
        The first thing I did was look in that file to see if I had to uncomment a line, but didn't even think that there were some imports missing
      • 2022-06-01 15233, 2022

      • monkey
        Good find though, that's an easy fix
      • 2022-06-01 15259, 2022

      • akshaaatt
        Makes sense monkey
      • 2022-06-01 15231, 2022

      • monkey
        I'm going to review #2005 now anyway since I can just define that one class manually.
      • 2022-06-01 15242, 2022

      • akshaaatt
        Amazing
      • 2022-06-01 15253, 2022

      • BrainzGit
        [listenbrainz-server] 14amCap1712 merged pull request #2008 (03master…show-feedback-mbid): Show feedback based on mbids on Frontend https://github.com/metabrainz/listenbrainz-server…
      • 2022-06-01 15220, 2022

      • chinmay
        mayhem: yes, sounds good to me :)
      • 2022-06-01 15246, 2022

      • mayhem
        great.
      • 2022-06-01 15205, 2022

      • mayhem
        I am working on the query to fetch the data now. a fun challenge to fetch this data.
      • 2022-06-01 15223, 2022

      • chinmay
        alastairp: oh wow! I'm going to need a better quality version of that picture please
      • 2022-06-01 15217, 2022

      • chinmay
        mayhem: haha I'll enjoy reading it then
      • 2022-06-01 15211, 2022

      • mayhem
      • 2022-06-01 15216, 2022

      • mayhem
        far from done yet. :)
      • 2022-06-01 15254, 2022

      • BrainzGit
        [design-system] 14akshaaatt opened pull request #78 (03master…bootstrap-positions): Fix bootstrap imports to include positions classes https://github.com/metabrainz/design-system/pull/…
      • 2022-06-01 15222, 2022

      • BrainzGit
        [design-system] 14akshaaatt merged pull request #78 (03master…bootstrap-positions): Fix bootstrap imports to include positions classes https://github.com/metabrainz/design-system/pull/…
      • 2022-06-01 15257, 2022

      • chinmay
        mayhem: I'll check it out
      • 2022-06-01 15205, 2022

      • chinmay
        monkey: mayhem: akshaaatt: I was able to setup stylelint+prettier locally last night
      • 2022-06-01 15218, 2022

      • chinmay
        In LB
      • 2022-06-01 15240, 2022

      • akshaaatt
        That sounds great chinmay! Have you made a PR for the same which we could review?
      • 2022-06-01 15227, 2022

      • jesus2099 joined the channel
      • 2022-06-01 15206, 2022

      • chinmay
        No not yet, it needs some testing because after setting up that I also added a webpack plugin for that.
      • 2022-06-01 15206, 2022

      • chinmay
        And I don't know what went wrong (or right), but something started formatting ~35 *.tsx files😂
      • 2022-06-01 15233, 2022

      • jesus2099
        Bonjour !
      • 2022-06-01 15203, 2022

      • mayhem
      • 2022-06-01 15221, 2022

      • alastairp
        monkey: mayhem beat you to it
      • 2022-06-01 15235, 2022

      • jesus2099
        reosarevokHello, do you know if React was updated on beta server ?
      • 2022-06-01 15236, 2022

      • jesus2099
        I don't see it as part of the 18 current beta tickets.
      • 2022-06-01 15236, 2022

      • jesus2099
        But I have a new React behaviour with some of my userscripts.
      • 2022-06-01 15237, 2022

      • alastairp
        proposalception
      • 2022-06-01 15242, 2022

      • jesus2099
        reosarevok:
      • 2022-06-01 15243, 2022

      • jesus2099
        Hello, do you know if React was updated on beta server ?
      • 2022-06-01 15243, 2022

      • jesus2099
        I don't see it as part of the 18 current beta tickets.
      • 2022-06-01 15244, 2022

      • jesus2099
        But I have a new React behaviour with some of my userscripts.
      • 2022-06-01 15251, 2022

      • monkey
      • 2022-06-01 15253, 2022

      • alastairp
        salut jesus2099
      • 2022-06-01 15200, 2022

      • monkey
        chinmay * ^
      • 2022-06-01 15202, 2022

      • jesus2099
        Hi alastairp !
      • 2022-06-01 15207, 2022

      • reosarevok
        jesus2099: yeah, to v18
      • 2022-06-01 15220, 2022

      • mayhem hopes that jesus2099 and lucifer will get along again
      • 2022-06-01 15234, 2022

      • reosarevok
        bitmap: can you make a ticket? Seems useful for at least userscript people ^
      • 2022-06-01 15242, 2022

      • jesus2099
        I am fearing that this new version would completely prevent userscripts on "hydrated" zones.
      • 2022-06-01 15242, 2022

      • jesus2099
      • 2022-06-01 15206, 2022

      • lucifer
        🤣
      • 2022-06-01 15212, 2022

      • jesus2099
        mayhem: Ha ha, seems Lucifer is lots of fun
      • 2022-06-01 15219, 2022

      • chinmay
        akshaaatt: monkey: mayhem: I also came across an interesting package - https://www.npmjs.com/package/lint-staged. It will lint staged files before committing them.
      • 2022-06-01 15219, 2022

      • monkey
        chinmay: auto-formatting z lot of files sounds about right for prettier. I guess that's what its job is :) You can probably configure it to not auto-fix files and instead report issues it finds (but that's less useful IMO)
      • 2022-06-01 15223, 2022

      • chinmay
        mayhem: lmao
      • 2022-06-01 15231, 2022

      • chinmay
        monkey: THANK YOU!
      • 2022-06-01 15248, 2022

      • reosarevok
        jesus2099: hmm. Maybe bitmap can check if there's a thing we can do about that. hydrate did change
      • 2022-06-01 15212, 2022

      • BrainzGit
        [design-system] release 031.0.9 has been published by 14akshaaatt: https://github.com/metabrainz/design-system/relea…
      • 2022-06-01 15220, 2022

      • jesus2099
        reosarevok:
      • 2022-06-01 15221, 2022

      • jesus2099
        The problem may come from:
      • 2022-06-01 15221, 2022

      • jesus2099
        > **StrictMode** has been enabled on all hydrated elements
      • 2022-06-01 15222, 2022

      • jesus2099
        It sounds… **strict,** to me. ;-)
      • 2022-06-01 15246, 2022

      • jesus2099
        But maybe there will be a work-around. I will think of that later.
      • 2022-06-01 15248, 2022

      • chinmay
        monkey: formatting is great but it's a job for eslint not stylelint. I'm looking into it, understanding webpack works :p
      • 2022-06-01 15248, 2022

      • chinmay
        Will update you later
      • 2022-06-01 15215, 2022

      • monkey
        Ahh, I see the issue.
      • 2022-06-01 15233, 2022

      • monkey
        But prettier formats all kinds of file extensions
      • 2022-06-01 15243, 2022

      • monkey
        So maybe look in the direction of prettier config
      • 2022-06-01 15212, 2022

      • monkey
        If you want it to only touch css/less files you probably need to specifically configure it so
      • 2022-06-01 15233, 2022

      • chinmay
        I haven't set up any .prettierrc. only have .eslintrc and .stylelintrc atm
      • 2022-06-01 15236, 2022

      • jesus2099
        reosarevok: some time ago you asked me about a new kind of errors that my Vivaldi would trigger a lot:
      • 2022-06-01 15236, 2022

      • jesus2099
        Uncaught (in promise) Error: The message port closed before a response was received.
      • 2022-06-01 15237, 2022

      • jesus2099
        Well it's a known error, not due to userscripts:
      • 2022-06-01 15237, 2022

      • jesus2099
      • 2022-06-01 15238, 2022

      • jesus2099
        It's incredible, I generate these errors once each time I press space bar!
      • 2022-06-01 15238, 2022

      • jesus2099
      • 2022-06-01 15204, 2022

      • akshaaatt
        Now that we are talking about prettier, monkey could you please review https://github.com/metabrainz/design-system/pull/… ?
      • 2022-06-01 15206, 2022

      • jesus2099
        Maybe you want to keep these info and links in some MBS ticket.
      • 2022-06-01 15214, 2022

      • chinmay
        monkey: yeah, I got it. Let's see
      • 2022-06-01 15234, 2022

      • reosarevok
        jesus2099: not a bad idea. Could you make one? :)
      • 2022-06-01 15240, 2022

      • monkey
        Is the workflow now working for LB#77 akshaaatt ?
      • 2022-06-01 15241, 2022

      • BrainzBot
      • 2022-06-01 15242, 2022

      • reosarevok
        (I'm on the phone)
      • 2022-06-01 15221, 2022

      • jesus2099
        reosarevok: no problem but do you remind where you saw these errors on your side, although they are supposed to be only local errors in my javascript console?
      • 2022-06-01 15230, 2022

      • jesus2099
        So I mention it in the ticket
      • 2022-06-01 15233, 2022

      • reosarevok
        In sentry
      • 2022-06-01 15240, 2022

      • monkey
        Err… DS#77 I meant
      • 2022-06-01 15243, 2022

      • akshaaatt
        Noi monkey
      • 2022-06-01 15205, 2022

      • akshaaatt
        There's some problem with keeping `**` in the ignore files
      • 2022-06-01 15216, 2022

      • jesus2099
        reosarevok: sentry! Thanks
      • 2022-06-01 15227, 2022

      • monkey
        I was waiting for it to be fixed before reviewing :)
      • 2022-06-01 15237, 2022

      • monkey
        Want me to have a go at it?
      • 2022-06-01 15252, 2022

      • chinmay
        and someone please tell me `listenbrainz/webserver/static/css/theme/"BOOSTRAP"` was an accident
      • 2022-06-01 15200, 2022

      • monkey
        BrainzBot: GH:DS=design-system
      • 2022-06-01 15200, 2022

      • BrainzBot
        Successfully stored the repo design-system as DS for Github lookups
      • 2022-06-01 15206, 2022

      • monkey
        DS#77
      • 2022-06-01 15207, 2022

      • BrainzBot
        Add prettier and Setup Lint GitHub workflow: https://github.com/metabrainz/design-system/pull/…
      • 2022-06-01 15212, 2022

      • monkey
        There you go.
      • 2022-06-01 15216, 2022

      • mayhem
        👻
      • 2022-06-01 15221, 2022

      • monkey
        chinmay: That does look odd.
      • 2022-06-01 15243, 2022

      • akshaaatt
        Noicee
      • 2022-06-01 15253, 2022

      • akshaaatt
        Boozestrap would have been better
      • 2022-06-01 15207, 2022

      • jesus2099
        I have to go, bye bye. See you soon. :)
      • 2022-06-01 15225, 2022

      • chinmay
        It's "boostrap" instead of "bootstrap". I spend 40minutes wondering why wasin't the config ignoring the bootstrap directory
      • 2022-06-01 15238, 2022

      • jesus2099 has quit
      • 2022-06-01 15242, 2022

      • monkey
        Where do we have that?
      • 2022-06-01 15251, 2022

      • chinmay
        I laughed when I realized what happened xD
      • 2022-06-01 15253, 2022

      • chinmay
        LB
      • 2022-06-01 15212, 2022

      • monkey
        I suspect it would be this monkey's fault.
      • 2022-06-01 15225, 2022

      • akshaaatt
        Hahahahaha
      • 2022-06-01 15247, 2022

      • akshaaatt
        5 years and no one realized
      • 2022-06-01 15248, 2022

      • chinmay
        hahaha
      • 2022-06-01 15253, 2022

      • chinmay
        IKR?
      • 2022-06-01 15255, 2022

      • chinmay
      • 2022-06-01 15205, 2022

      • chinmay
        It's here since 2017 at least
      • 2022-06-01 15230, 2022

      • monkey
        Yeah, actually not this monkey !
      • 2022-06-01 15237, 2022

      • chinmay
        Yeah it's not
      • 2022-06-01 15242, 2022

      • chinmay
        :D
      • 2022-06-01 15200, 2022

      • monkey
        🙊
      • 2022-06-01 15212, 2022

      • chinmay
        phew
      • 2022-06-01 15228, 2022

      • chinmay
        Should I refactor that?
      • 2022-06-01 15248, 2022

      • monkey
        Yep
      • 2022-06-01 15255, 2022

      • mayhem keeps his mouth shut
      • 2022-06-01 15201, 2022

      • chinmay
        lol
      • 2022-06-01 15214, 2022

      • mayhem
        I mean, why fix it now? We apparently liked it!
      • 2022-06-01 15221, 2022

      • monkey
        Woudl'nt want to throw you under the bus(trap)
      • 2022-06-01 15242, 2022

      • zas
        alastairp: flobot (new server) is ready, it is syncing md raid for next 3 hours, so it will be slow until it finished, but otherwise you can start to play with it
      • 2022-06-01 15252, 2022

      • alastairp
        merçi!
      • 2022-06-01 15229, 2022

      • monkey
      • 2022-06-01 15223, 2022

      • zas
        :D
      • 2022-06-01 15254, 2022

      • monkey
        akshaaatt: Found another small thing on the footer: this links to the MB-server repo instead of LB: https://usercontent.irccloud-cdn.com/file/0ha8j5q…
      • 2022-06-01 15219, 2022

      • akshaaatt
        XD. Fixing
      • 2022-06-01 15236, 2022

      • ansh
        monkey: Can we discuss about the project now?
      • 2022-06-01 15251, 2022

      • monkey
        Sure thing !
      • 2022-06-01 15202, 2022

      • alastairp
        hello
      • 2022-06-01 15209, 2022

      • monkey
        So, first of all, I just wanted to say I'm pretty excited about the project :)
      • 2022-06-01 15228, 2022

      • ansh
        I am also very exited
      • 2022-06-01 15239, 2022

      • monkey
        Talking with alastairp and looking at your project timeline in detail, we agree with how it is currently laid out.
      • 2022-06-01 15259, 2022

      • monkey
        To recap, the project breaks down into three main parts. As we discussed before, we think it would be best to add all the functionality for one BB entity first (Edition Groups):
      • 2022-06-01 15206, 2022

      • monkey
        First part: implement the EditionGroup entity in CB (BB database connection, ORM model, review interface, API endpoint)
      • 2022-06-01 15223, 2022

      • ansh
        Yes
      • 2022-06-01 15226, 2022

      • monkey
        Second part: implement CB support In BB (A. reading: fetch reviews from CB API, display reviews on entity page; B. writing: login to CB Oauth, front-end interface for writing and submitting reviews)
      • 2022-06-01 15246, 2022

      • monkey
        Third part: extend the work above to other BB entities as defined in your proposal. Based on the project being a full length project now, and the speed at which you are working ;) , we think this should be part of the project proper rather than an extended goal. Does that seem reasonable to you?
      • 2022-06-01 15200, 2022

      • ansh
        yes
      • 2022-06-01 15215, 2022

      • monkey
        OK, that's it for the broad overview then :)
      • 2022-06-01 15220, 2022

      • monkey
        Do you have any questions or doubts about the project or the timeline that you’d like to discuss now?
      • 2022-06-01 15239, 2022

      • ansh
        I have started working with the project. Just have some questions
      • 2022-06-01 15246, 2022

      • monkey
        Shoot !
      • 2022-06-01 15206, 2022

      • odnes_ joined the channel
      • 2022-06-01 15209, 2022

      • ansh
        what if the BBID is equal to MBID. In this case, a user won’t be able to write reviews. Either we create another column in our reviews table to check if review is for MB or BB?
      • 2022-06-01 15228, 2022

      • monkey
        UUID collision should not really happen, in theory
      • 2022-06-01 15241, 2022

      • alastairp
        if it does, the internet is going to have a _really_ bad day
      • 2022-06-01 15247, 2022

      • monkey
        Let's say the chances are small enough that I think we can ignore the problem
      • 2022-06-01 15258, 2022

      • ansh
        Okay
      • 2022-06-01 15223, 2022

      • odnes has quit
      • 2022-06-01 15243, 2022

      • ansh
        For edition group page we should show the series, So, I’ll also have to fetch series, from the db, and show it. And also allowing reviewing its entities.
      • 2022-06-01 15237, 2022

      • ansh
        So should I skip series temporary? Or should I also do it parallelly?