reosarevok: Is there a reason for using DescriptiveLink rather than EntityLink in Relationship component?
monkey
lucifer: I deployed LB#2362 on test.LB which contains the frontend changes Youtube required for quota approval. Towards the end of my testing we ran out of quota, ironically, but I used a personal API key to finish testing it. No more autoplay, and no more button to minimize the window. I'm going to merge it, and was wondering if you could 1. deploy to prod and 2. follow up with Youtube and let them know we implemented their requirements?
I'm not sure about the first one but it seems to imply the external links editor component was unmounted somehow
the second error happens on POST, not GET
you can reproduce it by entering a work name and hitting submit (without modifying the seeded rel at all)
lucifer
mayhem: i am not sure. what's going on. will try to debug
mayhem
ok, at least I can explain what I am seeing now. :)
BrainzGit
[musicbrainz-android] 14dependabot[bot] opened pull request #203 (03master…dependabot/gradle/com.airbnb.android-lottie-compose-6.0.0): Bump com.airbnb.android:lottie-compose from 5.2.0 to 6.0.0 https://github.com/metabrainz/musicbrainz-andro...
[musicbrainz-android] 14dependabot[bot] opened pull request #204 (03master…dependabot/gradle/com.airbnb.android-lottie-6.0.0): Bump com.airbnb.android:lottie from 5.2.0 to 6.0.0 https://github.com/metabrainz/musicbrainz-andro...
[listenbrainz-server] 14MonkeyDo merged pull request #2362 (03master…remove-youtube-player-minimize): Youtube player: remove autoplay and minimize features https://github.com/metabrainz/listenbrainz-serv...
reosarevok
bitmap: oh, huh, wait, why do we even allow to submit with an error active?
bitmap
idk but the code the disable the submit button is a mess/still using knockout so probably is completely broken in this case
reosarevok
Sigh
So what's the suggested fix here? A check to error more nicely if no type is set for a rel I guess?
I'll make a ticket
bitmap
yeah I feel like we're missing some kind of validation on Form::Field::Relationship
Ok, I was wondering because of the "We should probably have a second line with ... credited as ... like in edit display." bit
My bad then
yvanzo
No just that the text being displayed is the sort name, not the original name.
reosarevok
FWIW, I don't think we need a separate line for credits there if we have the hover, because we already have the credited-as text fields in the same form :)
yvanzo
It happens that in many case, the sort name is the same as the artist name.
reosarevok
Yeah, sure. IIRC it should display both, if the sortname is different *and* is a variation :)
yvanzo
It display both in edit pages, and elsewhere too as in your example.
Although the added error is not being displayed - the page reloads and shows again "You must select a relationship type and target entity for every relationship"
I'm guessing the ORDER BY in find_by_instrument is not deterministic. I'll try to improve it
reosarevok
Thanks
TOPIC: MetaBrainz Community and Development channel | MusicBrainz non-development: #musicbrainz | BookBrainz: #bookbrainz | Channel is logged; see https://musicbrainz.org/doc/IRC for details | Agenda: Reviews, GSoC ideas pages (mayhem)
Just add submissionInProgress.current = false; to the catch?
Or after the try/catch?
Tanmay joined the channel
bitmap
I don't think this will affect the release relationship editor (isn't that what the ticket is about?)
reosarevok
Hmm
But root/static/scripts/release/components/ReleaseRelationshipEditor.js does not itself set submissionInProgress anywhere AFAICT, that's why I thought it'd be here :)
Guess not
Oh, it's with start-submission and stop-submission in the dispatch
bitmap
yeah since it has a loading spinner and whatnot
reosarevok
So just dispatch({type: 'stop-submission'}); at the end of submitEdits I guess
Since it seems to recover the submit button after the alert then, and also to not cause issues if I *do* add a rel
bitmap
sounds right to me
reosarevok
I guess the closest to an issue might be that it also re-enables the button while the user waits to be sent to the release page
Not sure that is a problem in any way though
Going to go with "not really"
bitmap
well it shouldn't be a problem if it's re-enabled and they hit submit again somehow in that fraction of a second, since the edits can't be re-submitted
it updates all the relationships to their submitted state
aerozol
reosarevok: I suppose sometimes you do want to add stuff twice, but not in the case of 'recording of'? I think? I don't see any prompt when I do that, just nothing happens when I click 'done'. When the search then rearranges it's pretty next level (next level annoying)
Guidelines after the meeting then reo? ;)
reosarevok
Even in that case, really
("the track includes a live recording of the song on day X, then silence, then a live recording of the song on day Y)
*")
I mean, it's a big edge case, but it's certainly not impossible
Or just twice in different order (so a medley of X, then Y, then X again)