Page 15 - Monthly Archives: April 2026
-
Maxim Mironjuk
-
April 10, 2026
A quantity discount that is understandable at a glance, and a sale countdown that cannot be defeated by a wrongly set client clock, sound like small details. In practice, exactly those details decide whether customers trust a price display or dismiss it as a trick.
-
Maxim Mironjuk
-
April 10, 2026
Anyone who solves every interaction with a quickly hand-rolled x-data object in the template builds an unmaintainable tangle of business logic and markup over the course of months. Custom Alpine components built with Alpine.data(), a clean naming convention, safe PHP data passing and Alpine.store() for shared state make Hyvä frontends testable, reusable and CSP-compliant instead, even when a second or third module needs the same interaction.
-
Maxim Mironjuk
-
April 10, 2026
Anonymous classes let you define a fully fledged class right at the point of use with new class(), without assigning a global name. Used correctly, they replace mocking libraries in tests, avoid unnecessary class names for one off implementations, and let you write more compact yet type safe code.
-
Maxim Mironjuk
-
April 09, 2026
A single test run answers exclusively the question of whether the test suite succeeded at that particular moment, but reveals nothing about whether a given test has repeatedly failed sporadically over the past three months, whether the suite's total runtime is continuously growing, or whether certain weekdays systematically produce more failures than others. Only a systematically built, long-term maintained history makes these patterns visible at all, providing the actual foundation for sound decisions about a test suite's evolution, instead of relying exclusively on the impression left by the most recent run.
-
Maxim Mironjuk
-
April 09, 2026
Tagged Template Literals are far more than pretty string interpolation. With a tag function in front of them, they turn into a powerful tool: SQL injection protection, safe HTML escaping, and domain-specific languages, all directly in JavaScript, without external parsers.
-
Maxim Mironjuk
-
April 09, 2026
Anyone who regularly rebases a long-lived feature branch onto main knows the pattern: the same conflict in the same file keeps coming back on every rebase. git rerere records the resolution once it has been made manually and reapplies it automatically the next time the exact same conflict shows up, with no external tool required.
-
Maxim Mironjuk
-
April 09, 2026
The --squash build flag merges all layers of an image into a single one, producing smaller, cleaner images, but at the cost of the layer caching between builds that speeds up many CI pipelines.
-
Maxim Mironjuk
-
April 09, 2026
Describing a Magento GraphQL query gets you a usable first draft from Claude within seconds, but the model does not know the actually installed schema and occasionally invents fields that do not exist at all. This article shows how to systematically verify AI generated queries and mutations against the real introspection data, using a practical storefront cart query as the running example.
-
Maxim Mironjuk
-
April 09, 2026
A heart icon for saving a product, a sort button with an arrow symbol, a close cross in the top corner of a modal: for sighted users, icon buttons like these are usually self-explanatory, precisely because they stay compact with no distracting accompanying text. For screen reader users, the state of such a button often stays unclear, especially once it changes dynamically, for example between save and remove. This article covers how sr-only classes combined with x-text and x-show deliver extra context audible exclusively to screen readers, without touching the carefully designed visual interface at all.
-
Maxim Mironjuk
-
April 09, 2026
Computer Use lets Claude perceive a screen through screenshots and operate it through simulated mouse and keyboard input, with no API or DOM access at all. For developers that opens up new use cases beyond classic test automation, such as operating admin interfaces that have no interface of their own. This article maps out when it pays off and where Playwright remains the more robust choice.
-