Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 18 submissions in the queue.
Meta
posted by martyb on Monday March 23 2020, @12:23AM   Printer-friendly
from the going-places dept.

[2020-03-23 01:32:11 UTC Update 1:Ed. Note - updated to clarify location of the skip to comments button.--fnord666]

[2020-03-23 12:56:40 UTC Update 2: Changed link target from "#acomments" to "#commentwrap" per suggestion in: https://soylentnews.org/meta/comments.pl?noupdate=1&sid=36704&page=1&cid=974278#commentwrap; added "Note-to-self". --martyb]

Thank You! Thanks to everyone who provided feedback on a new UI feature to the site; [Skip to comment(s)]" is now live on SoylentNews!

The SoylentNews' Main Page should function and look the same as before. The magic manifests only after a specific story has been opened. Code has been added to a site template so that "[Skip to comment(s)]" should now appear, right-justified, in the first of the two lines in the title bar that appears immediately below the story's title.

[Note to self: see in-memory version of template: "dispStory;misc;default" original implementation target fragid of "#acomments" changed to "#commentwrap" as of 2020-03-23 12:56:40 UTC--martyb]

Clicking the button will bring you to the comment header block. (That's where you can adjust Breakthrough, Threshold, and Threading preferences (either one-time-only, or save it away, permanently.)

Quite frankly, thanks to the community's feedback, it looks and behaves better than what I had originally envisioned!

Previously:
Changing Site UI to Make Long Stories Easier to Navigate -- Input Requested [superseded; see update]
Skip to comment(s) -- Second Try [Updated: 2020-03-21 15:06:00 UTC].)

Enjoy!
--martyb


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1)
  • (Score: 0) by Anonymous Coward on Monday March 23 2020, @12:29AM (1 child)

    by Anonymous Coward on Monday March 23 2020, @12:29AM (#974263)

    I won't believe that until I see the dupe of this story appear tomorrow morning.

    • (Score: 0) by Anonymous Coward on Monday March 23 2020, @12:46AM

      by Anonymous Coward on Monday March 23 2020, @12:46AM (#974267)

      Well, it looks/works fine now, at least on this story.

  • (Score: 4, Interesting) by SomeGuy on Monday March 23 2020, @12:47AM (3 children)

    by SomeGuy (5632) on Monday March 23 2020, @12:47AM (#974268)

    What, you didn't turn long stories in to a side scrolling carousel graphic? And make the page grow infinitely as you scroll while you are at it? Obviously the "skip to comments" should float over the page near one edge and bob up and down all the time, that would make the site "pop". All of the current management brochures clearly state this is the current trend that MUST be followed.

    FEEDBACK? From actual people?! Instead of glorious automated metrics?! You primitive barbarians! You will never being keeping a job in web design! :P

    But seriously, it works in my older web browser, so good job.

    • (Score: 2) by The Mighty Buzzard on Monday March 23 2020, @01:14AM (2 children)

      Yeah, and I didn't even have to type a single character for that new feature. That's a martyb baby. Code I don't have to write is my favorite kind.

      --
      My rights don't end where your fear begins.
      • (Score: 2, Insightful) by Anonymous Coward on Monday March 23 2020, @01:33AM (1 child)

        by Anonymous Coward on Monday March 23 2020, @01:33AM (#974281)

        Don't be so modest. It is your second favorite kind. Your favorite kind is code you didn't have to write that actually works and you don't have to fix. Got save time so you can put fish in the livewell.

  • (Score: 0) by Anonymous Coward on Monday March 23 2020, @01:16AM (2 children)

    by Anonymous Coward on Monday March 23 2020, @01:16AM (#974276)

    Thank you, SN, and thank you, marty.

    And stay the fuck home, assholes. Don't be patient 31 like them spring break cocksuckers in Florida. Lock them fuckers up in jail and no medical treatment. I don't want a cent of my tax money going to their medical treatment.

    Comment below if you want canned soups cheap.

    • (Score: 4, Funny) by The Mighty Buzzard on Monday March 23 2020, @03:01AM

      You don't have to stay home, you just have to stay away from other people. And it started here just when the crappie and flathead started biting again. So a big ole "HA-ha" and a hearty "Suck it!" to those of you who think the universe doesn't love me.

      --
      My rights don't end where your fear begins.
    • (Score: 4, Informative) by takyon on Monday March 23 2020, @03:08AM

      by takyon (881) <takyonNO@SPAMsoylentnews.org> on Monday March 23 2020, @03:08AM (#974294) Journal

      Canned soup has very low calories per dollar since it's mostly water. Dried beans + canned diced tomatoes + bouillon + water + spices makes a decent soup.

      --
      [SIG] 10/28/2017: Soylent Upgrade v14 [soylentnews.org]
  • (Score: 2) by takyon on Monday March 23 2020, @01:21AM (3 children)

    by takyon (881) <takyonNO@SPAMsoylentnews.org> on Monday March 23 2020, @01:21AM (#974278) Journal

    https://soylentnews.org/meta/article.pl?sid=20/03/23/0026224#commentwrap [soylentnews.org]

    is closer to what you want than

    https://soylentnews.org/meta/article.pl?sid=20/03/23/0026224#acomments [soylentnews.org]

    Also it doesn't appear on the comments.pl URLs: https://soylentnews.org/meta/comments.pl?sid=36704 [soylentnews.org]

    --
    [SIG] 10/28/2017: Soylent Upgrade v14 [soylentnews.org]
    • (Score: 2) by takyon on Monday March 23 2020, @01:27AM (1 child)

      by takyon (881) <takyonNO@SPAMsoylentnews.org> on Monday March 23 2020, @01:27AM (#974280) Journal

      #commentwrap is consistent with the "N comments" links on the home page (to the right of "Read More").

      Another thing you can do is to make "N comments" linked instead of just the number, to make it easier to click. At the same time, bump up the font size of just the number using a span element, to make it stand out more with the whole thing being underlined.

      --
      [SIG] 10/28/2017: Soylent Upgrade v14 [soylentnews.org]
      • (Score: 2) by maxwell demon on Monday March 23 2020, @06:27AM

        by maxwell demon (1608) on Monday March 23 2020, @06:27AM (#974343) Journal

        At the same time, bump up the font size of just the number using a span element, to make it stand out more with the whole thing being underlined.

        Please, don't.

        --
        The Tao of math: The numbers you can count are not the real numbers.
    • (Score: 2) by martyb on Monday March 23 2020, @12:55PM

      by martyb (76) Subscriber Badge on Monday March 23 2020, @12:55PM (#974397) Journal

      https://soylentnews.org/meta/article.pl?sid=20/03/23/0026224#commentwrap [soylentnews.org]

      is closer to what you want than

      https://soylentnews.org/meta/article.pl?sid=20/03/23/0026224#acomments [soylentnews.org]

      Thanks for the suggestion, and especially for the suggested link / fragment ID. Quire frankly, I did not see that fragid when I was looking through the page source, and I like you suggestion MUCH BETTER. It is what I was attempting to do. Will update ASAP. (Note to self: in-memory copy of: rehash-master\themes\default\templates\dispStory;misc;default)

      Added and servers bounced; should see it now.

      Also it doesn't appear on the comments.pl URLs: https://soylentnews.org/meta/comments.pl?sid=36704 [soylentnews.org] [soylentnews.org]

      Yes, I had noticed that... finding out where that is created has been fruitless, so far. Still looking. Thanks for mentioning it, though, so it (hopefully) does not fall through the cracks!

      community++

      --
      Wit is intellect, dancing.
  • (Score: 2) by SomeGuy on Monday March 23 2020, @01:10PM (1 child)

    by SomeGuy (5632) on Monday March 23 2020, @01:10PM (#974402)

    Possible bug. Loading a story that does not have a "from" line like this one: https://soylentnews.org/article.pl?sid=20/03/21/0236256 [soylentnews.org] intermittently seems to cause the story text to get squished, with an empty gray column under the "skip to comments" text. Seems to change depending on how the browser window is sized. Tried this on a couple of recent Firefox based browsers.

    • (Score: 2) by martyb on Monday March 23 2020, @04:13PM

      by martyb (76) Subscriber Badge on Monday March 23 2020, @04:13PM (#974463) Journal

      Thanks for the report! It took a little while to replicate... took a while to understand what you meant by "from" line. (Internally we normally call it the "dept." line, but you had no way of know that!)

      I tried some ad hoc changes in my browser and changing the style of the link from: "display: inline-block" to all of its alternative values was unsuccessful. I could put in some more <div> elements to force it to behave differently, but that is a much more challenging undertaking with many potential unintended side effects. I have not given up! Just reporting that I have investigated and am now pondering on possible alternate solutions.

      Thanks again!

      --
      Wit is intellect, dancing.
  • (Score: 0) by Anonymous Coward on Tuesday March 24 2020, @02:54AM

    by Anonymous Coward on Tuesday March 24 2020, @02:54AM (#974759)

    I have reported the multiple times. This new feature is not visible to me. Even tried on difference OSes and Browsers. I use Rasbian, Ubuntu, win10. Firefire, chrome, crromium, ie, edge. My screen size 35" at 1080p. It is just not there.

    Increase font size, change color combo, make look like a real button, anything to make is visible.

(1)