#metabrainz

/

      • yvanzo
        Added pages, tabs, edit types…
      • 2022-06-14 16503, 2022

      • reosarevok
        I guess I can add a sentence "This will allow us to keep an edit history, with edit notes, so that we can see info and reasonings about genre editing later on"
      • 2022-06-14 16531, 2022

      • reosarevok
        Huh. But genre addition is only used by me :D I guess I can list "This will add the Add Genre, Edit Genre and Delete Genre edit types", if that seems useful?
      • 2022-06-14 16548, 2022

      • reosarevok
        I mean, I thought "it has edits now" was pretty much obvious
      • 2022-06-14 16551, 2022

      • reosarevok
        But I can do that
      • 2022-06-14 16522, 2022

      • reosarevok
        (like, I'm not trying to be annoying, I just don't see how it helps anyone to say "there's some changes to the edit genre page" if they can't test it anyway)
      • 2022-06-14 16528, 2022

      • rdswift has quit
      • 2022-06-14 16513, 2022

      • reosarevok
        yvanzo: Added a sentence to MBS-10165 and two tests
      • 2022-06-14 16514, 2022

      • BrainzBot
        MBS-10165: Allow using the edit system for genres https://tickets.metabrainz.org/browse/MBS-10165
      • 2022-06-14 16541, 2022

      • reosarevok
        (we don't seem to have any Controller::Delete tests at the moment, so I didn't add one here either, we should think what'd be a good way to test that if any)
      • 2022-06-14 16512, 2022

      • Pratha-fish
      • 2022-06-14 16513, 2022

      • Pratha-fish
        Let me know your email for edit access. :D
      • 2022-06-14 16544, 2022

      • rdswift joined the channel
      • 2022-06-14 16543, 2022

      • yvanzo
        reosarevok: Thanks! It’s not useful to beta testers indeed. Your added sentence is clear and useful to “figure out the reasoning behind changing” MBS “in the future”.
      • 2022-06-14 16522, 2022

      • alastairp
        Pratha-fish: ^
      • 2022-06-14 16535, 2022

      • yvanzo
        It also informs editors interested in genres which edits they will be able to search for, even though you’ll be the only one to enter these.
      • 2022-06-14 16540, 2022

      • chinmay
        lucifer: questions about SoC - How should we keep a track of the project? And say you want to test changes made by me locally how do we do that?
      • 2022-06-14 16501, 2022

      • reosarevok
        Sure :)
      • 2022-06-14 16543, 2022

      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2487 (03master…MBS-10165): MBS-10165: Allow using the edit system for genres https://github.com/metabrainz/musicbrainz-server/…
      • 2022-06-14 16550, 2022

      • reosarevok
        Thanks yvanzo :)
      • 2022-06-14 16510, 2022

      • reosarevok
        I'll release a new beta after we check the regression with annotations
      • 2022-06-14 16544, 2022

      • lucifer
        chinmay: for testing the changes, you can push the changes to a branch on your fork. i can pull those and run locally on my side. for keeping track of the project, we can maybe break down the full page into some subtasks like the card component, api calls, timeline ui component etc and maintain a checklist.
      • 2022-06-14 16517, 2022

      • lucifer
        but if you prefer to do it some other way that should be fine as well.
      • 2022-06-14 16537, 2022

      • yvanzo
        reosarevok: #2492 needs to be rebased after that merge.
      • 2022-06-14 16537, 2022

      • v6lur joined the channel
      • 2022-06-14 16555, 2022

      • reosarevok
        yvanzo: why change MBS-12456 to beta only? It was showing to me as well in prod, or did I check wrong?
      • 2022-06-14 16556, 2022

      • BrainzBot
        MBS-12456: Annotation revision page shows "old revision" for latest one https://tickets.metabrainz.org/browse/MBS-12456
      • 2022-06-14 16500, 2022

      • yvanzo
        reosarevok: Sorry for the back and forth changes to the tickets: I thought these were beta regressions from the PR #2564.
      • 2022-06-14 16508, 2022

      • reosarevok
        Oh
      • 2022-06-14 16520, 2022

      • reosarevok
        No worries
      • 2022-06-14 16525, 2022

      • yvanzo
        Do you have a link to a blank text annotation revision at hand?
      • 2022-06-14 16519, 2022

      • reosarevok
        No, I just created one
      • 2022-06-14 16527, 2022

      • reosarevok
        But one sec
      • 2022-06-14 16543, 2022

      • reosarevok
      • 2022-06-14 16504, 2022

      • yvanzo
        reosarevok: reviewed with comments
      • 2022-06-14 16506, 2022

      • reosarevok
        yvanzo: answered :)
      • 2022-06-14 16556, 2022

      • BrainzGit
        [musicbrainz-server] 14mwiencek opened pull request #2566 (03master…custom-hydration-event): Add custom hydration event for userscripts https://github.com/metabrainz/musicbrainz-server/…
      • 2022-06-14 16501, 2022

      • reosarevok
        bitmap: is that something you'd want in beta today?
      • 2022-06-14 16542, 2022

      • reosarevok
        If yvanzo is good with it, it seems fine to me to put it out to hopefully make sentry shut up :p
      • 2022-06-14 16544, 2022

      • reosarevok
        ROpdebee: ^ see that PR too :)
      • 2022-06-14 16555, 2022

      • bitmap
        well, I think the sooner the better so that userscripts can start making use of it
      • 2022-06-14 16520, 2022

      • reosarevok
        bitmap: what do you think about https://github.com/metabrainz/musicbrainz-server/… and the canCompare thing? Is it ok to have conditional state?
      • 2022-06-14 16554, 2022

      • bitmap
        maybe just make the selectedNew and selectedOld properties nullable and default them to null?
      • 2022-06-14 16510, 2022

      • skelly371 joined the channel
      • 2022-06-14 16557, 2022

      • reosarevok
        bitmap: you mean set to null if length < 2?
      • 2022-06-14 16513, 2022

      • reosarevok
        Because if I default them to null always the state will be bad in the beginning, right?
      • 2022-06-14 16514, 2022

      • bitmap
        right
      • 2022-06-14 16535, 2022

      • bitmap
        btw, you can pass three arguments like useReducer(reducer, annotations, createInitialState) and createInitialState will be passed annotations
      • 2022-06-14 16505, 2022

      • skelly37 has quit
      • 2022-06-14 16506, 2022

      • monotux has quit
      • 2022-06-14 16507, 2022

      • antlarr has quit
      • 2022-06-14 16501, 2022

      • antlarr joined the channel
      • 2022-06-14 16501, 2022

      • monotux joined the channel
      • 2022-06-14 16554, 2022

      • antlarr has quit
      • 2022-06-14 16510, 2022

      • reosarevok
        Is that better?);
      • 2022-06-14 16515, 2022

      • reosarevok
      • 2022-06-14 16520, 2022

      • reosarevok
        Doesn't seem worse than
      • 2022-06-14 16531, 2022

      • reosarevok
      • 2022-06-14 16553, 2022

      • antlarr joined the channel
      • 2022-06-14 16557, 2022

      • yvanzo
        reosarevok: About genre annotation, no SEARCH ticket has been added for (or for any MBS database schema change ticket actually).
      • 2022-06-14 16502, 2022

      • bitmap
        reosarevok: the point is that createInitialState is only run once instead of on every render (but it only really matters if you have a lot of state)
      • 2022-06-14 16529, 2022

      • reosarevok
        Oh
      • 2022-06-14 16510, 2022

      • skelly371 has quit
      • 2022-06-14 16542, 2022

      • yvanzo
        bitmap: Would it be worth pushing the hydration event to test.mb.o so that ROpdebee can test if it is usable?
      • 2022-06-14 16547, 2022

      • chinmay
        lucifer: i'm okay with the testing changes
      • 2022-06-14 16528, 2022

      • chinmay
        for keeping track, I was exploring github projects. I found it useful - https://github.com/users/chinmaykunkikar/projects…
      • 2022-06-14 16520, 2022

      • chinmay
        I can invite you and mayhem as collaborators
      • 2022-06-14 16558, 2022

      • lucifer
        chinmay: sure, sounds good.
      • 2022-06-14 16504, 2022

      • chinmay
        cool, i'll send you guys the invite then
      • 2022-06-14 16542, 2022

      • chinmay
        update: done
      • 2022-06-14 16553, 2022

      • bitmap
        yvanzo: I think it's fine to put it directly on beta, but I can deploy it to test first too
      • 2022-06-14 16550, 2022

      • bitmap is building the images now
      • 2022-06-14 16556, 2022

      • yvanzo
        It’s just to help ROpdebee with testing it if he doesn’t have a local dev server.
      • 2022-06-14 16547, 2022

      • bitmap
        test.mb is updated now
      • 2022-06-14 16521, 2022

      • Lotheric__ joined the channel
      • 2022-06-14 16512, 2022

      • }8]- joined the channel
      • 2022-06-14 16529, 2022

      • tykling_ joined the channel
      • 2022-06-14 16519, 2022

      • loujine_ joined the channel
      • 2022-06-14 16541, 2022

      • reosarevok
        yvanzo: SEARCH-680 then
      • 2022-06-14 16542, 2022

      • BrainzBot
        SEARCH-680: Index genre annotations https://tickets.metabrainz.org/browse/SEARCH-680
      • 2022-06-14 16515, 2022

      • reosarevok
        Added a comment to MBS-12311 - does that look good enough?
      • 2022-06-14 16516, 2022

      • BrainzBot
        MBS-12311: Allow adding annotations to genres https://tickets.metabrainz.org/browse/MBS-12311
      • 2022-06-14 16525, 2022

      • Lotheric_ has quit
      • 2022-06-14 16525, 2022

      • loujine has quit
      • 2022-06-14 16525, 2022

      • tykling has quit
      • 2022-06-14 16526, 2022

      • kgz has quit
      • 2022-06-14 16526, 2022

      • }8] has quit
      • 2022-06-14 16539, 2022

      • }8]- is now known as }8]
      • 2022-06-14 16525, 2022

      • yvanzo
        reosarevok: Thanks!
      • 2022-06-14 16545, 2022

      • kgz joined the channel
      • 2022-06-14 16508, 2022

      • yvanzo
        reosarevok: The PR is still mergeable :)
      • 2022-06-14 16503, 2022

      • reosarevok
        yvanzo: heh, found another React bug :)
      • 2022-06-14 16508, 2022

      • reosarevok
      • 2022-06-14 16514, 2022

      • reosarevok
      • 2022-06-14 16543, 2022

      • reosarevok
        It's trivial to just fix it to "work" like before, maybe I should just do that, even though it's stupid, but you only get there if you type it by hand, so
      • 2022-06-14 16555, 2022

      • reosarevok
        (that's just when the entity has never had an annotation, so there's no latest annotation to show)
      • 2022-06-14 16512, 2022

      • reosarevok
        Think I'll just submit that for now as an ISE fix, we can improve further later if desired
      • 2022-06-14 16543, 2022

      • yvanzo
        But this band never had any annotation anyway.
      • 2022-06-14 16535, 2022

      • yvanzo
        “you only get there if you type it by hand” - exactly
      • 2022-06-14 16509, 2022

      • reosarevok
        I mean, ideally it would probably say "This artist has no latest annotation", but it doesn't seem problematic, so yeah, I'll just fix the ISE
      • 2022-06-14 16537, 2022

      • yvanzo
        It’s not critical.
      • 2022-06-14 16555, 2022

      • yvanzo
        Just like displaying an annotation for another entity: https://musicbrainz.org/artist/6a0b0138-dc06-4d5c…
      • 2022-06-14 16503, 2022

      • reosarevok
      • 2022-06-14 16519, 2022

      • reosarevok
        yvanzo: heh. Ticket? :)
      • 2022-06-14 16533, 2022

      • reosarevok
        bitmap: wanna take a quick look at https://github.com/metabrainz/musicbrainz-server/… too?
      • 2022-06-14 16535, 2022

      • yvanzo
        “you only get there if you type it by hand”
      • 2022-06-14 16530, 2022

      • reosarevok
        Sure, I won't fix it now
      • 2022-06-14 16538, 2022

      • reosarevok
        But it should give a bad request or something :)
      • 2022-06-14 16556, 2022

      • reosarevok
        I can add it myself
      • 2022-06-14 16531, 2022

      • reosarevok
        To be fair, MusicBrainz Sound Team can be vocal idiots. At least me :D
      • 2022-06-14 16511, 2022

      • reosarevok
        yvanzo: added MBS-12458 for that
      • 2022-06-14 16512, 2022

      • BrainzBot
        MBS-12458: Annotation page for one entity can load annotation for another one https://tickets.metabrainz.org/browse/MBS-12458
      • 2022-06-14 16520, 2022

      • reosarevok
        I'll do it eventually, might as well :)
      • 2022-06-14 16513, 2022

      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2492 (03master…MBS-12311): MBS-12311: Allow adding annotations to genres https://github.com/metabrainz/musicbrainz-server/…
      • 2022-06-14 16521, 2022

      • yvanzo
        thanks
      • 2022-06-14 16529, 2022

      • bitmap
        reosarevok: I'm about to eat but I had a quick look earlier and it looked fine, so feel free to merge if you want to deploy it now (otherwise I can check in like an hour :))
      • 2022-06-14 16545, 2022

      • reosarevok
        Ok! :) I'll do that because I would like to release before bed :)
      • 2022-06-14 16500, 2022

      • reosarevok
        I'll also rebase the other genre PRs
      • 2022-06-14 16507, 2022

      • yvanzo
        Ok
      • 2022-06-14 16522, 2022

      • reosarevok
        yvanzo: should I merge https://github.com/metabrainz/musicbrainz-server/… too then? It shouldn't hurt, and we can always amend further if needed
      • 2022-06-14 16518, 2022

      • yvanzo
        We can always merge it when tested.
      • 2022-06-14 16552, 2022

      • reosarevok
        Ok then. jesus2099 ^ maybe you can make use of that too
      • 2022-06-14 16512, 2022

      • BrainzGit
        [musicbrainz-server] 14reosarevok merged pull request #2564 (03beta…annotation-react-fixes): MBS-12453 / MBS-12455 / MBS-12456: Annotation react fixes https://github.com/metabrainz/musicbrainz-server/…
      • 2022-06-14 16532, 2022

      • d4rk-ph0enix has quit
      • 2022-06-14 16533, 2022

      • d4rk joined the channel
      • 2022-06-14 16555, 2022

      • d4rk-ph0enix joined the channel
      • 2022-06-14 16500, 2022

      • d4rkie has quit
      • 2022-06-14 16526, 2022

      • BrainzGit
        [musicbrainz-server] 14mwiencek merged pull request #2566 (03beta…custom-hydration-event): Add custom hydration event for userscripts https://github.com/metabrainz/musicbrainz-server/…
      • 2022-06-14 16557, 2022

      • BrainzGit
        [musicbrainz-server] 14jesus2099 opened pull request #2567 (03master…mimic-os-tooltip-offset): MBS-12459. Mimic native tooltip position offset https://github.com/metabrainz/musicbrainz-server/…
      • 2022-06-14 16518, 2022

      • Lotheric__ has quit
      • 2022-06-14 16547, 2022

      • Lotheric joined the channel
      • 2022-06-14 16523, 2022

      • Lotheric has quit
      • 2022-06-14 16537, 2022

      • Lotheric joined the channel