Djordje Vlaisavljevic
51913a7990
Removed button for resizing the drawer
...
ref https://linear.app/ghost/issue/AP-498/remove-items-from-post-view-in-sidebar
2024-10-22 15:42:25 +01:00
Djordje Vlaisavljevic
797a34f9e2
Removed static Unfollow
button from Following
tab
...
ref https://linear.app/ghost/issue/AP-499/remove-unfollow-buttons-from-following-tab-on-your-profile
2024-10-22 15:42:25 +01:00
Djordje Vlaisavljevic
8846cb9d19
Removed static Delete
button from the dropdown
...
ref https://linear.app/ghost/issue/AP-420/i-can-see-a-delete-action-on-posts-that-are-not-mine
2024-10-22 15:42:25 +01:00
Djordje Vlaisavljevic
ba43678964
Fixed z-index issue
...
ref https://linear.app/tryghost/issue/AP-464/feed-view-refinements
2024-10-22 15:42:25 +01:00
Michael Barrett
e75de41eac
Filtered out non-follower activities on home feed of the admin-x-activitypub
app ( #21362 )
...
refs
[AP-477](https://linear.app/ghost/issue/AP-477/incorrect-posts-in-home-feed )
Filtered out non-follower activities on home feed of the
`admin-x-activitypub` app
2024-10-22 14:42:43 +01:00
Djordje Vlaisavljevic
7bc510f1c9
Bumped admin-x-activitypub to 0.1.5
...
no ref
2024-10-22 10:57:58 +01:00
Djordje Vlaisavljevic
6bc933f149
Fixed breakpoint for large screens
...
ref https://linear.app/tryghost/issue/AP-464/feed-view-refinements
2024-10-22 10:57:58 +01:00
Djordje Vlaisavljevic
5af25e1433
Bump admin-x-activitypub to 0.1.4
...
no ref
2024-10-22 09:33:40 +01:00
Michael Barrett
2f70d29baa
Reverted revert of reply filtering in admin-x-activitypub ( #21357 )
...
no refs
2024-10-22 09:33:34 +01:00
Djordje Vlaisavljevic
7c32527159
Updated ActivityPub design ( #21327 )
...
ref https://linear.app/ghost/issue/AP-476/remove-static-buttons-from-notifications-and-resolve-css-issues , https://linear.app/ghost/issue/AP-449/remove-follow-button-and-component , https://linear.app/ghost/issue/AP-448/add-loading-state-for-home-tab , https://linear.app/ghost/issue/AP-446/update-top-nav-bar-design
- Added the Suggestions sidebar
- Added real data to `Your profile` tab
- Switched navigation in top-bar to text-based
- Added loading states to Home and Activity tabs
- Fixed overflow and z-index CSS issues
- Removed `Unfollow` modal since now have a more user-friendly way to follow users
- Changed link color to blue
2024-10-21 20:24:36 +01:00
Michael Barrett
4277c2a9d5
Reverted reply filtering in admin-x-activitypub
( #21355 )
...
refs
[TryGhost/Ghost#21258 ](https://github.com/TryGhost/Ghost/pull/21258 )
Reverted reply filtering in `admin-x-activitypub` that was added in as a
temporary fix
2024-10-21 16:06:52 +01:00
renovate[bot]
32419e4e07
Update dependency use-debounce to v10.0.4
2024-10-14 00:24:20 +00:00
Fabien O'Carroll
72d46a4706
Bumb admin-x-activitypub to 0.1.3
2024-10-08 20:09:32 +01:00
Fabien O'Carroll
18f900f38b
Filtered replies out from activities
...
This is a temporary fix until we're able to work out what's going on in the
backend.
2024-10-08 20:09:32 +01:00
Michael Barrett
20cb63b9c6
Bump admin-x-activitypub to 0.1.2 ( #21257 )
...
no refs
2024-10-08 17:52:11 +01:00
Michael Barrett
4058fa2794
Added reply filtering to the activities tab of the activitypub app ( #21254 )
...
refs
[TryGhost/ActivityPub#63 ](https://github.com/TryGhost/ActivityPub/pull/63 )
2024-10-08 17:26:59 +01:00
Michael Barrett
f798955bc9
Tweaked feed item when in inbox view ( #21255 )
...
no refs
2024-10-08 17:03:14 +01:00
Fabien O'Carroll
f7c46088f6
Bumbed admin-x-activitypub to 0.1.1
...
This should roll out the fix for the ActivityPub API URL
2024-10-06 21:57:05 +07:00
Fabien O'Carroll
5d25b6e512
Removed _ObsoleteListIndex.tsx
...
This file is no longer used
2024-10-06 21:57:05 +07:00
Fabien O'Carroll
2fb4d83b5a
Remove usage of useSiteUrl
from Activities component
...
refs https://linear.app/tryghost/issue/AP-469
This takes advantage of the new criteria in the API so that we don't have to
use the problematic useSiteUrl.
2024-10-06 21:57:05 +07:00
Fabien O'Carroll
5bdfac4e1f
Ensured queries are dependent on siteUrl
...
refs https://linear.app/tryghost/issue/AP-469
The first time `useSiteUrl` was called it would return the origin of the admin
url, rather than the site url which causes errors in production. Instead of
relying on the admin-x-framework to get the site url, we can make the request
ourselves and cache it - this ensures that we always have the correct URL.
2024-10-06 21:57:05 +07:00
Djordje Vlaisavljevic
0729c76b95
Fixed tabs in profiles showing up in the wrong place
...
ref https://linear.app/tryghost/issue/AP-429/add-ui-for-searching-and-viewing-mastodon-profiles
2024-10-03 15:30:39 +01:00
Djordje Vlaisavljevic
1bb09a9b7e
Updated ActivityPub inbox layout and profiles ( #21200 )
...
- Improved inbox layout for the home screen, optimized for long-form
content
- Added expand/collapse when profile details are too long
- Added link to profile on the original server to profiles
ref https://linear.app/tryghost/issue/AP-463/add-show-all-to-profiles-with-long-summaries-and-attachment-lists , https://linear.app/tryghost/issue/AP-424/inbox-and-feed-view-need-to-be-differentiated
2024-10-03 15:01:20 +01:00
Michael Barrett
0d8ea553bd
Updated activitypub search suggestions to be dynamic ( #21202 )
...
refs
[TryGhost/ActivityPub#60 ](https://github.com/TryGhost/ActivityPub/pull/60 )
Updated activitypub search suggestions to be dynamic
2024-10-03 14:43:54 +01:00
Michael Barrett
d3d2ea44e4
Updated following/followers in activitypub profile preview to be dynamic ( #21170 )
...
refs
[AP-442](https://linear.app/tryghost/issue/AP-442/add-dynamic-following-followers-to-search-result-profile ),
[TryGhost/ActivityPub#53 ](https://github.com/TryGhost/ActivityPub/pull/53 )
Updated following/followers in activitypub profile preview to be dynamic
2024-10-02 15:41:25 +01:00
Michael Barrett
8fa9fb9c25
Updated search to be dynamic in admin-x-activitypub app ( #21099 )
...
refs
[AP-352](https://linear.app/tryghost/issue/AP-352/search-for-mastodon-usernames-in-ghost-admin )
Updated the search functionality in the admin-x-activitypub app to be
dynamic and utilise the search API endpoint provided by the activitypub
service
---------
Co-authored-by: Djordje Vlaisavljevic <dzvlais@gmail.com>
2024-09-30 11:32:05 +01:00
Fabien O'Carroll
146e702d93
Updated @tryghost/admin-x-activitypub to 0.1.0
...
This will test the release when we merge to main
2024-09-26 23:24:26 +07:00
Fabien O'Carroll
d9a2b0e3a6
Removed private flag
...
This is necessary so that we can publish to npm
2024-09-26 23:24:26 +07:00
Djordje Vlaisavljevic
cad5e27de9
Fixed Article feature image not showing up in the feed
...
ref https://linear.app/tryghost/issue/AP-433/article-feature-image-not-showing-in-the-feed
2024-09-25 10:27:24 +01:00
Daniel Lockyer
0187d6b6a2
Fixed versioning and npm visibility for internal apps
...
- these apps don't need to be published because they're internal and get
compiled into Admin
- therefore, we can reset their versions back to 0.0.0 and remove the
publishConfig block so we don't accidentally publish them
2024-09-25 09:09:06 +02:00
Fabien 'egg' O'Carroll
8a1e71a553
Implemented lazy loading for Inbox & Activities ( #21106 )
...
closes https://linear.app/tryghost/issue/AP-421
This makes loading the inbox and activity tabs _way_ faster, so we no
longer have to artificially restrict the amount of data coming in, it
also gives us proper pagination for both views.
2024-09-25 12:20:07 +07:00
Fabien O'Carroll
293a57adc7
Added fallback for Avatars when image loading fails
...
closes https://linear.app/tryghost/issue/AP-422
We found that some images will 403 when hotlinked, showing broken images, we
can catch these errors and render the default instead.
2024-09-24 16:51:01 +07:00
Michael Barrett
1a6da539b3
Updated activitypub app in preparation for pagination ( #21054 )
...
refs
[TryGhost/ActivityPub#44 ](https://github.com/TryGhost/ActivityPub/pull/44 )
To support pagination in the activitypub app, the following changes have
been made:
- Move filtering and sorting of activities to the server
- Refactor how comments are processed (comments are now returned as part
of the activity)
- Refactor how replies to own activities are processed in the activities
tab (removed object map)
2024-09-24 10:46:56 +01:00
Djordje Vlaisavljevic
f1553c385d
Added break-all to links inside notes to avoid overflows
...
ref https://linear.app/tryghost/issue/AP-412/need-break-all-for-long-strings-in-replies
2024-09-23 21:59:18 +01:00
Djordje Vlaisavljevic
281f497606
Added formatting for numbers in Tab counters and FeedItem stat counters
...
ref https://linear.app/tryghost/issue/AP-425/use-formatted-numbers-everywhere
2024-09-23 21:59:18 +01:00
Djordje Vlaisavljevic
b7ef6ef521
Added more flexible layout for profile attachments
...
ref https://linear.app/tryghost/issue/AP-305/profile-viewer-component-that-can-render-activitypub-actor-data
2024-09-23 21:59:18 +01:00
Djordje Vlaisavljevic
2ab618709a
Linked timestamps to original post URLs for easier navigation
...
ref https://linear.app/tryghost/issue/AP-408/add-link-to-original-post-location-in-ui-for-better-navigation
2024-09-23 21:59:18 +01:00
Fabien O'Carroll
2681e526f6
Fixed type errors for admin-x-activitypub
...
We didn't catch these because ci type checks weren't running, but they are now!
2024-09-21 10:20:20 +07:00
Fabien O'Carroll
92c17ade34
Ensured types are checked as part of unit tests
...
Otherwise we get green ticks on a PR and then the build fails on main
2024-09-21 10:20:20 +07:00
Djordje Vlaisavljevic
674227941e
Added nicer focus state so text and button don't clash
...
ref https://linear.app/tryghost/issue/AP-307/component-for-replying-to-objects-in-the-inboxfeed
2024-09-21 09:39:42 +07:00
Djordje Vlaisavljevic
ae50afe307
Fixed linting issue
...
ref https://linear.app/tryghost/issue/AP-307/component-for-replying-to-objects-in-the-inboxfeed
2024-09-21 09:39:42 +07:00
Djordje Vlaisavljevic
9bd2b26226
Fixed avatars appearing stretched in replies
...
ref https://linear.app/tryghost/issue/AP-374/add-design-for-replies
2024-09-21 09:39:42 +07:00
Djordje Vlaisavljevic
9b2228708a
Improved feed item layout and typography
...
ref https://linear.app/tryghost/issue/AP-282/render-notes-in-the-frontend
2024-09-21 09:39:42 +07:00
Djordje Vlaisavljevic
6d873600f0
Simplified drawer design
...
ref https://linear.app/tryghost/issue/AP-282/render-notes-in-the-frontend
2024-09-21 09:39:42 +07:00
Djordje Vlaisavljevic
4aa5e4f091
Added Just now
as a timestamp
...
ref https://linear.app/tryghost/issue/AP-282/render-notes-in-the-frontend
2024-09-21 09:39:42 +07:00
Fabien O'Carroll
0cf5d11bf2
Fixed bugs with textarea focus on disabled states
2024-09-21 09:39:42 +07:00
Fabien O'Carroll
bd2a0369ed
Added new reply to the comments state
...
ref https://linear.app/tryghost/issue/AP-395
This is a stopgap solution, because currently we don't have any of our own
reply data in the frontend, so this will show the new reply, but it won't be
present on page reload. Should be enough for a demo video, but I think we need
to either fetch our outbox, or make a new replies endpoint and fetch from there
2024-09-21 09:39:42 +07:00
Fabien O'Carroll
8cc3646c29
Fixed post reply button
...
ref b9d02f8051beb9120a282bcbf0f70440c2a3c39e
Because we disabled the button on blue of the textarea, it was being disabled
before the click would be handled! Using the mousedown event means that our
event gets handled before the blur.
2024-09-21 09:39:42 +07:00
Fabien O'Carroll
78bb1461a8
Focused reply input when clicking comment button in drawer
...
ref https://linear.app/tryghost/issue/AP-396
We need to use a number instead of boolean here so that the state is always
refreshed, otherwise we can run into issues where we set `focused` to true but
there's no rerender because it was previously set to true, but unfocused
2024-09-21 09:39:42 +07:00
Fabien O'Carroll
6a3632e457
Updated button based on focus state
...
ref https://linear.app/tryghost/issue/AP-398
This adds an internal focus state so that we can render the reply box different
based on whether or not the textarea is focused!
2024-09-21 09:39:42 +07:00