g0llum and I settled on just albums, not any of the other releases.
then, how does one select the other releae types -- that's one question.
Knio3 joined the channel
I guess we need more info on the most common use case.
what do people want to look at when they come to an artist page?
how do we send the right amount of data? not too much, not too little?
g0llum
from what i've heard, people use the compact view.
that's the amout of info i'd aim for
nikki_
I love the compact view
ruaok
djce: have you looked at the discography / customized view?
djce
The obvious, but non-trivial answer is to be flexible.
yes, I did.
ruaok nods
g0llum
and direct links from the main page (or a dropdown menu on the discography) to pre-select filters (e.g. bootlegs, official releases, singles whatever imaginable)
ruaok
from a UI note, we should make this the 'Advanced' view and have two simpler views.
djce
Implement as many views as we can care to think of.
ruaok
a default view which is the collapsed view equivalent...
djce
then maybe have "discography" start on the user's preferred view options.
ruaok
sure, that works too.
g0llum
the goal should be that you don't have to open the configuration unless you want to look for specific things
ruaok
back to the question of granularity.
g0llum: YES!
g0llum
djce: yes, or keep it in the session
ruaok
do we always want to show a group of albums?
(EPs, live releases, etc)
or a combination of groups?
djce
Whatever the user wants. But that's more work for us.
ruaok
yep.
so, by default we show only album, in collapsed form.
nikki_
hmm. the experimental debs seem to work
ruaok
with an option to show all albums.
djce
nikki_: thanks!
g0llum likes to propose, that you can't open albums unless you have JS, which loads the track infos over xml data islands or something
g0llum: what do you mean by "open albums" ?
g0llum
expand/collapse
the current version features complicated server side code for that
djce
but that would still be possible via a request/response, yes?
g0llum
not useful imo
ruaok
I really like g0llum's idea of not sending HTML formatted albums, but sending a JS script that can show/collapse/expand albums on demand.
g0llum
you can open the album in another tab/window if you can't/won't support the advanced features
djce
That works, as long as the non-JS UI isn't too dreadful.
ruaok
sending a compact array of JS is less bandwidth intensive than fully formatted HTML albums.
g0llum
you see the layout of the mockup, nothing more, nothing less
djce
of course.
ruaok
then the question becomes whether or not to send ALL albums by default.
djce
no.
g0llum
and we will still have the compact view of course
djce
definitely not.
nikki_
if I understand g0llum right, I have no objections to that (shock horror!)
ruaok nods at djce
djce
three letters: J.S.B.
ruaok
lets talk DB loading and caching for a moment then.
g0llum
djce: its only the album titles, which amounts to the size of the compact view
ruaok
JSB?
dseomn
Bach?
djce
ding!
ruaok
oh yes. good example.
on the server, should we load all albums, even if the user asked just for the albums, and shove everythinginto memcached?
djce
So, by all means default to showing up to, say, 50 albums.
ruaok
then if the user expands something, we just pull it from the cache.
well, the client may not show them all right away.
but could do so without reloading the page.
dseomn
why not send all albums unless there are more than a certain no.?
ruaok
dseomn: thats another option
complicates matters, but its an option.
g0llum: and I originally thought about by default sending only albums.
if the user then pokes around more, we'll load and send them ALL.
thus not requiring more loads after that.
but that granularity seems too big...
g0llum
yeah, i suppose that people would think there are albums missing
Knio has quit
djce
What's the purpose of the cacheing. Performance?
ruaok
yes.
dseomn
and longer disk life
ruaok
am I optimizing too soon again?
djce
Because the other issue which has been mentioned in the past is allowing spidering.
but spiders of course will always use the non-JS UI
ruaok
another quite hairy issue, tbh.
djce
best ignored for now?
ruaok
afraid so.
otherwise we'll never get this done.
djce
ok, fair enough
g0llum
hehe, true
djce
just checking what's "in scope"
ruaok
:-)
g0llum
ruaok: the list you're displaying for metallica is all releases now, right?