Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Table of Contents in Newest Nodes (smaller!)

by tye (Sage)
on Jun 02, 2004 at 15:41 UTC ( [id://359503]=note: print w/replies, xml ) Need Help??


in reply to Table of Contents in Newest Nodes

I'd like to greatly reduce the space required for it. Remove "New" throughout and the leading and trailing text and blank lines. Move the counts to the head of each section where there is plenty of space for them. Then the navigation would *look* more like this (most of the links in the example below don't go anywhere useful):

Newest Nodes

Discussions | Questions | Meditations | Perl Announcements | Cool Use For Perl | Code | Notes | Users

4 New Discussions (Top)

Table of Contents in Newest Nodes   by demerphq

etc. (note that I didn't include hardly any font and style items for the example, just a quick simulation).

Update: s/,/ |/g.

- tye        

  • Comment on Re: Table of Contents in Newest Nodes (smaller!)

Replies are listed 'Best First'.
Re: Re: Table of Contents in Newest Nodes (smaller!)
by eric256 (Parson) on Jun 02, 2004 at 16:10 UTC
    ++ for that. The number of new items could be displayed in () next to each heading in the navigation portion too if you wanted.

    ___________
    Eric Hodges

      I like moving the numbers out of the navigation because it reduces the space requirements (there is plenty of spare space for them on the heading lines), but that part isn't a big deal and I could see people wanting the numbers all summarized together. I think it would make things a bit busy, but either way would be fine with me.

      - tye        

        In that case, put the counts into a class like <SPAN CLASS="NN_NEW_COUNT">(4)</SPAN> and allow the user to shut off the counts with either a checkbox or user defined CSS.

        --MidLifeXis

Re: Re: Table of Contents in Newest Nodes (smaller!)
by demerphq (Chancellor) on Jun 02, 2004 at 17:19 UTC

    Hmm, I was going for something like this at first. But certain critics on the test server really didnt like the inline version, and as they were my only participating commentors I went with their opinion.

    I think what I'll do is wait a bit for some more replies and comments and then do my damndest to make everyone happy at once. Which means some folks, like yourself, will have to wait a touch for your itch to be scratched. But be assured it will get scratched.

    Btw, please consider what this will look like when there are 10 sections involved... The inline version looked ok with one line, started getting really crowded at two lines and looked pretty bad at three lines. At least sufficiently bad that I decided that the comments of my critics at hand outweighed my own view.


    ---
    demerphq

      First they ignore you, then they laugh at you, then they fight you, then you win.
      -- Gandhi


      please consider what this will look like when there are 10 sections involved

      Um, the example I showed included 8 sections and there is still plenty of room in my widow for two more sections on the second line (I removed the pmdev sections as they don't apply to most users). So I don't see the problem. Now, if you put the counts and "New" stuff back in (and perhaps the pre/post texts), then it wouldn't work for me. In particular, having those types of numbers that are not lined up usually sucks). So I don't know what you had originally that people didn't like, but it sounds like it was quite a bit different than what I proposed.

      FWI, I'd implement this in part by removing "New " from all of the settings and prepending a hard-coded "New " to each section heading. YMMV.

      - tye        

        Heh. Ok, my counting isnt so hot. :-) Im a hacker not an abacus damnit!

        Anyway, yes you are more or less correct about the differences between my original inline version and yours. And your comments about changing the setting values is appreciated. I still have the pmdev mentality that there are things beyond my powers to change I guess as changing them never occured to me. Extending the setting did but changing the text never did. :-)

        Ill let you know when ive put together a new patch.


        ---
        demerphq

          First they ignore you, then they laugh at you, then they fight you, then you win.
          -- Gandhi


Re^2: Table of Contents in Newest Nodes (smaller!)
by pelagic (Priest) on Jun 03, 2004 at 07:22 UTC
    >   greatly reduce the space
    good idea ... ++

    and maybe move the checked them button to the top, so one could use it without scrolling.

    pelagic

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://359503]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-25 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found