Skip to content

Ecosystem pagination #55

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 3 commits into from
Jul 21, 2020
Merged

Conversation

Bgreen23
Copy link

This PR adds pagination to the Ecosystem

@Bgreen23 Bgreen23 requested a review from patmellon July 21, 2020 13:35
Comment on lines 66 to 56
<div id="ecosystem-index-cards">
<div class="list row ecosystem-cards-wrapper">
{% assign ecosystem = site.ecosystem | sort_natural: "title" %}

{% for item in ecosystem %}
<div class="col-md-6 ecosystem-card-wrapper" data-categories="{{ item.category | join: "," }}">
<div class="card ecosystem-card">
<a href="{{ item.link }}" target="_blank">
<div class="card-body {{ item.logo-class }} {% if item.experimental %}experimental{% endif %}">
<div class="ecosystem-card-title-container">
<h4>{{ item.title }}</h4>
{% if item.experimental %}
<div class="experimental-badge">
Experimental
</div>
{% endif %}
</div>
<p class="card-summary">{{ item.summary }}</p>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like a lot of this is changed from the ecosystem-stars-final branch. It doesn't have any of the new data attributes we added. Can you make sure you're branching off of ecosystem-stars-final?

@Bgreen23 Bgreen23 requested a review from patmellon July 21, 2020 13:49
Comment on lines 365 to 373
.ecosystem .pagination {
.page {
border: 1px solid #dee2e6;
padding: 0.5rem 0.75rem;
}

.active .page {
background-color: #dee2e6;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you're missing some closing curly braces.

@Bgreen23 Bgreen23 force-pushed the ecosystem-pagination branch from 92089db to 4715778 Compare July 21, 2020 18:34
@Bgreen23 Bgreen23 requested a review from patmellon July 21, 2020 19:39
Comment on lines 126 to 129
<script src="//cdnjs.cloudflare.com/ajax/libs/list.js/1.5.0/list.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/numeral.js/2.0.6/numeral.min.js"></script>
<script id="filter-script" ecosystem="true" star-count-call-date="ecosystemStarCountCallDate" star-count-data="ecosystemStarCountData" src="{{ site.baseurl }}/assets/github-stars.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/list.js/1.5.0/list.min.js"></script>
<script list-id="ecosystem-index-cards" display-count="100" pagination="false" src="{{ site.baseurl }}/assets/filter-hub-tags.js"></script>
<script list-id="ecosystem-index-cards" display-count="10" pagination="true" src="{{ site.baseurl }}/assets/filter-hub-tags.js"></script>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you have a merge conflict related to these scripts. Once you address the conflict then this should be good to go.

@Bgreen23 Bgreen23 merged commit 67edba4 into ecosystem-stars-final Jul 21, 2020
@Bgreen23 Bgreen23 deleted the ecosystem-pagination branch August 13, 2020 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants