12:05 am
ephemer0l has quit
12:18 am
ephemer0l_ joined the channel
12: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
1:01 pm
Wizzup joined the channel
1:04 pm
I am unable to pass options
1: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 :)
1:09 pm
Cyna
okay
1: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) ???
1:21 pm
probably RG RG is best
1:31 pm
Wizzup has quit
1:48 pm
Wizzup joined the channel
1:57 pm
Wizzup has quit
2:02 pm
D4RK-PH0ENiX joined the channel
2:05 pm
ruaok
Mr_Monkey: bitmap: iliekcomputers: zas: invoices please
2:07 pm
D4RK-PH0ENiX has quit
2:07 pm
Wizzup joined the channel
2:12 pm
bitmap
Cyna: I can help in a min, but not sure I understand the question - which options are you unable to pass?
2:13 pm
D4RK-PH0ENiX joined the channel
2:19 pm
D4RK-PH0ENiX has quit
2:40 pm
Wizzup has quit
2:57 pm
Wizzup joined the channel
3:05 pm
Wizzup has quit
3:06 pm
ruaok
aight. if you had sent an invoice by now, payment will go out monday. next round of payments will happen tuesday.
3:09 pm
chhavi_ joined the channel
3:19 pm
D4RK-PH0ENiX joined the channel
3:24 pm
D4RK-PH0ENiX has quit
3:32 pm
Wizzup joined the channel
3:43 pm
Wizzup has quit
3:53 pm
travis-ci joined the channel
3:53 pm
travis-ci
3:53 pm
travis-ci has left the channel
4:00 pm
Wizzup joined the channel
4:04 pm
Wizzup has quit