+
@@ -34,6 +38,8 @@ async function fetchReleases() {
this.totalCount = totalCount;
this.releases = releases;
+
+ this.$refs.content.scrollTop = 0;
}
async function route() {
@@ -57,7 +63,7 @@ export default {
releases: [],
networks: [],
pageTitle: null,
- limit: 15,
+ limit: 20,
totalCount: 0,
from: null,
};
diff --git a/assets/components/pagination/pagination.vue b/assets/components/pagination/pagination.vue
index 3f0ae235..4a3df810 100644
--- a/assets/components/pagination/pagination.vue
+++ b/assets/components/pagination/pagination.vue
@@ -89,7 +89,6 @@ export default {
diff --git a/assets/css/style.scss b/assets/css/style.scss
index 6519319b..a88a99c1 100644
--- a/assets/css/style.scss
+++ b/assets/css/style.scss
@@ -37,56 +37,3 @@ body {
fill: $primary;
}
}
-
-.expand {
- display: flex;
- justify-content: center;
- align-items: center;
- padding: .5rem .25rem;
- font-weight: bold;
- font-size: .9rem;
- cursor: pointer;
-
- .icon {
- fill: $shadow;
- }
-
- &:hover {
- background: $shadow-hint;
-
- .icon {
- fill: $shadow-strong;
- }
- }
-}
-
-.expand-sidebar:hover {
- background: $shadow-hint;
-}
-
-.expand-header {
- display: none;
-
- &:hover {
- background: $shadow-hint;
- }
-}
-
-.collapse-header {
- width: 100%;
- justify-content: center;
- align-items: center;
- padding: 0;
- background: $profile;
-
- .icon {
- width: 100%;
- fill: $highlight;
- padding: .5rem 0;
- }
-
- &:hover .icon {
- background: $highlight-hint;
- fill: $text-contrast;
- }
-}
diff --git a/assets/js/curate.js b/assets/js/curate.js
index cfd6fdae..d7b52c21 100644
--- a/assets/js/curate.js
+++ b/assets/js/curate.js
@@ -31,8 +31,8 @@ function curateActor(actor, release) {
if (actor.profiles && actor.profiles.length > 0) {
const photos = actor.profiles
- .map(profile => profile.avatar)
- .filter(avatar => avatar && (!curatedActor.avatar || avatar.hash !== curatedActor.avatar.hash));
+ .map(profile => ({ entity: profile.entity, ...profile.avatar }))
+ .filter(avatar => avatar.id && (!curatedActor.avatar || avatar.hash !== curatedActor.avatar.hash));
const descriptions = actor.profiles.reduce((acc, profile) => ({
...acc,
diff --git a/assets/js/router.js b/assets/js/router.js
index b789b56a..5052d4c1 100644
--- a/assets/js/router.js
+++ b/assets/js/router.js
@@ -33,13 +33,12 @@ const routes = [
name: 'updates',
params: {
range: 'latest',
- tags: 'all',
pageNumber: 1,
},
},
},
{
- path: '/updates/:tags/:range/:pageNumber',
+ path: '/updates/:range/:pageNumber',
component: Home,
name: 'updates',
},
@@ -61,13 +60,12 @@ const routes = [
params: {
...from.params,
range: 'latest',
- tags: 'all',
pageNumber: 1,
},
}),
},
{
- path: '/actor/:actorId/:actorSlug/:tags/:range/:pageNumber',
+ path: '/actor/:actorId/:actorSlug/:range/:pageNumber',
component: Actor,
name: 'actorRange',
},
@@ -79,13 +77,12 @@ const routes = [
params: {
...from.params,
range: 'latest',
- tags: 'all',
pageNumber: 1,
},
}),
},
{
- path: '/channel/:entitySlug/:tags/:range/:pageNumber',
+ path: '/channel/:entitySlug/:range/:pageNumber',
component: Entity,
name: 'channel',
},
@@ -96,13 +93,12 @@ const routes = [
params: {
...from.params,
range: 'latest',
- tags: 'all',
pageNumber: 1,
},
}),
},
{
- path: '/network/:entitySlug/:tags/:range/:pageNumber',
+ path: '/network/:entitySlug/:range/:pageNumber',
component: Entity,
name: 'network',
},
@@ -113,12 +109,11 @@ const routes = [
params: {
...from.params,
range: 'latest',
- tags: 'all',
},
}),
},
{
- path: '/tag/:tagSlug/:tags/:range',
+ path: '/tag/:tagSlug:range',
component: Tag,
name: 'tag',
},