Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Implement Feed Hierarchy

#93

(dead simple plugin?, acts_as_tree, nested_set) The key component is probably a feed selector, which might want to look like the hierarchical view we use in FS docs, which comes from a plugin with tons of overhead ATM.

The parent_id column already exists on the feed model, we just need to do something with it.

Reported by Brian Michalski · June 6th, 2010 @ 02:46 PM

State: resolved
Milestone: none
Assigned to: Brian Michalski Brian Michalski

Activity

  1. Brian Michalski
    Brian Michalski

    I'm torn on how we should implement this...

    1. acts_as_tree (http://github.com/rails/acts_as_tree/tree/master/test/) doesn't take advantage of Rails 3 features like named scopes and it doesn't include any view helpers.
    2. acts_as_category (http://github.com/bamnet/acts_as_category) (what we use for Flagship Docs) is super bloated. My branch includes some nice view helpers to generate trees but its still super bloated.
    3. ancestry (http://github.com/stefankroes/ancestry) is an updated acts_as_tree with a few more features. It's not as bloated as acts_as_category, but it's creeping up there. I'm not sure how much I like their data-structure. Instead of a parent_id they store an entire parent tree id hierarchy.
    4. better_nested_set (http://github.com/chris/better_nested_set) doesn't make a whole lot of sense to me because I don't think people will ever be manually assigning a sort order to their feeds.

    My current feeling is we might be better off writing our own Rails 3 acts_as_tree plugin that keeps things very very simple (most of the work can be done with scopes now) but I'd like some input from everyone else before we move forward... thoughts?

    June 8th, 2010 @ 02:52 PM

  2. Brian Michalski
  3. Brian Michalski
  4. Brian Michalski
  5. Brian Michalski
    Brian Michalski
    • Milestone order changed from 0 to 0

    May 28th, 2012 @ 08:16 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.