Skip to content
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
2d0b126
Add news scoring columns and indexes to post_link
dahlia May 30, 2026
b3975d7
Add news link scoring model
dahlia May 30, 2026
f089c6d
Refresh news scores incrementally when a link is shared
dahlia May 30, 2026
96ae357
Expose the news feed and link scores over GraphQL
dahlia May 30, 2026
ff0462f
Add news recompute mutation, status query, and periodic sweep
dahlia May 30, 2026
c036a50
web-next: Add the news feed page
dahlia May 30, 2026
36e4082
web-next: Add the per-link news discussion page
dahlia May 30, 2026
16299f4
web-next: Add the moderator news score recompute page
dahlia May 30, 2026
8ba2911
Score news links only from public engagement and on deletes
dahlia May 30, 2026
f300218
Exclude bot-account shares from News
dahlia May 30, 2026
937a23d
Damp repeated shares of the same link in News
dahlia May 30, 2026
273874a
web-next: Add PostLink.discussionCount for the News feed
dahlia May 30, 2026
433560e
web-next: Redesign the News feed card around the discussion
dahlia May 30, 2026
99f040d
web-next: Add an inline opinion composer to the News discussion page
dahlia May 30, 2026
755e57d
Add News moderation schema: score penalty + URL exclusions
dahlia May 30, 2026
fb2976d
Add News penalty + URL-exclusion model layer
dahlia May 30, 2026
30f13f5
Expose News moderation over GraphQL
dahlia May 30, 2026
9eaa9e5
web-next: Add News moderation UI (admin page + feed penalty control)
dahlia May 30, 2026
58be855
Re-score parent stories when bulk-deleting their replies and quotes
dahlia May 30, 2026
7bc2a1a
Decrement quotesCount when a federated quote is deleted
dahlia May 30, 2026
e8f0ce0
Order imports external-first in graphql news entry points
dahlia May 30, 2026
e157e18
Gate newsStory lookup to public news stories
dahlia May 30, 2026
9aca26d
Enable --unstable-cron for the GraphQL server tasks
dahlia May 30, 2026
05e58b2
Scope the sweep's exclusion pass to active links
dahlia May 30, 2026
e85c1a1
Describe the newsStory id argument
dahlia May 30, 2026
bb70d80
Reject a non-positive news page size
dahlia May 30, 2026
5000367
web-next: Sort the news discussion page imports
dahlia May 30, 2026
f2a5006
web-next: Paginate discussion quotes and bound deep-link expansion
dahlia May 30, 2026
20b320e
web-next: Fetch only the paginated connection in the discussion thread
dahlia May 30, 2026
cc3b706
web-next: Guard the discussion engagement-base URL parse
dahlia May 30, 2026
247c1c9
web-next: Auto-paginate quotes too when following a deep link
dahlia May 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions drizzle/20260530050716_overrated_captain_cross/migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ALTER TABLE "post_link" ADD COLUMN "score" double precision DEFAULT 0 NOT NULL;--> statement-breakpoint
ALTER TABLE "post_link" ADD COLUMN "weighted_mass" double precision DEFAULT 0 NOT NULL;--> statement-breakpoint
ALTER TABLE "post_link" ADD COLUMN "recency_component" double precision DEFAULT 0 NOT NULL;--> statement-breakpoint
ALTER TABLE "post_link" ADD COLUMN "post_count" integer DEFAULT 0 NOT NULL;--> statement-breakpoint
ALTER TABLE "post_link" ADD COLUMN "first_shared_at" timestamp with time zone;--> statement-breakpoint
ALTER TABLE "post_link" ADD COLUMN "latest_activity_at" timestamp with time zone;--> statement-breakpoint
Comment thread
dahlia marked this conversation as resolved.
ALTER TABLE "post_link" ADD COLUMN "score_updated" timestamp with time zone;--> statement-breakpoint
CREATE INDEX "idx_post_link_score" ON "post_link" ("score" desc,"id" desc) WHERE ("latest_activity_at" is not null);--> statement-breakpoint
CREATE INDEX "idx_post_link_first_shared" ON "post_link" ("first_shared_at" desc,"id" desc) WHERE ("latest_activity_at" is not null);--> statement-breakpoint
CREATE INDEX "idx_post_link_weighted_mass" ON "post_link" ("weighted_mass" desc,"id" desc) WHERE ("latest_activity_at" is not null);
Loading
Loading