docbrown/app/views/stories
Jeremy Friesen f790c3c0c1
Encapsulating the "why we hide/show" something (#17166)
* Encapsulating the "why we hide/show" something

Prior to this commit, we were relying on our views/templates to
understand why it might want to append the "hidden" dom class.  That is
not ideal, because it required repeating knowledge about the conditions
of the policy outside of the policy's domain.

With this commit, we're removing a duplication of knowledge; or more
appropriately asking the steward responsible for the knowledge to
produce the answer.

* Refining the note to not describe a course of action
2022-04-11 13:40:16 -04:00
..
articles_search Conditionally rendering "Search > My Posts" by policy (#17113) 2022-04-05 16:18:09 -04:00
feeds Pin posts to feed (#13807) 2021-06-04 10:54:53 +02:00
tagged_articles Encapsulating the "why we hide/show" something (#17166) 2022-04-11 13:40:16 -04:00
_main_stories_feed.html.erb Add author profile preview cards to feed (#14340) 2021-08-13 10:55:43 +07:00
_sign_in_invitation.html.erb Avoid layout funkiness when non-breaking characters are used (#16782) 2022-03-08 10:37:52 +00:00