Home / Posts
Posts
Case studies from my projects and shorter posts about what I've built, improved and learned along the way.
- Case study · performance
The new pesi.pl – what actually made it faster
Together with Claude Code, I rewrote the website of the company I work for, moving it from Laravel to WordPress. Its Lighthouse performance score on mobile went from 70–80 to 95–100. Less JavaScript helped the most – cleaning up icons didn't help at all.
- htmlA screenshot gallery on <dialog> instead of my own modal
How I built a full-screen screenshot preview on the native <dialog> element – what the browser does by itself and what I had to add.
- Case study · javascriptOne carousel instead of three
How I replaced three carousels with their own code with one Swiper component on superauto.pl – and why the carousel was stuttering because of a blurred background, not because of the number of carousels.
- performanceAVIF, WebP, JPG or PNG? And when <picture> is worth it
A guide with real numbers – the same images in four formats and four widths. Which format to choose, why smaller versions matter, and when <picture> with several <source> elements makes sense and when it only makes the page bigger.
- Case study · tailwindAgrestApp headers: 36 px for a mouse, 44 px for a finger
How I rewrote the AgrestApp website and panel headers in one day – one sliding menu, sizes that depend on how you use the page, and the header height in a CSS variable instead of numbers written in several files.
- Case study · tailwindTailwind v4 in a big project: 76 files instead of 339
How I moved AgrestApp from Tailwind 3 to 4 without rewriting the templates – the old values in @theme, three class changes and order in the CSS layers.
- vueEight ifs and one map
How to replace a long list of "if the action is X, open dialog X" with a simple object in Vue 3 – and when a plain if is still the better choice.
- Case study · vueA table like a spreadsheet: Shift‑click and Enter
Two shortcuts known from spreadsheets in the AgrestApp panel – selecting a range of rows with Shift-click and Enter, which moves to the same field in the row below.
- vueOne modal, a dozen copies
The same function for opening a dialog copied into a dozen views – how to move it into one composable and share it with tables through provide/inject.
- javascriptPokedex – a few dozen requests instead of more than a thousand
How I built a Pokedex for more than 1,000 Pokémon in plain JavaScript – with a planned order of PokéAPI requests and a small database in the browser.
- vueThree recipe ebooks and one bookmark in the browser
How I turned several coffee recipe ebooks into one page with search by ingredients – and what it taught me about Vue 3 and TypeScript.