Jorge Manrubia
08d8b2e5ff
Revert "Replace House with Lexical"
2025-05-29 14:22:27 +02:00
Jorge Manrubia
10b2aad647
Replace House with lexical-powered actiontext
2025-05-23 11:41:08 +02:00
Jorge Manrubia
970a51db28
No need for it!
2025-04-23 15:49:22 +02:00
Jorge Manrubia
6f98f2f573
Order methods
2025-04-23 15:32:22 +02:00
Jorge Manrubia
e8e95bd511
Use it
2025-04-23 15:27:25 +02:00
Jorge Manrubia
4bef466df2
1-line
2025-04-23 15:22:41 +02:00
Jorge Manrubia
469fb9f049
Simplify the logic to determine action text changes
2025-04-23 15:02:31 +02:00
Jorge Manrubia
696732a90a
Rename mentions' container => source
2025-04-23 13:41:34 +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
755c9b45c7
Rename and fix problem where after_touch was overriding the saved content
2025-04-23 12:38:33 +02:00
Jorge Manrubia
8ebb3f2fa9
We need to remember on after_touch so that the mechanism triggers when touch-cascading records automatically via associations
2025-04-23 11:38:34 +02:00
Jorge Manrubia
8b6cfccded
Rename to clarify usage
2025-04-23 11:20:33 +02:00
Jorge Manrubia
b510ca0318
Don't choke for nil values
2025-04-23 10:56:00 +02:00
Jorge Manrubia
af8701567a
Extract method
2025-04-23 10:35:18 +02:00
Jorge Manrubia
c3cd873588
Rename collect => create
2025-04-23 10:30:30 +02:00
Jorge Manrubia
cdadc0373a
Don't trigger unless the mentionable content changes
...
This is also needed to prevent incorrect triggering on cascade touches!
2025-04-22 18:10:27 +02:00
Jorge Manrubia
beac61699c
Not needed
2025-04-22 14:21:26 +02:00
Jorge Manrubia
d5f0359338
Extract mentionable content using reflection to remove duplicated logic and the need for additional concerns
2025-04-22 14:19:45 +02:00
Jorge Manrubia
aa3acfeaa8
Add plain text mentions
2025-04-22 11:26:56 +02:00