Commit Graph

16 Commits

Author SHA1 Message Date
df8bc97bd2 fix: unlike noop stale struct + likes floor at 0
- unlike noop now reloads tweet from DB (same fix as like noop from prev loop)
- decrement_likes uses GREATEST(likes - 1, 0) to prevent negative counts
- add fix_plan.md to track remaining work

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 19:51:56 -04:00
4c67f38fa3 fix: make tweet_like tests pass
- Add authorize?: false to user_fixture so register_with_password
  bypasses policy check in test context
- Add require Ash.Query so Ash.Query.filter macro works in count_likes
- Replace nonexistent Ash.ForbiddenField.forbidden?/1 with match?/2
- Fix stale tweet struct in :like noop case by reloading from DB

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 19:48:23 -04:00
90d7eab7d0 some ai generated code from claude that does not work 2026-04-08 02:03:43 -04:00
3c9910a723 Working metrics for all forms of interactions and updated .env.example 2026-04-07 00:09:10 -04:00
76a8acc731 Adjusted to properly type each of the database interactions 2026-04-06 23:31:17 -04:00
109ef398ee paginating comments and letting tweet authors delete comments on their post 2026-04-06 14:15:36 -04:00
faa96d88f5 added comments to tweets 2026-04-06 14:11:10 -04:00
4b36131183 Added following page to see posts from yourself and people you follow 2026-04-05 14:41:29 -04:00
874fec835d some reformatting and adjusting so logged in users get moved directly to their feed 2026-04-03 19:40:17 -04:00
0ac0b68029 Added timestamps to tweets and they organize by newest on top 2026-04-01 11:58:12 -04:00
1c1830b086 Adding likes to tweets 2026-03-31 15:18:46 -04:00
db57ac843b Made file uploads display in drafts 2026-03-30 14:56:24 -04:00
830ee36f84 Working s3 compatible file uplaods! 2026-03-30 14:28:44 -04:00
11bb3ddd1c starting work on adding s3 media support 2026-03-30 12:38:32 -04:00
a13f80cf07 Working basic frontend implementation 2026-03-30 02:06:15 -04:00
dcca583461 Setting up Posts and Posts.Tweet 2026-03-30 01:41:36 -04:00