You are browsing as a guest. Sign up (or log in) to start making projects!

4h 30m 56s logged

Starweb dev log #13

Added analytics and worked on the domains page.

The resolver bumps a counter every time it answers a lookup: one document per domain per day, not per query. It’s best-effort: if the analytics write fails, the answer still goes out. Missing days are zero-filled, so a new domain shows a flat line instead of a gap.

That feeds two chart types in Lua, chartBars and chartLine, just canvas: fillRect bars or a stroked polyline. Zero draws nothing, and only a real value gets a 2px floor. The home page gets one combined trend line across every domain, the domains list gets a sparkline per row.

Also fixed a flex-grow input because it didn’t fill its row width. Inputs and textareas now stretch to match, so form rows line up.

0
421

Comments 0

No comments yet. Be the first!