Mike Dalessio
ecbe040e3e
Implement Notification#card
...
Models now know how to find their cards, rather than trying to
implement this logic in a view helper.
2025-05-21 16:30:18 -04:00
Jorge Manrubia
ccb72ad229
Rename for consistency with what we had for comments
2025-04-24 14:51:25 +02:00
Jorge Manrubia
f258b05b23
Delegate target to the notifiable objects
2025-04-23 16:19:50 +02:00
Jorge Manrubia
53eba9bd0b
Favor after_create_commit to keep transactions fast
2025-04-23 15:28:28 +02:00
Jorge Manrubia
696732a90a
Rename mentions' container => source
2025-04-23 13:41:34 +02:00
Jorge Manrubia
edcc9e3279
Add mentionees as watchers
2025-04-23 12:38:06 +02:00
Jorge Manrubia
22df208f9a
Render proper content for mentions, don't send mentions to yourself
2025-04-22 14:11:21 +02:00
Jorge Manrubia
8aa99e34b4
Persist notification's creator
...
Instead of delegating. With a polymorphic relationship, relying on a certain
attribute implies doing things like aliasing "mentioner" to "creator" or similar.
2025-04-22 13:48:43 +02:00
Jorge Manrubia
4f06473405
Notifications for mentions showing up
2025-04-22 12:02:48 +02:00
Jorge Manrubia
aa3acfeaa8
Add plain text mentions
2025-04-22 11:26:56 +02:00