Merge pull request #267 from cheeaun/main

Update from main
This commit is contained in:
Chee Aun 2023-10-19 07:17:54 +08:00 committed by GitHub
commit cb80057f21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 3 deletions

View file

@ -23,5 +23,6 @@ jobs:
- run: cd dist && zip -r ../phanpy-dist.zip . && cd ..
- uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref_name }}
generate_release_notes: true
files: phanpy-dist.zip

View file

@ -223,9 +223,11 @@ function AccountInfo({
// On first load, fetch familiar followers, merge to top of results' `value`
// Remove dups on every fetch
if (firstLoad) {
const familiarFollowers = await masto.v1.accounts
.familiarFollowers(id)
.fetch();
const familiarFollowers = await masto.v1.accounts.familiarFollowers.fetch(
{
id: [id],
},
);
familiarFollowersCache.current = familiarFollowers[0].accounts;
newValue = [
...familiarFollowersCache.current,

View file

@ -128,6 +128,7 @@ function AccountStatuses() {
to={`/${instance}/a/${id}`}
class="insignificant filter-clear"
title="Clear filters"
key="clear-filters"
>
<Icon icon="x" size="l" />
</Link>

View file

@ -30,6 +30,10 @@
.ancestors-indicator {
font-size: 70% !important;
& > .avatar:not(:first-child) {
margin-left: -4px;
}
}
.ancestors-indicator:not([hidden]) {
animation: slide-up 0.3s both ease-out 0.3s;