Yeah. We can even ask in the forums for a list of URLs that can be of multiple types
So that we have a general idea which ones are there :)
re: yvanzo's comment earlier
yyoung: I'd suggest if we want to make this change and merge it, then it should actually support using the list :)
So, for non-auto-selected things, allow adding and selecting more types
yvanzo
the list?
reosarevok
Well, the idea is to "display relationships as a list."
But right now it's not a list, it's just one underneath, right?
yvanzo
that is related to using the relationship editor, right?
texke has quit
reosarevok
You still can't select more than one type
(for that you can only add a new link)
(well, add the same link again)
yvanzo
reosarevok: does it seem reasonnable to add support for errors target already?
reosarevok
yvanzo: IMO yes, if it's not too hard. But I'd still prioritize adding multiple reltypes to one link + blocking adding the same link twice.
yvanzo
so that we can postpone the UI stuff to have bitmap's input about using relationship editor instead of reinventing the wheel.
reosarevok
Oh, ok, in that sense
Sure, why not
yyoung
Also bitmap raises a concern that the new UI takes more space
yvanzo
yes and he is correct but that was not intended to be the final UI
reosarevok
It does, yes. One alternative to that to take less space would be to still have the type as the label if there's only one, but move it underneath if there's more than one. But that might be confusing
yvanzo
that would be confusing indeed
yyoung
yvanzo: How can we solve this problem with relationship editor?
yvanzo
yyoung: let's wait for having bitmap in the loop for this topic, it is the middle of his night right now.
reosarevok
Mind, I'm ok with it taking a bit more space :) I didn't think it was a big issue, although I guess it might be more so for very large entities with a ton of URLs
Yeah, let's get some more bitmap feedback
yyoung
yvanzo: Yes, but he suggests posting a thread on the forum to get more feedbacks
reosarevok
That also wouldn't hurt, especially if we throw the code up on test.mb
So that people can actually see it
yvanzo
reosarevok: the main point of this PR was to group rels by URL, not to optimize UI in any other way. For example, if errors are better handled, we can hide rel type selector if error is about the URL itself. There are a lot of possible optimizations.
yyoung: We seem to all agree that errors need better handling, that is a prerequisite improvement that can be done without changing the UI.
reosarevok
yvanzo: I get that :) It doesn't yet do that though, right? Since it still has only one rel per URL
yvanzo
yyoung: Also documenting the most popular use cases about relationship types combinations would be nice.
reosarevok: yes, it doesn't, just rearranged layout to allow that later on. I didn't see it would cause a regression.
reosarevok
Ok :)
yyoung
Before the UI change this disadvantage of error handling was not that obviously, though
reosarevok
I personally don't mind the layout change (other than the label index which is still weird to me) but before merging the change into beta/prod I'd want it to actually support multiple link types, since otherwise the community might be confused about the reasons :)
We could always have a branch we merge PRs against though, and then merge that into master when something is feature completeish?
yvanzo
yyoung: yes, your PR helped with finding more issues we didn't anticipate earlier :)
reosarevok
As it always happens :D
Please don't be discouraged :)
yvanzo
I switched it to draft status so that is more clear we are not willing to merge it as-is.
atj
The dropdown list is so irritating to use. Just restricting the entries to those detected as "permitted" would be a big usability gain IMV.
Please ping me when you have something on beta, I use the URL links a lot so would be interested in the changes and happy to provide feedback.
reosarevok
We might have it on test before beta :) But we'll let people know if we do
jasondk
Hi, _lucifer: i had a question about CB. in the reviews table the 'source' table either contains 'BBC' if the review was imported, or it is null otherwise correct?
yyoung
yvanzo: OK, so is there anything else I need to do on this PR?
alastairp
jasondk: let me check for you
jasondk
thanks!
yyoung
atj: Agreed, and that would be great with your help :)
atj
I do think it will be really difficult to get right by the way - it's a complex problem to map
My view would be that you make the 95% of use cases easier and try not to make the other 5% harder :)
But since, say, otherdatabases are lumped, then it's not too useful for that - plus there's no way to see "how many bandcamp links are free streaming vs free download vs purchase"
Still a lot better than nothing tho
I think we have a general idea where we stand, right?
reosarevok will go get breakfast if so :)
jasondk
Great. for my gsoc project i was planning on creating a new enum type to alter that column to accept 'BBC' or 'listenbrainz' or null as valid values
yvanzo
I did such statistics by host name in the past, I will try to find it back.
alastairp
jasondk: the BBC reviews are a special case, you can just ignore this column and always set it to null
yyoung
yvanzo: Sure. But the next task on the schedule is a bubble to display cleaned-up URL, I think that wouldn't introduce other issues?
alastairp
mmm, although - now that I think about it, that's an interesting idea. so the idea is that we'd be able to identify which reviews were written on critiquebrainz and which ones were written on listenbrainz?
atj
is that page showing that only 10% of artists have 1 or more URLs?
yvanzo
yyoung: this might change with redesign discussion going on :)
alastairp
is the source of the review the interesting data, or is the type of review the interesting data (e.g. long or short review)
yyoung
yvanzo: Alright :)
jasondk
alastairp: Yes, and then it would be indicated on the site in the future because I imagine reviews coming in from LB and CB would look different
So i was just thinking to use the source column already existing
alastairp
let me read your proposal again
yvanzo
atj: good question, I'm not sure what 100% means for “has a discography page at” either
alastairp
jasondk: hmm, I think a new `review_type` column with values short/long would make a bit more sense. It's always a good idea to be explicit rather than try to reuse an existing feature
jasondk
now that I remember reviews coming from LB wont have a character cap but iliekcomputers mentioned that it would be a good idea to distinguish between lb and cb
alastairp
right. I would come up with a decision on what the difference is between the reviews. If it's short/long then we should use that as the distinguishing feature. If the only difference is the website that it comes from then maybe we don't need to track that
jasondk
alastairp: That makes sense. we would have to decide on how many characters a short vs long review is
reosarevok
atj: IIRC that means "of all relationships, 10% are artist-url ones
jasondk
Yeah, and then we could look through the existing reviews and sort them.
reosarevok
yvanzo: a bug, that's what that means - it seems to be the stats for "discography" above
I'll try to look into it after breakfast
atj
ah yes, I see it's 10% of all relationships
was there a page/tag for artists with MB accounts?
Just had the artist correct one of my submissions :)
alastairp: thanks! i'll read it carefully. could you please also add a section on how git2consul fits in here?
my understanding is that it takes the json file from docker-server-configs directory and submits those to consul agent. but i am not sure if that is correct and if it is how that works or any gotchas to keep in mind.
alastairp
I'm not sure how much detail we should go into with this repo, if it should be completely self-contained or not
or if we should focus on the documentation instead
samthursfield joined the channel
yes, I wondered about that. keep in mind that I'm trying to document the app side of things, not the config/server side of things
lucifer
i think its fine to keep the repo for only stuff that we have to handle in a project itself. remaining parts of the setup can live somewhere else and maybe just add a link here.
right makes sense.
alastairp
but also - we have this ongoing plan to replace some of the consul server parts, so we shouldn't go into that in too much more detail
lucifer
oh ok, sure that can be left for now then.
captainepoch has quit
captainepoch joined the channel
alastairp
lucifer: btw, did dumps work last night? (with the dumps directory not working)
lucifer
alastairp: nope no dump last night, also storage box was still down when i checked this morning.
alastairp
did we try and just unmount/remount it?
lucifer
sure, let's try that
umount /mnt/dumps and then mount.cifs from history right?
alastairp
yes
lucifer
seems to be working now
ls /mnt/dumps displays contents now
i'll trigger an incremental dump then
alastairp
maybe restart cron too
just to be sure it has the right mount
lucifer
makes sense, doing that first
dump is now up on ftp.
ruaok: alastairp: the 504s I mentioned earlier are related to labs api, the artist map endpoint calls labs api internally. labs api is 504ing on some requests, we probably do not handle that correctly so the artist map endpoint also returns a 504 to frontend.