I've provided a patch in Newest Nodes - (patch) to try setting the default to 3 days.
Rational

While it's easy for a regular user to find workarounds, it's not good from marketing point of view to show an empty list to newcomers.

Only showing 1 day of discussions might have been a good approach 20 years ago, where we had over 300 posts per day (I checked using RAT's "time machine")

Implementation

It took me an hour to decipher how the default is set, it's done in an obscure CGI.pm method called popup_menu of an old version of CGI.

It creates the

select-box, with values from 1..14.

The third optional argument defines the default and as a side effect the parameter $q->param('numdays') is accordingly set if missing. If no default is given, the first option=1 is chosen.

I introduced a lexical variable my $default_numdays = 3; to make it self-documenting for future maintainers.

I wouldn't mind setting it even higher, since we have the [Checked all of this] option.

The code to produce NN has a hard max limit of 60 days, AFAICS.

Let's wait if the gods hear our prayers ... ehm ... patches ;-)

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery


In reply to Re: Make posts in Newest Nodes show longer? (PATCH) by LanX
in thread Make posts in Newest Nodes show longer? by bliako

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.