thewca / worldcubeassociation.org

All of the code that runs on worldcubeassociation.org
https://www.worldcubeassociation.org/
GNU General Public License v3.0
329 stars 176 forks source link

Port statistics.php to Rails #305

Closed jfly closed 3 years ago

jfly commented 8 years ago

@timhabermaas is working on this here: #175 (abandonded :cry:)

Related is #103 (no longer relevant).

jfly commented 7 years ago

@larspetrus says:

The stats page is a BIG thing to reimplement for one person in one PR. I count 15 different sections.

This makes it a great candidate to build incrementally. Like this:

Make a new Rails page on, say, /results/statistics, that is not linked from the app. Implement a few of the simplest sections. Review, merge and deploy. Other people or the same person can later fill in more holes until one day we decide it's better than the old page and switch over.

I like this plan!

AlbertoPdRF commented 5 years ago

So, this one should be my next step after #4486 is merged, but before going ahead I think it's worthy to discuss about if we actually should be porting this page as is, only port a part of it, or just get rid of it altogether. Some key points that resulted from a conversation with @jonatanklosko:

What are other opinions on this?

pedrosino commented 5 years ago

I think the page is worth keeping, but maybe not all of it.

We could have some "more important" statistics and links to other resources as you said.

jfly commented 5 years ago

If we didn't have the statistics page, I would not be supportive of adding it. However, since we have it, it's harder to imagine removing it =( I think we need to be careful about linking to third party websites, because they can die/be wrong/have inappropriate content.

AlbertoPdRF commented 5 years ago

Yeah, that makes sense... Would you port it as is, or only part of it?

viroulep commented 4 years ago

Given we'll pretty much always prioritize other needed php ports (ie: last admin scripts), this is for sure gonna be the last thing we port (or drop). I personally only visit that page occasionally, and found @jonatanklosko's website to be more exhaustive.

I do like the way it's split for the "Most *" sections.

Maybe something we could poll the staff on, since we do have polls!

gregorbg commented 3 years ago

Closing in favor of https://github.com/thewca/statistics