Skip to content

Commit

Permalink
Add compact listing, placeholder for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Dec 19, 2022
1 parent 8120264 commit 3f6104f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/config/views.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,19 @@ export default {
item: 'CardItem',
},
},
{
id: 'compactListing',
title: 'Compact listing',
icon: 'th',
render: null,
isDefault: false,
factories: {
view: 'HorizontalCard.Group',
item: 'HorizontalCardItem',
},
},
],

cardViewParams: {
urlField: 'about',
titleField: 'title',
Expand All @@ -51,6 +63,19 @@ export default {
clusterIcons,
},

compactListingViewParams: {
urlField: 'about',
titleField: 'title',
metatypeField: 'objectProvides',
descriptionField: 'description',
tagsField: 'topic',
issuedField: 'issued',
enabled: false,
getThumbnailUrl: 'getGlobalsearchThumbUrl',
getIconUrl: 'getGlobalsearchIconUrl',
clusterIcons,
},

initialView: {
factory: 'TilesLandingPage',
tilesLandingPageParams: {
Expand Down

0 comments on commit 3f6104f

Please sign in to comment.