Fencfo - Fencing info
This collects data about (polish) fencers tournaments results, shows polish fencing federation's tournaments in proper order with working filtering, etc.
Basically a website to view upcoming fencing tournaments in Poland in chronological order. It also allows to view polish fencers rankings (as seen on official site) with all tournaments they started in past two seasons.
Additionally it has filtering for age categories/weapons/gender/name.
This site works by scraping tournament/ranking/results data from official polish fencing federation's and tournaments results sites once a day.
Back in the day pzszerm (polish fencing federation) had nice incoming tournaments table -
tournaments closest to now were shown on top of the page,
tournaments further into future were below it.
Then there was separate webpage for old tournaments.
Then someone decided it's gonna be good idea to write page anew. It was good idea.
Problem is that whoever wrote that page merged both pages.
And because of that now we have tournament that's furtherst into the future at the top and current tournaments somewhere in the second page or so.
Then on next pages there are old tournaments.
This way instead of opening page -> checking first tournament, because it's closest to now -> leaving page now you have to
open page -> search for current month -> possibly go to next page -> search for current month -> search for tournament closest to now.
Process became way longer, way more uncomfortable.
This application allows you to see tournaments in chronological order.
Back in the day there also was giant table of rankings. You saw what tournament had points and what did not. And you could see tournaments from whole year and places/points in them for each fencer. This way you could see that eg. you was on 10th place last year in tournament X, someone above you was 8th. This ywar you ended up 5th, they ended up being 10th, so soon you will go up. Thing about ranking is that only handful of tournaments are counted for points (something like 4 country and 4 worldwide ones), so just because someone got worse place with less points does not always mean they will go down. And having table with all tournaments you could check that quickly. After pzszerm page reneval there are only tournaments that are giving them points in ranking, nothing more, you can't compare stuff. I also learnt that sometimes coaches for country representation check how fencers were fighting in a season, not only where they are in ranking, so now they have to save most romising peoples achievements in spreadsheet and pray they didn't forget to fill some tournament.
When writing this application I discovered that filtering by age and weapon was broken too.
Filtering by age was showing only old tournaments and by weapon wasn't filtering at all!
So I implemented filtering in js - it just filters loaded table's data on webpage instead of calling server.
Also - pzszerm's table is exactly that - a <table> html tag. Problem with that is on mobile you can't see half of table's data.
This application uses bunch of divs to make it all responsive.