Frontend performance and user experience are orthogonal to feature development. If care is not taken, adding features usually degrades frontend...
Modern CSS offers the field-sizing property to allow elements to automatically adjust size (width and/or height) to fit their...
When you repeat complex assertions in your tests multiple times, it might be a good idea to extract a custom...
Added additional rules of thumb highlighting common causes of test flakiness.
Unpoly 3.11.0 is a big release, shipping many features and quality-of-life improvements requested by the community. Highlights include...
You can report CSP violations to Sentry. Within config/initializers/content_security_policy.rb: Rails.application.configure do config.content_security_policy do |policy| # Settings for the policy...
If you want to build a small CLI application, that supports more advanced inputs than gets, I recommend using the...
The DB schema is the most important source of truth for your application and should be very self-explanatory. If...
We usually ship applications that self-host webfonts to comply with GDPR. Many popular web fonts are available as NPM...
Even if you don't make any beginner mistakes like N+1 queries or missing DB indices, some requests can...
The linked article shows how to configure omniauth-multi-provider to support multiple SAML identity providers for a single Rails...
tl;dr Set profile.password_manager_leak_detection to false in your Selenium Chrome options to disable password leak detection and...
Our projects with parallel_tests and cucumber used to have a patched failure logger as the one from parallel_tests...
It can be hard to understand what causes a browser scroll smoothly or instantly. CSS, JavaScript and the browser settings...
Say you wrap your index view in a form to apply different filters like pagination or a search query. On...
To apply transparency to an element, you can use opacity in CSS. However, sometimes you don't want to make...
The :nth-child pseudo class is commonly used for targeting elements based on their position within a parent container, for...
When you want to filter records in a model where a string column roughly matches a given term, you can...
Interactively rebase your current branch onto main, keeping the original base commit (i.e. not rebasing onto main directly).
When you send automated emails from a noreply@-address, and the recipient has an out of office enabled, the autoreply...
You can check the maximum client Redis database size in Sidekiq with this command. Sidekiq.redis { |redis| puts redis.info.fetch('maxmemory_human...
Orca is a Linux screen reader. Since it is part of the GNOME project it should come preinstalled with Ubuntu...
In Rails, the implicit_order_column (added in Rails 6) is a configuration option that helps you define the default...
For Selenium tests, your browser starts in your local timezone, or whatever your system's environment specifies. This is usually...