#metabrainz

/

      • wargreen joined the channel
      • HenryG has quit
      • HenryG joined the channel
      • Lotheric has quit
      • Lotheric_ joined the channel
      • Lotheric_ has quit
      • Lotheric joined the channel
      • MRiddickW has quit
      • ritiek joined the channel
      • BrainzGit
        [musicbrainz-server] 14y-young opened pull request #2219 (03master…MBS-3774): MBS-3774: Add URL with begin and end dates https://github.com/metabrainz/musicbrainz-serve...
      • yvanzo
        mo’’in’
      • reosarevok
        moin!
      • bitmap: almost done with flow for guess case handlers, but:
      • (that's from your recent fix and it works nicely I think, but flow doesn't like it)
      • BrainzGit
        [musicbrainz-server] 14reosarevok opened pull request #2220 (03master…guess-case-refactoring-part-2): MBS-11805 (II): More guess case refactoring and flow types https://github.com/metabrainz/musicbrainz-serve...
      • reosarevok
        Pushed the branch in case you want to play with it ^
      • yyoung[m]
        yvanzo: Good morning! I've finished most of MBS-3774 implementation, rebased MBS-9902 and roughly finished refactoring, now testing.
      • BrainzBot
        MBS-3774: Add URL relationship with begin and end dates https://tickets.metabrainz.org/browse/MBS-3774
      • MBS-9902: Support auto-select/cleanup/validation of more than one relationship type for external links https://tickets.metabrainz.org/browse/MBS-9902
      • yyoung[m]
        I'm thinking whether we can remove the 'Type:' label, because text will overflow when relationship name is too long, since we have date period next to it; or we may display date period in the next line.
      • yvanzo
        yyoung[m]: Using 'display' attribute (inline-block or something) should keep it on the same line if possible, and automatically move it to the next line if needed.
      • Good job with opening PR for begin/end date :)
      • yyoung[m]
        yvanzo: Yes that's what it already is, but auto wrap doesn't look good to me.
      • yyoung[m] uploaded an image: (23KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/IRTZkRiMLLCFgdudMxtwlTus/image.png >
      • yvanzo
        There should be a way to prevent breaking lines in the middle of dates.
      • yyoung[m] uploaded an image: (23KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/NUHySqUGoZfEzvEWpAzfPbVK/image.png >
      • yyoung[m]
        OK so here is 'white-space: nowrap' ^
      • Looks good now, thank you.
      • yvanzo
        Should work here since column’s width here is much larger than date range. :)
      • (Otherwise we would need a React version of formatUserDate)
      • yyoung[m]
        What do you mean?
      • yvanzo
        If we wanted the line break to occur in between begin date and end date (which is not what we want because of column’s width is large enough for a date range), we would need formatUserDate to include HTML tags (as React elements).
      • yyoung[m]
        So is the image above the intentional effect?
      • yvanzo
        Yes :)
      • yyoung[m]
        OK then :)
      • yvanzo
        That was not my initial thought, but it’s much better actually. :)
      • yyoung[m]
        Same to me :)
      • yvanzo
        reosarevok: I spotted a few issues with localization messages, do you have time to discuss them?
      • yyoung[m]
        It's nice that we don't need another row or grid layout
      • ruaok
        mooooooin!
      • Toasty joined the channel
      • reosarevok
        yvanzo: sure
      • yvanzo
        reosarevok: Ok, I did not translate server resources for a few releases.
      • First issue is with added curly quotes in root/search/error/General.js
      • It seems it has the same role as existing parenthesis.
      • So parenthesis look like being part of the query.
      • reosarevok
        Let me see
      • yvanzo
      • reosarevok
        Oh, so you think we should have just one or the other
      • Seems sensible to me - which one do you prefer?
      • yvanzo
        Actually, it's older than current beta: https://github.com/metabrainz/musicbrainz-serve...
      • reosarevok
        Yeah, that's quite old
      • yvanzo
        Actually, you changed straight quotes with curly quotes in https://github.com/metabrainz/musicbrainz-serve...
      • So the previous version was even worse :D
      • reosarevok
        Oh
      • Yeah, some had no quotes at all, some had straight quotes
      • yvanzo
        Query may include either parenthesis or (straight quotes), so I’m not sure what would be the best delimiter.
      • The <code> tag could be moved into the query placeholder too.
      • reosarevok: curly quotes are probably the best delimiter as they should look different enough from potential straight quotes in monospace.
      • reosarevok
        I'm fine with that - wanna send a PR?
      • I can also do it myself I guess if you prefer
      • yyoung[m]
        May I ask why MB is using curly quotes instead of straight quotes? In my memory English uses straight ones :)
      • reosarevok
        yyoung[m]: no, typewriters do :)
      • Proper English uses curly
      • yvanzo
        reosarevok: Ok, will do. There are 4 messages with similar quoted query. Will apply the same changes.
      • reosarevok
        Thanks <3
      • Did you have more strings that seemed weird?
      • yyoung[m]
        OK so let must be the old school thing we learnt :D
      • reosarevok
        https://wiki.musicbrainz.org/User:Jacobbrett/En... is something I've always found useful :)
      • In most cases it doesn't matter, really, but since we prefer the unicode punctuation on titles and names, it makes sense to try to use it elsewhere too
      • (we aren't super consistent with it rn)
      • yyoung[m]
        Yes I ran into that days before and did some research :)
      • yvanzo
        reosarevok: Yes, other one is “Cleaned up to”. When reading it as a translator, it seemed weird, probably not clear enough.
      • yyoung[m]
        But curly quotes will cause problems under certain font, since it's wider
      • yvanzo
        Many people got confused with “raw”, “clean”, “old”, “new” URLs.
      • reosarevok
        Hmm. Not sure what would be better. Original: vs Cleaned up version:? But it's still not too obvious for translators, so maybe specify a context
      • yvanzo
        It looks like these terms are not self-explanatory and were originally used in code (where there is a context).
      • yyoung[m]
        +1 For translator problems, some expressions just don't make sense in other languages
      • yvanzo
        This “clean-up” is actually formatting/normalizing URLs. Would that be more telling to non-coders? (Or the opposite? :/ )
      • reosarevok
        yvanzo: is "processed" better? Or "normalized", yeah
      • yvanzo
        “processed” doesn’t explain the goal of the process
      • CatQuest
        yvanzo: yyoung[m]: actually I still think it would be beneficiary if the box didn't turn into a link but insteadstayed a box. then the pencilbox or whatever with he "pasted" and "normalised" could both be links/text instead
      • that's consistent with how it already works and doesn't break workflow that depends on pasting from two sources (eg how i do instrument statickbrainz image links)
      • furtherore i invite you to try this aproach and to ask users wich they prefer
      • yyoung[m]
        CatQuest: Do you mean the raw URL is displayed as link in the popover instead of the editor?
      • CatQuest
        yyoung[m]: Yes indeed!
      • yyoung[m]
        Our main concerns about this before are related to highlights
      • CatQuest
      • and this is what happens if itry adding static brainz image links https://usercontent.irccloud-cdn.com/file/AblTb...
      • yvanzo
        CatQuest: Please be more specific about how it does “break workflow”.
      • CatQuest
        because I do this by copying the first part from a text/stick and the second part (the one that varies) from typed text to reosarevok
      • so i'll have to click pencils every time instead
      • as a result i'm using prod right now
      • yyoung[m]
        CatQuest: I'm sorry about the icons in your browser, I can't reproduce that here, I'll try Firefox some day
      • yvanzo
        First part? second part?
      • CatQuest
        of the url
      • yvanzo
        Please give all the details.
      • yyoung[m]
        It would be great if you can provide some details, e.g. using element inspector
      • CatQuest
        what?
      • yvanzo
        No need of element inspector
      • Bring a full example please.
      • yyoung[m]
        yvanzo: IIUC he means he'll paste all the links of the same site, and change the path later
      • CatQuest
        look I've been trying to be constructive here but you're bulldozing your way. this "nitpick" thing is osmething you're doing in order totake up my time and i orker ikke. talk to reosarevok
      • yyoung[m]
        And I was talking about the display issues :)
      • yvanzo
        yyoung[m]: I understood that, but we need a full example to reproduce the issue.
      • CatQuest
        yyoung[m]: forget the dispaly issues
      • and yyoung[m] is right
      • yvanzo
        Asking for example is not nitpicking.
      • CatQuest
        i copy one part of the static url https://staticbrainz.org/irombook/ for ma stick or text box and the variable (for example bullhorn/bullhorn.png) from text pasted to reosarevok
      • so i am sure i use the exact name i uploads it in
      • he uploads it as*
      • yvanzo
        reosarevok: would it be easy for you to pass the full URL to CatQuest instead?
      • CatQuest
        I fukcing knew that your responce woudl be "do it differntly" I've ha enough of this
      • CatQuest has left the channel
      • yvanzo
        reosarevok, yyoung[m]: Do you want to pause now?
      • reosarevok
        I wasn't actively doing anything so I don't need to pause it, but :)
      • yyoung[m]
        Pause what? :)
      • reosarevok
        Anyway, I'm not copying the URLs to catcat. He's telling me "upload this file as x/x.png", then he copies the string he told me to his link
      • (since the way that works is that I follow the folder structure he asks for when uploading to https://github.com/metabrainz/irombook-instrume...)
      • *they, sorry :)
      • The idea being, IIRC, that then the URL can be added even before staticbrainz has started serving it and it will just work as soon as it's ready
      • CatQuest joined the channel
      • CatQuest
        look the reason it doesn't work for him to "pass me the full url" is because i edit or add the instrument at the same tyme i type the "upload the image as " text to reosarevok, and he is not always there, sometimes he is absent and then uploads that image hours from then
      • reosarevok
        To be fair, I *could* just link the images myself once they are added if that's the main issue :)
      • CatQuest
        the main issue is that a text box tunring into a lin kis unintuitive, uneccasary and annoying
      • reosarevok
        Right now I kind of agree with that, I do want to see how I feel once the whole thing is put together though, with highlights and all. Rn I'd still prefer the text box myself, but I'm giving it a chance
      • Freso
        yvanzo: I could follow CatQuest’s example. Please try and take a step back and re-read what was said to try and understand. If there's a specific part you don’t understand, ask for clarification about that. "Bring a full example please." is vague as it was already provided.
      • yvanzo
        Freso: Getting stressed like that is not a way to engage a constructive conversation.
      • reosarevok
        So if in the meantime it helps, I can put those image links up myself :) If we figure out the link thing is still not really working once the whole tool is finished, then we can also change that post gsoc, since it's not set in stone
      • yvanzo
        (Not you of course)
      • CatQuest
        the thing is that you aren't really gettig who is the casue of my stress! :
      • yvanzo
        We had another conversation when CatQuest hijacked it.
      • CatQuest
        :|
      • well excuuse me for "hijacking" 🙄
      • reosarevok
        CatQuest: please try to relax, even if this is annoying
      • CatQuest
        *this* kind of attitude is the reason im stressed
      • Freso
        CatQuest: yvanzo and yyoung[m] are trying to improve the workflow. Sometimes this means having to adapt to a new workflow. If it turns out new workflow is worse than the previous one, then it can be reverted. But a change of workflow is not necessarily bad. Please remember to treat yvanzo and others as them being in good faith. https://xkcd.com/1172/
      • reosarevok
        yvanzo: please try to understand that changes that break people's workflow *will* annoy them :)
      • CatQuest
        Freso: I have been?
      • but see above
      • I'm accused of higjacking and "typing to much"
      • Freso: remember you wheren't her for the first conversation we had
      • yvanzo
        Freso: I just asked for clarifications, tried to resolve the issue, and received a "fucking" rage-quit in response.
      • CatQuest
        yea I'm sorry about that. I'm having other problems
      • yvanzo
        "blub"?
      • CatQuest
        i'm also really nevous about talking liek this
      • Freso
        yvanzo: If you feel like CatQuest’s comments are not relevant to what you’re currently discussing, tell them you’ll come back to them later, but you’re currently trying to do something else.
      • yvanzo
        So don’t
      • I already suggested you to not talk like this, but rather make a summary.