Skip to content

v0.3.0

Choose a tag to compare

@ernestdefoe ernestdefoe released this 12 Sep 00:03
· 8 commits to main since this release

Two defects reported from a Spanish-language forum, both reproduced on a clean
2.0.0-rc.8 install with Cascade and nothing else — neither turned out to be a
conflict with anything.

The avatar sat on top of every post

On the discussion page the avatar overlapped the author name and the first two
lines of the post: 27px of it, at every width.

--avatar-column-width: 0px collapses core's avatar column. That is right on
the feed, where the markup is Cascade's own. On the discussion page the markup
is core's.Post-container is a grid, and core renders .Post-side into
that first column regardless of how wide it is. A 64px avatar in a 0px column
does not disappear; it overflows, onto .Post-body, which starts at the same x.

Cascade now finishes what the variable starts: the side column is clipped, and
the inline avatar core hides at desktop — the one this theme has always said it
uses — is shown instead. The header sizes to it and the body clears it.

"Trending this week", three times

The rail printed the window above every row, under a heading that already
said "Trending":

Trending
  Trending this week / Literatura / 4 discussions
  Trending this week / Poesía     / 2 discussions
  Trending this week / General    / 2 discussions

The per-row label was guarding a case the server cannot produce: the endpoint
widens its window until it finds something and returns one window for the
whole response, so rows can never disagree. The window now appears once, under
the title.

It was invisible on a forum with a single trending tag, which is why it lasted:
it only looks wrong from two rows up.

Spanish

Cascade shipped only en.yml, so on a Spanish forum it placed ~40 English
strings into an otherwise Spanish interface — the composer placeholder, every
row action, the whole trending rail.

locale/es.yml now ships. The vocabulary is taken from flarum-lang/spanish
(informal/tuteo) rather than invented, so Cascade does not introduce a second
word for something core already names: Discusiones, Publicaciones,
Responder, Crear discusión, Cargando.

Corrections from native speakers are welcome — open an issue or a PR.