Page 1 of 1

[2.0.0beta2] Categories

Posted: Thu Apr 17, 2014 1:58 pm
by Lux
Hi!

When creating a new entry, the new "category chooser" works pretty well for a small amount of categories.

When the display of categories is larger then the screen height, it does not work well any more.

So maybe think about two options, expand/collapse categories and subcategories or make the categories "searchable" like the tags.

Cheers

Dirk

Re: [2.0.0beta2] Categories

Posted: Thu Apr 17, 2014 2:10 pm
by yellowled
Lux wrote:When the display of categories is larger then the screen height, it does not work well any more.
I think that damn thing has been the subject of the most discussions in the development process altogether. It is, however, nice to hear that the interface basically works. :)
Lux wrote:So maybe think about two options, expand/collapse categories and subcategories or make the categories "searchable" like the tags.
Just to clear that up – what bothers you about the category selector with many categories is not the fact that you have to scroll the page, but the fact that the list is getting long? (Both would be perfectly valid, I'm just asking because both would require different approaches to a solution.)

I'm not sure expand/collaps would actually help here, but it's an option. I actually like the idea of a filter here, I'm just not sure if that would work well on smaller devices, and we always have to keep those in mind.

YL

Re: [2.0.0beta2] Categories

Posted: Thu Apr 17, 2014 3:11 pm
by Lux
yellowled wrote:Just to clear that up – what bothers you about the category selector with many categories is not the fact that you have to scroll the page, but the fact that the list is getting long? (Both would be perfectly valid, I'm just asking because both would require different approaches to a solution.)
The point is that I like to have quick access to my categories.

In the old world, I was able to type the first letter of the category name to jump through the drop down list.
yellowled wrote:I'm not sure expand/collaps would actually help here, but it's an option. I actually like the idea of a filter here, I'm just not sure if that would work well on smaller devices, and we always have to keep those in mind.
Agreed!

The vast majority of my articles are in only one category. For more "search terms" I use tags. But I know that it is possible to put a single article in more than one category. This makes it rather complicated.

Cheers

Dirk

Re: [2.0.0beta2] Categories

Posted: Thu Apr 17, 2014 3:42 pm
by yellowled
Lux wrote:In the old world, I was able to type the first letter of the category name to jump through the drop down list.
You mean in the expanded dropdown list, right? I'm pretty sure that's a rarely used shortcut, at least I'd be surprised if more users knew this is even possible (I didn't know before you mentioned it).
Lux wrote:But I know that it is possible to put a single article in more than one category. This makes it rather complicated.
Not necessarily. The popup holds a list of all categories. If we'd add an input field at the very top which acts as a “live filter” which shows just the categories matching your input in real time, you could still select multiple categories. I don't think, however, that would work well with show/hide …

Also, this could be a pretty big overhead (because it requires additional JS).

YL

Re: [2.0.0beta2] Categories

Posted: Thu Apr 17, 2014 3:58 pm
by garvinhicking
You mean in the expanded dropdown list, right? I'm pretty sure that's a rarely used shortcut, at least I'd be surprised if more users knew this is even possible (I didn't know before you mentioned it).
Really? I use it all the time.

I believe some sort of "type-ahead" filter would be good to have. We could use jquery to iterate the category list... I believe this shouldn't be too hard. I'll put this on my list for next week. I think when the JS only fires on entering stuff in the input field it shouldn't have too much impact, and not too many lines of code.

I'll cook something up as a draft.

Re: [2.0.0beta2] Categories

Posted: Thu Apr 17, 2014 4:04 pm
by yellowled
garvinhicking wrote:Really? I use it all the time.
My blog only has 5 categories. :)

YL

Re: [2.0.0beta2] Categories

Posted: Thu Apr 17, 2014 5:09 pm
by Lux
yellowled wrote:
garvinhicking wrote:Really? I use it all the time.
My blog only has 5 categories. :)
Pah! Amateur! :lol:

Dirk

Re: [2.0.0beta2] Categories

Posted: Thu Apr 17, 2014 6:53 pm
by yellowled
Lux wrote:Pah! Amateur! :lol:
I prefer the term “person with a monothematic blog”. :P

YL

Re: [2.0.0beta2] Categories

Posted: Thu Apr 17, 2014 8:27 pm
by Lux
yellowled wrote:
Lux wrote:Pah! Amateur! :lol:
I prefer the term “person with a monothematic blog”. :P
Agreed! :-D

Re: [2.0.0beta2] Categories

Posted: Thu Apr 24, 2014 3:24 pm
by garvinhicking
Just committed as https://github.com/s9y/Serendipity/comm ... ec531c1241 -- what do you think? Discussion maybe in the issue tracker: https://github.com/s9y/Serendipity/issues/123

Regards,
Garvin

Re: [2.0.0beta2] Categories

Posted: Thu Apr 24, 2014 4:02 pm
by Lux
garvinhicking wrote:Just committed as https://github.com/s9y/Serendipity/comm ... ec531c1241 -- what do you think? Discussion maybe in the issue tracker: https://github.com/s9y/Serendipity/issues/123
Hi Garvin,

do you have a test blog, where I can get access to?

Cheers

Dirk

Re: [2.0.0beta2] Categories

Posted: Thu Apr 24, 2014 5:41 pm
by yellowled
Lux wrote:do you have a test blog, where I can get access to?
You've got mail. :)

YL

Re: [2.0.0beta2] Categories

Posted: Fri Apr 25, 2014 6:08 am
by Lux
garvinhicking wrote:Just committed as https://github.com/s9y/Serendipity/comm ... ec531c1241 -- what do you think? Discussion maybe in the issue tracker: https://github.com/s9y/Serendipity/issues/123
Looks pretty good for me. Thank you!

Cheers

Dirk