Jorge Manrubia
27f6006b58
Does not belong here anymore
2025-04-24 13:48:53 +02:00
Jorge Manrubia
905ccb9b4b
Make comments the event's host
2025-04-24 13:45:48 +02:00
Jorge Manrubia
18cc24e1d3
Add an event prefix named after the model now that events are generic
2025-04-24 13:20:09 +02:00
Jorge Manrubia
54f4bd5144
Generalize event's cards as eventable,add collection
...
Lots to tidy up but this is working
2025-04-24 12:28:16 +02:00
Jorge Manrubia
646e4a59bc
Fix missing variable name
2025-04-23 18:45:55 +02:00
Jorge Manrubia
07d3447e7e
Resolve notifications URLs
2025-04-23 14:34:59 +02:00
Jorge Manrubia
2eae58725a
Remove notifications' resource relationship
...
Is confusing since "source" already captures the origin of the notifications. It's
needed to interpret things at rendering time, so we can query things as needed there.
2025-04-23 13:52:47 +02:00
Jorge Manrubia
7c0aff0680
Don't indent case
2025-04-23 13:36:39 +02:00
Jorge Manrubia
043230394e
Tidy up event helper code
...
Also, revert to using a helper method to determine the event action, since this is purely a view concern. Keep method at the event model to identify initial assignments.
2025-04-23 13:35:09 +02:00
Jorge Manrubia
68e2e96076
Fix indentation
2025-04-23 10:44:42 +02:00
Jorge Manrubia
9b4fec936e
Move mentions to comments
...
- It does not make sense to scan "event summaries" for notifications.
- Placing them at the message level prevents us from using the generic approach to extract the mentionable content
2025-04-22 16:17:37 +02:00
Jorge Manrubia
3bf73a0b71
Rename to match actual action
2025-04-22 14:22:23 +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
David Heinemeier Hansson
73f272f132
Use one controller for all notification readings
2025-04-15 19:14:50 +02:00
Kevin McConnell
028a43e652
Title is on the related card
2025-04-14 15:50:24 +01:00
David Heinemeier Hansson
cf93da6886
Get rid of card_title
...
We can just set untitled on assignment of empty
2025-04-12 21:29:56 +02:00
Jason Zimdars
84276e85ba
Ensure overflow cards are hidden
2025-04-10 09:43:09 -05:00
Jorge Manrubia
723e6d94f5
Rename bubbles => cards
2025-04-09 14:50:58 +02:00
Andy Smith
65252afbd2
Remove relative utility class from tray items
2025-04-04 11:19:09 -05:00
Jason Zimdars
c7aba17303
Massive refactor for better font sizing and responsive layout
2025-03-26 11:45:14 -05:00
Jason Zimdars
cbc9567966
Smaller tray cards
2025-03-21 14:54:26 -05:00
Jason Zimdars
eaf927f1a8
Refactor tray styles
2025-03-20 17:54:24 -05:00
Jason Zimdars
e92995b5e5
Account for untitled bubbles
2025-03-20 11:41:02 -05:00
Jason Zimdars
0045fb2af2
Fix overflowing notifications content
2025-02-21 17:03:58 -06:00
Jason Zimdars
28bdc531b0
Mark individual notifications as read
2025-02-21 16:39:50 -06:00
Jason Fried
85b144bb2c
Removed the extra "by"
2025-02-05 18:24:31 -08:00
Jason Zimdars
40f3925712
Add more context
2025-01-24 14:09:59 -06:00
Jason Zimdars
823602bcee
Avoid leaving the tray open
2025-01-24 13:56:03 -06:00
Kevin McConnell
1f3bc1134f
Paginate the read notifications
2025-01-24 17:42:36 +00:00
Kevin McConnell
dbb3fd3b9c
Simplify
2025-01-15 12:03:56 +00:00
Kevin McConnell
056d853cc8
Don't notify while bubbles are still drafted
2025-01-15 11:42:35 +00:00
Kevin McConnell
782259a678
Events should track published now
...
Previously when an item was `created`, we'd track the event, update the
summary text, and broadcast the notifications. But now that we have a
draft state, we shold do all of this when it's published instead.
2025-01-15 10:58:00 +00:00
Kevin McConnell
ab154f2f35
Generate notification content in a helper
2025-01-14 13:08:12 +00:00
Jason Zimdars
5f88cd3900
Design for notifications
2025-01-13 20:46:51 -06:00
Kevin McConnell
64795804ba
Style
2025-01-13 14:21:47 +00:00
Kevin McConnell
46989f6ebe
Mark notification read when viewing the Bubble
2025-01-13 14:21:47 +00:00
Kevin McConnell
febcb6c344
A partial is clearer than a helper here
2025-01-13 14:21:47 +00:00
Kevin McConnell
31ac7950ce
Use turbo:click, not click
...
Otherwise Turbo falls back to a regular Browser navigation.
2025-01-13 14:21:47 +00:00
Kevin McConnell
6f7268f941
Set ID so a notification can't show up twice
2025-01-13 14:21:47 +00:00
Kevin McConnell
fd1789ed58
Mark notifications read when clicked on
2025-01-13 14:21:47 +00:00
Kevin McConnell
876083c697
Broadcast new notifications
2025-01-13 14:21:47 +00:00
Kevin McConnell
0c152b5439
Style the tray a little bit
2025-01-13 14:21:47 +00:00
Kevin McConnell
952895ae67
WIP: show notifications in a tray
2025-01-13 14:21:47 +00:00