Some nice community PRs
prevent wrapping of avatars on tiles:
master ← lantram:fix/avatar-row-nowrap
opened 01:21AM - 03 Jun 26 UTC
This PR extracts the small CSS-only avatar wrapping fix from #59.
It prevents… the topic poster/avatar row from wrapping when the maximum number of avatars is shown in a topic preview card.
No link behavior changes are included.
prevent internal wrapping of timestamp meta:
master ← lantram:fix/62-activity-timestamp-wrap
opened 01:11AM - 03 Jun 26 UTC
Fixes #62
This PR fixes a layout regression after the latest Discourse update… where the activity timestamp in Topic List Previews could wrap onto two lines, placing the clock icon above the relative time.
The timestamp link is now displayed as an inline flex item, vertically aligned, kept on one line, and given a small relative gap between the icon and text.
Tested on a Discourse install using the same fix in our custom branch.
blank areas of tiles are now clickable:
master ← lantram:fix-blank-tile-click
opened 07:53PM - 27 May 26 UTC
Fixes #60.
In tile mode, topic preview cards use pointer cursor styling, but … clicking blank/non-interactive space inside the tile does not navigate anywhere.
This adds a topic-list-item-click behavior transformer so blank tile space navigates to the same topic destination used by the title link.
The change avoids handling clicks on interactive elements such as links, buttons, inputs, avatars, tags, category links, badges, topic actions, and topic status elements.
Tested on a Discourse install by temporarily installing this branch as a theme component and confirming:
- blank space inside the tile navigates to the topic
- title/image/excerpt links still work
- avatars, tags, category links, badges, and topic actions are not intercepted
This was originally left out because it used to cause duplicate events in Ember when you clicked on an artifact.
How this works now:
clicking the title or blank area (this is new) acts like core - takes you to first unread Post
clicking the thumbnail takes you to the OP (where the picture usually resides - making this go to the selected picture is a good roadmap item)
clicking the excerpt takes you to the OP
If you have sidecar plugin installed author, mod, TL3 or admin can also change this behaviour on a per Topic basis to make any click on the preview go to the last Post.