Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

RFC: Edit your posts in a separate page, rather than at the top of a thread.

by jdporter (Canon)
on Mar 09, 2016 at 20:09 UTC ( #1157222=pmdevtopic: print w/replies, xml ) Need Help??

Inspired by the thread voting does update, I have made a change -- experimental at this point -- to test the viability and desirability of separating the edit your post capability out of the normal threaded view; the vote on posts capability would remain in the normal threaded view as it is.

To check it out, find and view a root post of yours in the Obfu section. (You can find a list (if you have any) here.) Currently this change is only in effect for that specific scenario: root Obfu posts.
You'll see two differences:

  1. The textarea labeled "Your obfuscated code", where you could edit the content, is gone;
  2. There is now an "Edit" link above your post, on the far right side.
If you click on that 'Edit' link, you'll be taken to a page which, like original post/preview pages, allows you to edit your post but does not show you the rest of the thread, nor to vote on posts in the thread.

Note: janitors (and other authorized members) will see this 'Edit' link on any post* to which they have edit permissions, not just ones they own.

* Currently only Obfu root posts, as I said above.

I think this change, if adopted across the board, would have the desirable side-effect of suppressing, however slightly, the tendency of monks to edit their posts later. What are your thoughts?

I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
  • Comment on RFC: Edit your posts in a separate page, rather than at the top of a thread.
  • Download Code

Replies are listed 'Best First'.
Re: RFC: Edit your posts in a separate page, rather than at the top of a thread. (yay, but...)
by tye (Sage) on Mar 09, 2016 at 23:10 UTC

    I like the idea at least "in general". It would be good to discourage the casual editing of already-posted nodes. I fairly often navigate (to a parent node, to a domain where I don't have a cookie, etc.) just to get rid of the edit box because it gets in my way when reading.

    Note that we should also mitigate duplicate posting, however. When we have previously had node types with an "edit" link and no textbox, those node types had a higher rate of people not noticing the "edit" link and eventually figuring out that the brower's "Back" button made an textbox appear.

    - tye        

      we should also mitigate duplicate posting...

      Sort of a "Whoa, cowboy!" Do you have any ideas on how to do that?

        The 'add' field gets a hidden GUID which, on preview, is used to upsert a row recording the most recent "preview" for each such session. When you post, the new node_id gets recorded in the preview row. Posting when a node_id is already in the preview row either updates the linked node or perhaps offers to.

        Preview rows from a week ago get purged. One day users can reclaim unposted previews.

        - tye        

Re: RFC: Edit your posts in a separate page, rather than at the top of a thread.
by Discipulus (Monsignor) on Mar 10, 2016 at 08:12 UTC
    good! the edit part is in fact an obstacle to the clean read of a thread: in fact when root msg me that i have a reply i click on my own post rather than directly on the reply.

    Is this new edit page overriding the user prefences related to eight and width of the textarea ? i find myself with a withd 100% but with a too little height; i've played with On-Site CSS Markup: that now is set to textarea { width: 100%} but i got overlapped textarea with height 100%

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
      Is this new edit page overriding the user prefences related to eight and width of the textarea ?

      No. Same as always. Our code hard-codes the size to 80x30 (characters).

      I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
Re: RFC: Edit your posts in a separate page, rather than at the top of a thread.
by LanX (Bishop) on Mar 10, 2016 at 13:06 UTC
    the <h3>Edit the node</h3> message is currently much closer to the old text than to the textarea, which is confusing me ... (Is it part of the post???)

    Maybe it's because of my CSS settings, but I'd suggest a <hr> after the current html of the post and deleting the <br> after the <h3>

    update

    I'm confused ... something changed right?

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

      I've made some more changes; please take another look and tell me what you think. Thanks!

        My least post was referring to regular threads not those in obfu. Did you change the html there?

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Je suis Charlie!

Re: RFC: Edit your posts in a separate page, rather than at the top of a thread.
by LanX (Bishop) on Mar 11, 2016 at 12:18 UTC
    I'd prefer the edit link to be a button.

    Or at least to harmonize the interface of links.

    Below the root node of a partial thread we'll find a bar with links

    Comment on Re: RFC: Edit your posts in a separate page, rather than at the top of a thread.
    Select or Download Code    Send private /msg to LanX
    Replies are listed 'Best First'.

    but all other non-root posts have links to the right of the text. I think that's very confusing for beginners.

    Personally I'd prefer buttons, but even if we continue with links, we'd need to find a way to place the edit-link into the bar.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-10-18 17:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (250 votes). Check out past polls.

    Notices?