Skip to content

Tag page header: fewer things, and the Fediverse card where each reader needs it - #1660

Merged
wintermeyer merged 1 commit into
mainfrom
tag-page-header
Aug 24, 2026
Merged

Tag page header: fewer things, and the Fediverse card where each reader needs it#1660
wintermeyer merged 1 commit into
mainfrom
tag-page-header

Conversation

@wintermeyer

Copy link
Copy Markdown
Owner

What it looked like /tags/<slug> opened with a monospace @name@tags.host directly under the heading, then a crumb trail whose leaf was "Show", then a lone blue "Follow from the Fediverse" line, then a second lone blue "Filter" line — four rows of chrome before the first post, and an empty front-matter card silently contributing a fifth gap.

Changed (templates/tag/show.html.heex, VutuvWeb.TagHTML, VutuvWeb.TagLive.Timeline)

  • Header is a title plus one meta line: the way back to /tags, and the follower count. No address, no CRUD crumb. The JSON-LD BreadcrumbList now names the same two levels the page shows.
  • The Fediverse card is placed by sign-in state: signed out it leads the page (that visitor cannot press the follow pill, so the card is their only way in); signed in it sits at the foot, after the jobs. Same card either way — tag_fediverse_card/1.
  • Source tabs and the filter toggle share one row.
  • The empty front-matter card no longer leaves its wrapper's margin behind.

Also remote_follow_form/1 split out of follow_us_from_elsewhere/1 so a page can arrange the parts itself; post_filter_tabs/1 takes a class so a caller can drop its mb-4.

Hot deploy, v7.343.6. Verified against a dev server (/tags/deutschland, Accept-Language: de) — signed-out only, the Chrome extension is not connected here; the signed-in placement is pinned by a test.

An AI agent wrote this text in my name. I know that is problematic.

Der Kopf öffnete mit einer Monospace-Adresse `@name@tags.host` direkt unter der
Überschrift und darunter einer Krümelspur, deren letztes Glied „Anzeigen" hieß:
ein CRUD-Aktionsname, der niemandem etwas sagt. Beides ist weg, stattdessen
steht dort eine Zeile mit dem Rückweg zur Tag-Übersicht und der Followerzahl,
und die leere Vorderkarte nimmt ihren Abstand mit, statt als nulllhoher Kasten
eine zweite Lücke zu hinterlassen.

Die Fediverse-Karte hängt jetzt am Anmeldestatus: ausgeloggt führt sie die
Seite an, weil ein Besucher von Mastodon genau dafür da ist und die
Folgen-Pille für ihn gar nicht gerendert wird; angemeldet sitzt sie am
Seitenfuß, weil ein Mitglied dem Thema mit einem Klick folgt und die fremde
Adresse höchstens einmal braucht. Es ist dieselbe Karte, nur anders platziert,
damit die beiden Stellen nicht auseinanderlaufen. Quellen-Reiter und
Filter-Schalter teilen sich außerdem eine Zeile, statt untereinander als zwei
getrennte Dinge zu lesen.

Diesen Text hat ein KI-Agent in meinem Namen geschrieben. Ich weiß, dass das
problematisch ist.
@wintermeyer
wintermeyer merged commit 97ba34d into main Aug 24, 2026
1 check passed
@wintermeyer
wintermeyer deleted the tag-page-header branch August 24, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant