Commits

From my text to a draft: own content and a fixed rail

A new button creates articles from my own text while preserving its essence,

Shorter day, with two things: a new creation flow I'd been thinking about for a while and a CSS bug (the language that gives a website its look) that had been there for a while without me noticing it.

Creating from my content

New button on the rail (the panel's sidebar) of a new article: "Create from content". You paste your text, draft or detailed idea (minimum 80 characters) and the AI expands and fixes it while preserving the essence and much of the original text, respecting your point of view. It applies the tone, audience and structure stored in the Settings —the section where the AI entered the day before (The AI enters Settings: providers, SEO and automatic articles)— and leaves a draft with complete SEO meta (data that helps search engines understand the article).

Real test: a 120-character coffee shop draft became an article of about 1,400 words in 60 seconds, keeping the brand and themes of the original text (roast, origin, espresso). As a bonus, I unified the parsing (structured reading) of the AI response JSON into a single function.

The overflowing rail

The Summary rail content measured 708px within a 350px column. To see it clearly I set up a temporary diagnostic page and inspected it with Chrome headless (the browser without a window, for automation). The reason: the rail's sections are grid items (a layout grid) with automatic min-width, and a paragraph with truncate was forcing the minimum up to about 690px. The grid's track was growing up to there.

Fix: min-width:0 on the rail's descendants, and the diagnostic page removed. Verified: 349px and zero overflows.

The technical lesson: truncate requires min-width:0 on the entire chain of ancestors; a single link without it is enough to break everything.

With the rail inside its column and the new flow in production, the panel closes the week well.

Other journal entries