Rosetta Code:Village Pump/tasks page

From Rosetta Code
tasks page
This is a particular discussion thread among many which consider Rosetta Code.

Summary

Tasks page is unwieldy/slow to use

Discussion

Going Next Page/Prev Page is very slow.

On some other websites where there are lots of items by letter, at the top, they have:

[A B C D E F G H I J K L M N O P Q R S T U V W X Y Z]

Clicking on [M], for instance, takes you to the page containing topics starting with [M]. I don't think it matters much if there is overlap, e.g., the [M] page may also have [L] and [N] topics.

Would it be possible to do something like that here, e.g., I want to see tasks about sorting, but now, I have to click [Next Page] several times to get there, and each page reload is very slow.

I'm not hung up on the [A..Z] thing. If there is another/better way of getting to a particular list of topics, I'm fine with that too.

I'd do the [A..Z] thing myself, but I have no good idea how to do that here.

--Ed Davis (talk)

I imagine that the way you would edit this is by creating the "A..Z thing" in the editable part of Category:Programming_Tasks. I think you would need to use url links rather than wiki links. The urls would be like the urls you get from hitting the next button, but you would truncate the "pagefrom" parameter to a single letter. That said, there's a lot of repeated text here, so it might make sense to build a template for this purpose. Something like {{taskpage A}} {{taskpage B}} ... --Rdm (talk) 22:39, 3 November 2022 (UTC)
I threw together an implementation and deployed it. The thumbtack icons are a bit distracting, but it's functional. And maybe at some point the template could be updated to eliminate those icons. --Rdm (talk) 23:52, 3 November 2022 (UTC)
I went ahead and removed the external link markers. They cluttered up the link list too much IMO. --Thundergnat (talk) 06:46, 4 November 2022 (UTC)
A possible alternate solution might be to use the Rosetta Code/Count examples/Full list page to browse tasks. It has every task (and draft task) in a scrollable, sortable list. No paging required. --Thundergnat (talk) 06:46, 4 November 2022 (UTC)
Sometimes the simplest suggestions are the best. I'm now sitting here at a loss trying to explain to myself why I didn't bookmark that page like five years ago... --Petelomax (talk) 22:28, 7 November 2022 (UTC)
The simplest explanation for that is that 5 years ago, that page didn't exist. It's only been around for 4 years and about 7 months. On the other hand, I update it nearly every week so it shows up in the recent changes pretty much every Sunday. ¯\_(ツ)_/¯ --Thundergnat (talk) 23:15, 7 November 2022 (UTC)