docbrown/app/views/reading_list_items/index.html.erb
rhymes 209b0ba607 History and reading list refactoring (#3338)
* Make readingList testable

* Make history and readingList more similar

* Extract ItemListTags component

* Simplify load next page logic

* History and reading list load more should be the same

* Extract ItemListLoadMoreButton component

* Use the same exact CSS for both

* Use empty instead of 0

* Extract ItemListItem component

* Remove unnecessary else

* Same search function

* Use a common module to group related functionality

* Extract loadNextPage and fix load more button presence logic

* Extract toggleTag

* Refactor toggleStatusView and pass page

* Added additional tests
2019-07-02 09:22:21 -04:00

24 lines
1.1 KiB
Text

<% title "Reading List" %>
<%= content_for :page_meta do %>
<link rel="canonical" href="https://dev.to/readinglist" />
<meta name="description" content="Notifications inbox for dev.to">
<meta name="keywords" content="software development,engineering,rails,javascript,ruby">
<meta property="og:type" content="article" />
<meta property="og:url" content="https://dev.to/readinglist" />
<meta property="og:title" content="Reading List - <%= community_qualified_name %>" />
<meta property="og:description" content="My Saved Posts on dev.to" />
<meta property="og:site_name" content="The Practical Dev" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@ThePracticalDev">
<meta name="twitter:title" content="Reading List - <%= community_qualified_name %>">
<meta name="twitter:description" content="Reading List for dev.to">
<% end %>
<div class="home">
<div class="item-list-container" id="reading-list" data-algolia-key="<%= @secured_algolia_key %>" data-view="<%= @view %>">
</div>
</div>
<%= javascript_pack_tag "readingList", defer: true %>