docbrown/app/views/articles
Suzanne Aitchison 80096f63a7
Add author profile preview cards to feed (#14340)
* Add the preview card to logged out feed initial content

* initialise the initial dropdowns added on the logged out feed

* minor tweak to selector

* flip the follow button and the summary

* add minimal preview card to build article HTML

* WIP: data fetched an inserted into card on logged out feed

* WIP: cards added to logged in feed

* create separate profile preview card component

* small style tweak, import pack on each page that shows feed cards

* rename

* tweak some styling issues

* make sure follow buttons init in cards

* populate all matching metadata placeholders after fetch

* don't render full preview card upfront on logged out feed

* refactors from PR comments

* fix issue in person search results

* remove check for article author link that will be superseded by cypress test for preview card

* Revert "remove check for article author link that will be superseded by cypress test for preview card"

This reverts commit 9b42804ffd0f051891c87293d0b791ed2bb0367f.

* Revert "fix issue in person search results"

This reverts commit 04941e3520c0895212141193b60f2933faed5ca1.

* only show the preview cards on story cards for Posts (not users etc in search results)

* correct display on collections view

* remove link check that will be replaced by cypress test

* tweaks to small issues, add a test for the logged out feed

* add tests for logged in home feed, logged out tag index

* add search test and tag index logged in test

* fixes to preview profile spec

* tweak to followauthor spec

* add cypress test for preview on series page

* use a unique test user for series test

* correct the jsdoc comments

* tweaks following PR review

* allow feed preview cards to reposition

* move to separate file from pack
2021-08-13 10:55:43 +07:00
..
_actions.html.erb Comment reaction button accessibility (#14256) 2021-08-10 10:20:14 +01:00
_block.html.erb remove use of async attribute on inline scripts (#14297) 2021-07-22 06:45:04 -04:00
_bottom_content.html.erb Use content-visibility: auto for small render performance boost (#11560) 2020-11-25 11:36:36 -05:00
_collection.html.erb Show correct number in series truncation. (#13799) 2021-05-24 15:47:06 -06:00
_comments_actions.html.erb [deploy] Frontend cleanups (#10416) 2020-09-24 08:15:12 -05:00
_conduct_and_abuse_actions.html.erb Comments UI update (#11283) 2020-11-18 18:21:19 -05:00
_fitvids.html.erb remove use of async attribute on inline scripts (#14297) 2021-07-22 06:45:04 -04:00
_full_comment_area.html.erb Use a single listener for all follow buttons on a page (#14246) 2021-07-27 10:45:50 +01:00
_liquid.html.erb LinkTag: correctly display organization avatar (#13928) 2021-06-23 10:25:29 +07:00
_reaction_button.html.erb added aria-pressed values to reaction buttons (#14192) 2021-07-12 12:54:29 +02:00
_sidebar.html.erb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
_sidebar_additional.html.erb Add campaign articles to sidebar controller (#11879) 2020-12-13 19:44:17 -05:00
_sidebar_campaign.html.erb Load campaign articles in a widget as a collection (#12334) 2021-01-19 20:33:39 +03:00
_single_sponsor.html.erb [deploy] Replace #cloudinary with #optimized_image_url (#9876) 2020-08-21 14:46:00 -04:00
_single_story.html.erb Add author profile preview cards to feed (#14340) 2021-08-13 10:55:43 +07:00
_splash.html.erb Add lazy loading to iframes (#4673) 2019-11-18 18:31:56 -05:00
_sticky_nav.html.erb Profile Preview Cards (RFC #222): Article page author byline (#13990) 2021-06-21 08:38:47 +01:00
_tag_identifier.html.erb [deploy] Home Page Feed redesign + top comments (#7579) 2020-05-12 07:57:57 -05:00
_v2_form.html.erb remove use of async attribute on inline scripts (#14297) 2021-07-22 06:45:04 -04:00
_video_player.html.erb Add Native bridge video support (#9303) 2020-07-20 11:22:32 -04:00
_widget_list_item.html.erb Update comments label in widget (#11196) 2020-11-02 11:17:19 -08:00
delete_confirm.html.erb Pin posts to feed (#13807) 2021-06-04 10:54:53 +02:00
discussion_lock_confirm.html.erb Create DiscussionLocks (#13905) 2021-06-10 11:04:33 -04:00
discussion_unlock_confirm.html.erb Create DiscussionLocks (#13905) 2021-06-10 11:04:33 -04:00
edit.html.erb Get a11y lint script paths from rails helper (#13912) 2021-06-10 09:25:29 +01:00
feed.rss.builder Split Settings::Community from SiteConfig (#13403) 2021-04-26 10:46:35 +02:00
feed.xml Respond to xml request with error on Articles#feed (#5077) 2019-12-13 12:30:26 -05:00
index.html.erb Add author profile preview cards to feed (#14340) 2021-08-13 10:55:43 +07:00
index.json.jbuilder Refactor jbuilder (#7411) 2020-04-24 12:49:12 +02:00
manage.html.erb Create DiscussionLocks (#13905) 2021-06-10 11:04:33 -04:00
new.html.erb Get a11y lint script paths from rails helper (#13912) 2021-06-10 09:25:29 +01:00
show.html.erb Add horizontal padding on preview card trigger button (#14472) 2021-08-11 12:31:48 +01:00
show.json.jbuilder Refactor jbuilder (#7411) 2020-04-24 12:49:12 +02:00
stats.html.erb Fix inappropriate landmark nesting dashboard 10873 (#14308) 2021-07-27 16:03:59 -05:00