Skip to content

Front Page: adding "see all" to every list #6442

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions app/templates/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
</button>
{{else}}
<div local-class='lists' data-test-lists>
<section data-test-new-crates>
<h2>New Crates</h2>
<section data-test-new-crates >
<h2>New Crates <LinkTo @route="crates" @query={{hash sort="new"}}>(see all)</LinkTo></h2>
<ol local-class="list" aria-busy="{{this.dataTask.isRunning}}">
{{#if this.dataTask.isRunning}}
{{#each (placeholders 10)}}
Expand All @@ -81,7 +81,7 @@
</section>

<section data-test-most-downloaded>
<h2>Most Downloaded</h2>
<h2>Most Downloaded <LinkTo @route="crates" @query={{hash sort="downloads"}}>(see all)</LinkTo></h2>
<ol local-class="list" aria-busy="{{this.dataTask.isRunning}}">
{{#if this.dataTask.isRunning}}
{{#each (placeholders 10)}}
Expand All @@ -104,7 +104,7 @@
</section>

<section data-test-just-updated>
<h2>Just Updated</h2>
<h2>Just Updated <LinkTo @route="crates" @query={{hash sort="recent-updates"}}>(see all)</LinkTo></h2>
<ol local-class="list" aria-busy="{{this.dataTask.isRunning}}">
{{#if this.dataTask.isRunning}}
{{#each (placeholders 10)}}
Expand All @@ -128,7 +128,7 @@
</section>

<section data-test-most-recently-downloaded>
<h2>Most Recent Downloads</h2>
<h2>Most Recent Downloads <LinkTo @route="crates" @query={{hash sort="recent-downloads"}}>(see all)</LinkTo></h2>
<ol local-class="list" aria-busy="{{this.dataTask.isRunning}}">
{{#if this.dataTask.isRunning}}
{{#each (placeholders 10)}}
Expand Down