Trevor PaughSystems engineer
Trevor PaughProject Chronicles

Chronicles / Bopsmith

Spanish at 320 pixels

Progress

Checking one Spanish line on the narrowest phones turned up five places where the page did not fit, each found by the review of the fix before it. The last one left 48 bytes under the store's size budget, and the owner chose to trim code rather than raise the budget a fourth time.

The song screen in Spanish at 320 pixels wide, fitting.
The song screen in Spanish at 320 pixels wide, fitting.

It began as a leftover: the new loudness readout had only been tested in English, and the Spanish line is much longer.

One thread, five fixes

Fixing the readout showed that the whole song screen was 337 pixels wide in Spanish on a 320 pixel phone. The tests had not seen it because the phone browser quietly widened the page to fit. Fixing that showed instrument cards breaking “Batería” and “Teclado” mid-word. The reviewers of that fix found the song title cut to “Primer b…”, and the reviewers of the next found the save indicator cut off too. Titles and the indicator now wrap onto a second line.

Trim, don’t raise

After the fourth fix the store’s first load sat 48 bytes under its budget. That budget had already been raised three times. The owner chose to cut dead and duplicate code and CSS instead, which gave the room back without moving the line.