http://qs321.pair.com?node_id=11133885


in reply to Re^2: Problems with Newest Nodes
in thread Problems with Newest Nodes

what is the procedure to request a change to PerlMonks

Technically, your first step would be to come up with a use case and discuss it in the Chatterbox and possibly here in PM Discussions.

If your case has good arguments and other monks mostly agree that this would be a good thing to change, a PmDev has to decide if your request is technically possible (the PM backend is quite different than your average this-is-my-dog-forum).

After that, your request will probably land on the Todo list, until someone implements it or not.

I'm the most junior PmDev, only got promoted last week and i'm still reading the docs and the code. From what i could glean in a quick code search, it should be possible to implement a one level "undo" function. I'd be willing to invest the time since i had the same problem before (and this seems to be a good first project). But before i do anything, i'll have to check with my mentor.

perl -e 'use Crypt::Digest::SHA256 qw[sha256_hex]; print substr(sha256_hex("the Answer To Life, The Universe And Everything"), 6, 2), "\n";'

Replies are listed 'Best First'.
Re^4: Problems with Newest Nodes
by LanX (Sage) on Jun 15, 2021 at 09:30 UTC
    > it should be possible to implement a one level "undo" function.

    If you really want to invest into this° , I'd suggest just permanently storing the result of the numdays dialog˛ into the "lastChecked or so" -field

    because for a real undo you'd need a new field in the DB.

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

    °) for training purposes sounds OK

    ˛) see Re: Problems with Newest Nodes

      Figured as much. Instead of blinking the field, mark it as invalid, like adding a '#' comment sign in front of it. I presume "Newest Nodes" is the only form that uses the field and the backend treats it as a text field?

      perl -e 'use Crypt::Digest::SHA256 qw[sha256_hex]; print substr(sha256_hex("the Answer To Life, The Universe And Everything"), 6, 2), "\n";'
        I presume "Newest Nodes" is the only form that uses the field

        About the Newest Nodes view lists some of the other nodes/views which use it.


        🦛

        I doubt that, RAT should use it too.

        And there is some logic in Newest Nodes based on the "clear" status...

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

Re^4: Problems with Newest Nodes
by roho (Chancellor) on Jun 15, 2021 at 14:52 UTC
    Thank you for your response cavac. The use case is pretty much what I stated in the OP. I would add that this change would prevent others from inadvertently making the same mistake I made and finding themselves in the same quandary. This has made me a little gun-shy about exploring other areas of the Monastery and wondering what other unpleasant surprises may await me.

    "It's not how hard you work, it's how much you get done."