Reddit-Enhancement-Suite icon indicating copy to clipboard operation
Reddit-Enhancement-Suite copied to clipboard

nothingHere: CTAs to go somewhere else

Open jewel-andraia opened this issue 9 years ago • 3 comments

When a post listing returns "there doesn't seem to be anything here", e.g. URLs like https://www.reddit.com/?count=75&after=t3_44e2gu, offer NER's "nothing here" banner CTA buttons, after the (lack of) post listings:

  • start over (remove the count and after query parameters),
  • ~~try again~~ that's probably pointless and should be removed from NER too
  • random subreddit
  • maybe copy the whole shortcut bar here

bonus feature:

  • reveal multi navbar

bonus infrastructure:

  • NER pulls CTAs from nothingHere

jewel-andraia avatar Feb 06 '16 20:02 jewel-andraia

I'm up for this, though I'm not entirely clear what this applies to as the link you gave is populated for me. Do you mean like empty search results?

tcmal avatar Oct 10 '18 20:10 tcmal

Oh goodie, my example link got fixed by Reddit.

Empty search results are a great example!

jewel-andraia avatar Oct 10 '18 22:10 jewel-andraia

If this issue still open, I'm down to give it go.

I assume @andytuba means something like the NER endNer() whenever search results come up empty?

Resulting HTML looking something like:

...
<footer>
  <p class="info">there doesn't seem to be anything here</p>
  <p class="nextprev">
    <a href="/currentPath">start over</a>
    <a target="_blank" rel="noopener noreferer" href="/r/Enhancement/wiki/faq/never_ending_reddit">learn more</a>
    <a href="/r/random">random subreddit</a>
  </p>
</footer>

One potential issue with start over <a> is that for a SRP with no # in the params, as @tcmal suggested, you'd just get redirected to the same page you're currently on.

Thoughts?

luqven avatar Nov 20 '20 17:11 luqven