Repository navigation
layerling 1.160.1
-
A design the browser will not store says why, and "Save and reload" does not throw it away (#1639): In one Chrome on a Mac every save failed, even of a fresh design of a few plates, with an error that carried no text: the red note said "Could not save design shapes:" and nothing after it, advised lighter meshes that were not the cause, and the console had nothing to copy. The note now gives the reason by the kind of error when the error brings no text (no room left, out of memory, too big), advises Simplify mesh only where memory or size was the reason, and adds a line with the browser's own words: the error's name and type, its text and cause, how much of the site's storage is used of how much, whether it is persistent, and whether a tiny test write to IndexedDB and localStorage gets through (saveFailureDiagnosis.ts). The same line goes to the console and the bug report's Errors, the storage asked at most once a minute for the same error. "Save and reload" in the update notice waited a fixed 800 ms and reloaded whatever had happened; it now waits for the save it asked for and reloads only when every design is stored (designsSettled in leaveGuard.ts). If one is not, the notice says so and offers "Reload anyway" in red, and turns back into the plain offer as soon as a save gets through. The reload of the "newer version in another tab" note keeps the browser's own question in the way while a design is not stored. Texts in 15 languages. Checked in the editor through headless Edge with every save made to fail with a QuotaExceededError without text: the note named the reason with the detail line, the console had both lines, "Save and reload" stayed on the page with the warning after 0.8 s, and after a save got through the notice turned plain again and reloaded; unit tests
-
"Keep empty design?" easier to read at a glance (Discussion #1669): The question is larger (18 px) and centred, and Keep is green beside the red Delete, so the two answers tell themselves apart. Only this dialog; the other confirmations on the start page keep their look. Graphite theme regenerated. Checked on the start page through headless Edge in light and dark