Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Remove "categories" from app dir UI #695

Merged
merged 2 commits into from
Sep 19, 2017
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,6 @@ <h3 tabindex="0" class="md-title">Related Apps</h3>
<li ng-repeat="related in portlet.relatedPortlets"><a href="apps/details/{{ ::related.fname }}">{{ ::related.title }}</a></li>
</ul>
</div>
<div class="desc-item">
<h3 tabindex="0" class="md-title">Categories</h3>
<md-chips ng-if="portlet.categories.length > 0"
ng-model="portlet.categories"
readonly="true"
md-removable="false">
<md-chip-template>
<a ng-href="apps" ng-click="specifyCategory($chip)" aria-label="see more apps in the {{ $chip }} category">{{ $chip }}</a>
</md-chip-template>
</md-chips>
</div>
<div class="desc-item" ng-if="portlet.marketplaceScreenshots.length != 0">
<h3 tabindex="0" class="md-title">Screenshots</h3>
<ul class="enlarge">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,18 +93,6 @@ <h2 tabindex="0" class="md-headline" layout="row" layout-align="start center">
</md-button>
</div>

<!-- CATEGORIES ROW -->
<div layout="row" class="category-list" ng-if="portlet.categories.length > 0">
<md-chips ng-if="portlet.categories.length > 0"
ng-model="portlet.categories"
readonly="true"
md-removable="false">
<md-chip-template>
<a ng-click="selectFilter('category', $chip)" aria-label="see more apps in the {{ $chip }} category">{{ $chip }}</a>
</md-chip-template>
</md-chips>
</div>

<!-- Action buttons for mobile -->
<div hide-gt-xs layout="row">
<div ng-show="GuestMode" layout="row" layout-align="end center" class="mp-mobile-buttons">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,6 @@
<span aria-label="Sort by alphabetical order">A-Z</span>
<div class="mp-tabs-slide" ng-style="{background: primaryColorRgb}"></div>
</li>
<li class="mp-tab md-ink-ripple" ng-click="selectFilter('category','')"
ng-class="{true: 'active'}[selectedFilter === 'category']"
ng-style="selectedFilter === 'category' && {color: primaryColorRgb}">
<span aria-label="Filter by categories">Categories</span>
<div class="mp-tabs-slide" ng-style="{background: primaryColorRgb}"></div>
</li>
</ul>
</div>
</div>
Expand Down