0:05 AM
ephemer0l has quit
0:18 AM
ephemer0l_ joined the channel
0:56 AM
ephemer0l_ is now known as ephemer0l
2:37 AM
D4RK-PH0ENiX joined the channel
2:41 AM
D4RK-PH0ENiX has quit
4:19 AM
legoktm has quit
4:19 AM
legoktm joined the channel
4:31 AM
Mr_Monkey has quit
4:33 AM
pristine__ has quit
4:33 AM
imdeni has quit
4:36 AM
spellew has quit
4:40 AM
spellew joined the channel
4:51 AM
imdeni joined the channel
4:54 AM
pristine__ joined the channel
4:56 AM
Mr_Monkey joined the channel
5:04 AM
amCap1712
To get the description and the summarized contents of a collection, perform a lookup request with the collection MBID and the appropriate entity subquery and To get the contents of a collection, perform a browse request on the appropriate entity endpoint, using the collection MBID as a parameter:
5:04 AM
What is the difference between the approaches?
5:05 AM
reosarevok, bitmap, yvanzo: ^
5:09 AM
bitmap
the "summarized" one has a harcoded limit of 25 entities, and you can't use inc parameters to include additional info for the entities if you need it
5:10 AM
the other is a browse request so you could use limit/offset params to fetch all items, use inc params, etc.
5:10 AM
chhavi_ joined the channel
5:30 AM
BrainzGit
5:43 AM
amCap1712
thanks bitmap
6:12 AM
Wizzup has quit
6:19 AM
Wizzup joined the channel
7:01 AM
pristine__
can anyone tell me what artist_count, ref_count refers to in artist_credit table in MusicBrainz DB?
7:03 AM
reosarevok
pristine__: IIRC artist_count is how many artists are in that credit, ref_count is how many times it is used
7:04 AM
pristine__
reosarevok: credit as in?
7:04 AM
reosarevok
artist credit? :D
7:05 AM
7:05 AM
pristine__
oh okay!
7:05 AM
thanks!
7:47 AM
Wizzup has quit
7:58 AM
Wizzup joined the channel
8:04 AM
Cyna
I want the js equivalent of form_row_name_with_guesscase
8:12 AM
I guess there are some utilities in /root/entity/alias/edit_form.t that havent been converted to js
8:15 AM
reosarevok
Cyna: yes, you need to convert it, you can use root/components/FormRow(Whatever) files as examples
8:16 AM
Cyna
I dont even know the working of it 😅
8:16 AM
I'll searching for the tt function right now
8:17 AM
It is used everywhere but I cant find the definition of the function
8:17 AM
reosarevok
8:18 AM
root/components/forms.tt
8:21 AM
D4RK-PH0ENiX joined the channel
8:22 AM
Protab joined the channel
8:22 AM
Rotab has quit
8:23 AM
Wizzup has quit
8:26 AM
D4RK-PH0ENiX has quit
8:40 AM
D4RK-PH0ENiX joined the channel
8:47 AM
Cyna
reosarevok: what does this mean ? { class => 'with-guesscase' _ (options.guessfeat ? '-guessfeat' : '') }
8:47 AM
```{ class => 'with-guesscase' _ (options.guessfeat ? '-guessfeat' : '') }```
8:48 AM
reosarevok
the class is "with-guesscase", but if there's also guessfeat in options then it gets concatenated and you get "with-guesscase-guessfeat"
8:48 AM
Cyna
```[% r.text('name', { class => 'with-guesscase' _ (options.guessfeat ? '-guessfeat' : '') }) %]```
8:48 AM
in here, class refers to the className of input tag ?
8:49 AM
chhavi_ has quit
8:53 AM
reosarevok
Yes
8:53 AM
<input class="with-guesscase" id="id-edit-alias.name" name="edit-alias.name" required="required" type="text" value="Symphonie à grand orchestre en Ré majeur: II. Andante" />
8:53 AM
For an example
8:53 AM
Cyna
ohh
8:53 AM
reosarevok
8:58 AM
Cyna
reosarevok: this should be right for ``` [% r.text('name', { class => 'with-guesscase' _ (options.guessfeat ? '-guessfeat' : '') }) %]```
8:58 AM
```<input
8:58 AM
className={options.guessfeat ? 'with-guesscase-guessfeat' : 'with-guesscase'}
8:58 AM
defaultValue={field.value || ''}
8:58 AM
id={'id-' + field.html_name}
8:58 AM
name={field.html_name}
8:58 AM
required={required}
8:58 AM
type={type}
8:58 AM
{...inputProps}
8:58 AM
/>```
8:58 AM
right ?
9:04 AM
reosarevok
Seems like it might be right :)
9:04 AM
Try it, of course, but
9:19 AM
CatQuest
reosarevok: :D
9:19 AM
Cyna
I guess I've made the convertion
9:19 AM
How do I test it 🤔
9:29 AM
D4RK-PH0ENiX has quit
9:30 AM
D4RK-PH0ENiX joined the channel
9:31 AM
Wizzup joined the channel
9:45 AM
D4RK-PH0ENiX has quit
9:46 AM
Wizzup has quit
9:53 AM
Wizzup joined the channel
10:11 AM
reosarevok
Cyna: same as with other forms you converted before :)
10:11 AM
The right controller should be lib/MusicBrainz/Server/Controller/Role/Alias.pm IIRC
10:32 AM
CatQuest
10:32 AM
also if there is any thing to add/remove
10:32 AM
esp definition of "moin" sine i hella don't know it
10:46 AM
Cyna
okay
10:58 AM
Wizzup has quit
11:09 AM
Wizzup joined the channel
11:48 AM
Wizzup has quit
11:48 AM
Wizzup joined the channel
12:01 PM
Wizzup has quit
12:08 PM
Wizzup joined the channel
12:14 PM
D4RK-PH0ENiX joined the channel
12:14 PM
Wizzup has quit
12:18 PM
Wizzup joined the channel
12:18 PM
D4RK-PH0ENiX has quit
12:36 PM
Protab is now known as Rotab
12:42 PM
what are guessoptions ? reosarevok
12:42 PM
I've having trouble finding those
12:44 PM
reosarevok
Cyna: where are you seeing the reference?
12:44 PM
Cyna
test.musicbrainz
12:44 PM
reosarevok
More specific link?
12:44 PM
Cyna
12:46 PM
reosarevok
Cyna: oh, they're just the options for the guess case :D Click the gear
12:46 PM
Cyna
Yea
12:46 PM
I need a way to find those options
12:47 PM
reosarevok
12:47 PM
Also in forms.tt
12:47 PM
That uses knockout I guess, which I haven't really used much. bitmap would be able to help you more
12:48 PM
Cyna
Converting them to react in a bit
12:52 PM
Guess case options is a React table component
12:54 PM
I converted GuessCaseOptions to react
12:55 PM
but it is not linked with form_row_name_with_guesscase
12:56 PM
12:56 PM
This is my FormRowNameWithGuesscase file
12:56 PM
I dont know from where to get the props required
12:58 PM
12:59 PM
here is my EditForm component
12:59 PM
Wizzup has quit
13:01 PM
Wizzup joined the channel
13:04 PM
I am unable to pass options
13:07 PM
reosarevok
I honestly don't know, would need to check further and don't have the time at the moment. bitmap should arrive in a couple hours tops I hope :)
13:09 PM
Cyna
okay
13:21 PM
CatQuest
reosarevok: why don't we have a release-release / RG-RG "is the highlights release of" (in the wein of "ep/single released in assoc. with) ???
13:21 PM
probably RG RG is best
13:31 PM
Wizzup has quit
13:48 PM
Wizzup joined the channel
13:57 PM
Wizzup has quit
14:02 PM
D4RK-PH0ENiX joined the channel
14:05 PM
ruaok
Mr_Monkey: bitmap: iliekcomputers: zas: invoices please
14:07 PM
D4RK-PH0ENiX has quit
14:07 PM
Wizzup joined the channel
14:12 PM
bitmap
Cyna: I can help in a min, but not sure I understand the question - which options are you unable to pass?
14:13 PM
D4RK-PH0ENiX joined the channel
14:19 PM
D4RK-PH0ENiX has quit
14:40 PM
Wizzup has quit
14:57 PM
Wizzup joined the channel
15:05 PM
Wizzup has quit
15:06 PM
ruaok
aight. if you had sent an invoice by now, payment will go out monday. next round of payments will happen tuesday.
15:09 PM
chhavi_ joined the channel
15:19 PM
D4RK-PH0ENiX joined the channel
15:24 PM
D4RK-PH0ENiX has quit
15:32 PM
Wizzup joined the channel
15:43 PM
Wizzup has quit
15:53 PM
travis-ci joined the channel
15:53 PM
travis-ci
15:53 PM
travis-ci has left the channel
16:00 PM
Wizzup joined the channel
16:04 PM
Wizzup has quit