0e76ca1895
clean up
lint / lint (push) Failing after 5m1s
test / unit (push) Successful in 16m56s
test / integration (push) Failing after 19m2s
lint / lint (pull_request) Failing after 5m4s
test / unit (pull_request) Successful in 16m27s
test / integration (pull_request) Failing after 17m29s
2026-05-16 11:41:24 +02:00
2754e3e820
chore(application): fix unused import and clippy warnings in thoughts use cases
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 5m7s
test / unit (pull_request) Successful in 16m39s
test / integration (pull_request) Failing after 17m43s
2026-05-16 11:31:07 +02:00
4b1e7565ac
feat(bootstrap): wire ApiKeyServiceImpl + PgEngagementRepository
2026-05-16 11:21:19 +02:00
5618da7d37
refactor(presentation): replace impl FromAppState boilerplate with deps_struct! macro in remaining handlers
2026-05-16 11:19:04 +02:00
e9f7851400
refactor(presentation/feed): call ports directly — remove shallow use case wrappers
2026-05-16 11:16:57 +02:00
d701a40e61
feat(presentation/thoughts): use enrichment use cases — real engagement stats, no hardcoded zeros
2026-05-16 11:16:54 +02:00
eea1d3fe24
feat(presentation): add deps_struct! macro; add api_key_auth + engagement to AppState; use ApiKeyService in extractor
2026-05-16 11:10:45 +02:00
90866aea58
refactor(application): delete shallow feed use cases — keep only get_home_feed
2026-05-16 11:09:26 +02:00
2d2b5dde6a
feat(application): add get_thought_view + get_thread_views use cases with real engagement stats
2026-05-16 11:08:31 +02:00
bf5fd618cb
feat(postgres): add PgEngagementRepository with batch stats query
2026-05-16 11:04:54 +02:00
ae8a3dc6ed
feat(postgres): add list_paginated + find_by_ids to PgUserRepository
2026-05-16 11:04:33 +02:00
0222a168db
feat(auth): add ApiKeyServiceImpl — moves sha256 hashing out of presentation
2026-05-16 11:03:07 +02:00
d3223923e4
feat(domain/testing): add ApiKeyService, EngagementRepository, list_paginated, find_by_ids to TestStore
2026-05-16 11:01:54 +02:00
f4db518167
feat(domain): add ApiKeyService, EngagementRepository ports; extend UserReader with list_paginated + find_by_ids
2026-05-16 10:59:32 +02:00
8628acfb77
refactor(application): use UniqueViolation in register — remove postgres constraint strings
2026-05-16 10:58:14 +02:00
1ab3766ce8
fix(postgres): map unique constraint violations to DomainError::UniqueViolation
2026-05-16 10:57:04 +02:00
ca35e8e774
feat(domain): add DomainError::UniqueViolation {field}
2026-05-16 10:55:58 +02:00
65ec64a4d9
feat(activitypub): index hashtags from incoming federated notes
...
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 5m2s
test / unit (pull_request) Successful in 16m11s
test / integration (pull_request) Failing after 18m6s
- accept_note now returns ThoughtId (INSERT then SELECT by ap_id)
- ThoughtsObjectHandler extracts Hashtag entries from AP tag array, strips #, lowercases
- Calls TagRepository.find_or_create + attach_to_thought for each tag; failures silenced
- TagRepository injected into handler via bootstrap and worker factories
2026-05-16 02:56:07 +02:00
efa9bbc6e5
feat(bootstrap): inject TagRepository into ThoughtsObjectHandler
2026-05-16 02:52:58 +02:00
3907ee1538
feat(activitypub): index hashtags from incoming federated notes
2026-05-16 02:51:09 +02:00
98e96b306a
fix(postgres): accept_note returns ThoughtId via SELECT after INSERT
2026-05-16 02:48:52 +02:00
0d43d0adb9
refactor(ap-ports): accept_note returns ThoughtId instead of ()
2026-05-16 02:46:20 +02:00
1d35cedf3f
docs: federated hashtag indexing implementation plan
2026-05-16 02:43:39 +02:00
f895503175
docs: federated hashtag indexing design spec
2026-05-16 02:39:33 +02:00
78ee7b9388
feat: suspense boundaries, streaming sidebar, N+1 fix for top-friends
...
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 5m3s
test / unit (pull_request) Successful in 16m12s
test / integration (pull_request) Failing after 17m8s
- Backend: top-friends endpoint returns Vec<UserResponse> (JOIN already existed, handler was discarding data)
- Frontend: TopFriends self-contained — fetches own data via cookies, no more N+1 getUserProfile calls
- Frontend: sidebar (TopFriends, PopularTags, UsersCount) wrapped in Suspense — feed renders immediately
- Frontend: TagsSkeleton + CountSkeleton added to loading-skeleton.tsx
- Frontend: loading.tsx skeleton files added for feed, tags, search, and thread pages
2026-05-16 02:18:51 +02:00
f135e4d583
feat(frontend): loading.tsx skeletons for feed, tags, search, and thread pages
2026-05-16 02:16:45 +02:00
42baf3fe3c
perf(frontend): stream sidebar via Suspense — feed renders immediately; sidebar loads async
2026-05-16 02:14:36 +02:00
e86f07ef34
refactor(frontend): TopFriends self-contained — fetches own data, no N+1
2026-05-16 02:11:05 +02:00
98d3fdb832
feat(frontend): TagsSkeleton and CountSkeleton for sidebar Suspense fallbacks
2026-05-16 02:10:55 +02:00
2c3e7934b8
fix(frontend): getTopFriends schema returns UserSchema[] not string[]
2026-05-16 02:10:37 +02:00
29e4af26d8
fix(api): top-friends endpoint returns full UserResponse — eliminates frontend N+1
2026-05-16 02:08:22 +02:00
57b1bfc447
feat(api-types): TopFriendsResponse with Vec<UserResponse>
2026-05-16 02:06:06 +02:00
28521cc9ed
docs: suspense + streaming implementation plan
2026-05-16 02:03:52 +02:00
7f10349c76
docs: suspense + streaming design spec
2026-05-16 01:59:16 +02:00
e2210ba0f0
feat(frontend): performance + DRY + composition overhaul
...
- Tagged fetch cache: all GET fetches have next.tags for targeted invalidation
- Server Actions (thoughts, social, profile) replace scattered router.refresh()
- Eliminated author profile waterfall — use thought.author directly
- useOptimistic on FollowButton for instant feedback
- ThoughtForm unifies PostThoughtForm and ReplyForm
- EmptyState and LoadingSkeleton shared primitives
- RemoteUserProfile split into ProfileCard + Connections
2026-05-15 23:21:51 +02:00
448cd506eb
fix(frontend): remove dead activeTab state; guard URL hostname parse
2026-05-15 20:21:05 +02:00
c1c9539978
refactor(frontend): split RemoteUserProfile into ProfileCard + Connections
2026-05-15 20:16:39 +02:00
688e7b0018
refactor(frontend): FollowButton useOptimistic + Server Action; edit-profile-form Server Action
2026-05-15 20:08:49 +02:00
71233f069e
fix(frontend): ThoughtForm — safe onSuccess?.() on cancel, dedupe reply textarea classes
2026-05-15 20:07:27 +02:00
d450a1d8d8
refactor(frontend): EmptyState + LoadingSkeleton primitives; unified ThoughtForm replaces PostThoughtForm and ReplyForm
2026-05-15 20:01:00 +02:00
dadfe04934
perf(frontend): eliminate author profile waterfall — use thought.author directly
2026-05-15 19:47:06 +02:00
9ecbde019d
feat(frontend): Server Actions for thought, social, and profile mutations
2026-05-15 19:43:10 +02:00
ed789c6170
fix(frontend): tag remaining GET fetches for cache invalidation
2026-05-15 19:41:50 +02:00
091c3a4706
feat(frontend): add next.tags cache support to apiFetch; tag all GET fetches
2026-05-15 19:38:24 +02:00
fe610c8b6f
fix(frontend): tag getTopFriends fetch
2026-05-15 19:30:17 +02:00
4f92c16c0f
docs: frontend overhaul implementation plan
2026-05-15 19:24:28 +02:00
896d2d86c9
docs: frontend overhaul design spec
2026-05-15 19:17:31 +02:00
94ea7a287f
clean up
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 5m2s
test / unit (pull_request) Successful in 16m56s
test / integration (pull_request) Failing after 17m15s
2026-05-15 18:58:45 +02:00
511a09db25
chore: remove arch-refactors subproject
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 5m0s
test / unit (pull_request) Successful in 16m19s
test / integration (pull_request) Failing after 17m4s
2026-05-15 18:58:24 +02:00
0592861edd
refactor: 5 architectural improvements (Tasks 2-5 + Task 6 fix)
...
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 5m2s
test / unit (pull_request) Successful in 16m19s
test / integration (pull_request) Failing after 17m15s
- feat(domain): Hashtag value object with canonical extract() — unifies two
divergent private implementations; fields pre-compute raw/normalized/url_slug/ap_name
- feat(presentation): Deps<S: FromAppState> extractor — each handler now
declares its exact dependency surface; AppState unchanged; handlers
become unit-testable without mocking all 20 deps
- refactor(feed): replace 5 flat FeedRepository methods with FeedQuery/FeedScope
— single query() method; SQL shared logic lives once; adding feed types
no longer requires 5 edits
- refactor(activitypub): ActivityPubRepository + OutboundFederationPort moved
out of domain::ports into activitypub-base::ap_ports — domain crate no
longer knows about AP IDs, inboxes, or actor URLs
- fix(outbox): OutboxRelay now opens a per-row transaction so FOR UPDATE
SKIP LOCKED actually holds the lock during publish + mark_delivered
2026-05-15 18:54:20 +02:00