Follow

interesting; the public profile pages aren’t showing #/cats as trending, even though the API says it is

single-column is showing #/cats

gonna have to look into that

@aescling public pages probably don't call the API; they're statically generated

@aescling yes but same; there's no API call there it's just a Rails view (pretty sure)

@Lady hrmmmmmm what kinds of cursed nonsense would it take to work around this

@aescling probably just refactoring out a method for getting trending tags including always_trending ones and having both the API and the public pages call that

@aescling like most of the work is probably just moving your previous stuff out of the API controller and into a shared space

@Lady i would say that would make stubbing the always trending method in the tests harder but the tests are broken anyway so

@aescling a trends concern that both controllers include might still be easy, seems a bit weird but maybe could work?

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.