Kevin McConnell
39c0a95e1a
We'll handle this at the event level
2025-02-11 14:34:39 +00:00
Kevin McConnell
321384b573
Replace "editing" param with creating? state
2025-02-11 14:34:39 +00:00
Kevin McConnell
b347d77f4d
Add a new "creating" state
2025-02-11 14:34:39 +00:00
Jason Zimdars
346ecc34af
Projects -> Collections
2025-02-06 16:24:05 -06:00
Kevin McConnell
5421d45efa
Update tag test
2025-02-05 10:03:06 +00:00
Kevin McConnell
2e7870c6ff
Update test
2025-01-30 14:08:11 +00:00
Kevin McConnell
9a1d8193ca
Fix test
2025-01-29 09:34:54 +00:00
Jason Zimdars
c7503c2663
Actually that should be an element, not modifier class
2025-01-28 18:05:01 -06:00
Jason Zimdars
523b543244
Rename, they're all wrapped now
2025-01-28 18:04:24 -06:00
Kevin McConnell
5b1a774b52
Add test for events controller
2025-01-28 17:40:03 +00:00
Jason Zimdars
881e1d07fc
Merge branch 'main' into latest-activity
...
* main: (27 commits)
Leave some space for the tray
Let's not assume it's a due date
Avoid overlap
Let's try without the big drag button, extend beyond the column a touch
Tighten labels
Match notification dot
Spacing
Add more context
Avoid leaving the tray open
This shouldn't be here
Paginate the read notifications
Add a test case
Split up a big view
Allow filtering by stage
Send beacon request on disconnect as well
Wire up notifications "Mark all as read" button
Add unread dot
Set state for when there are no new notifications
Move to right side, smooth transition
Open tray on click, stub mark-as-read button
...
2025-01-24 15:07:17 -06:00
Jason Zimdars
c068fac93f
Merge branch 'notification-index'
...
* notification-index:
This shouldn't be here
Paginate the read notifications
Send beacon request on disconnect as well
Wire up notifications "Mark all as read" button
Add unread dot
Set state for when there are no new notifications
Move to right side, smooth transition
Open tray on click, stub mark-as-read button
Refactor
`New for you` empty state
Add a notifications button to the tray for reaching the index when you have no unreads
Needed when truncating so the avatar isn't squished
Style notifications index; add truncation for long notifications
Add an index view for all notifications
Move notifications to tray controller
2025-01-24 13:41:59 -06:00
Kevin McConnell
2370bd0053
Add a test case
2025-01-24 10:43:46 +00:00
Kevin McConnell
85d5f7d7d7
Allow filtering by stage
2025-01-24 10:28:12 +00:00
Kevin McConnell
5d5dc8fb73
Wire up notifications "Mark all as read" button
2025-01-21 14:37:41 +00:00
Kevin McConnell
e6fe7f680d
Associate Event with Bubble
...
It's kind of a long way to get from one to the other right now. Every
event belongs to a bubble, so let's link them directly.
2025-01-17 14:40:36 +00:00
Kevin McConnell
6706802b89
Add an index view for all notifications
2025-01-16 17:48:38 +00:00
Kevin McConnell
c4f50fa634
Move notifications to tray controller
2025-01-16 17:48:38 +00:00
Jose Farias
4441dc7cd8
Test passing params in different order
2025-01-15 16:55:57 -06:00
Jose Farias
19874dcc2a
Test creating an equivalent filter with a different user
2025-01-15 16:41:25 -06:00
Jose Farias
e9a085f848
Simplify filters
2025-01-15 16:27:33 -06:00
Kevin McConnell
056d853cc8
Don't notify while bubbles are still drafted
2025-01-15 11:42:35 +00:00
Kevin McConnell
731f93b55a
Add test
2025-01-15 10:58:00 +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
cd1e6378d0
Add drafted and published states
2025-01-15 10:58:00 +00:00
Kevin McConnell
345acb1c0b
Add test for readings controller
2025-01-14 14:38:46 +00:00
Kevin McConnell
9fc5311ddc
Add simple controller test
2025-01-14 14:10:24 +00:00
Kevin McConnell
9ddb7b260b
Remove empty test
2025-01-14 14:07:21 +00:00
Kevin McConnell
df260840ab
Simplify test
2025-01-14 13:29:39 +00:00
Kevin McConnell
78b7fe0f3d
Fix tests
2025-01-14 13:21:20 +00:00
Kevin McConnell
ab154f2f35
Generate notification content in a helper
2025-01-14 13:08:12 +00:00
Kevin McConnell
30b58f716b
Make title a notifier attribute
2025-01-14 10:21:47 +00:00
Kevin McConnell
46989f6ebe
Mark notification read when viewing the Bubble
2025-01-13 14:21:47 +00:00
Kevin McConnell
271ac063f9
Adjust a fixture
2025-01-13 14:21:47 +00:00
Kevin McConnell
c62e800b08
Notifications are all related to a Bubble
2025-01-13 14:21:47 +00:00
Kevin McConnell
d536358228
Make fixture match expected content
2025-01-13 14:21:47 +00:00
Kevin McConnell
66d0f29d45
Notify on pop as well
...
And DRY up some duplication.
2025-01-13 14:21:47 +00:00
Kevin McConnell
e67ac372d3
Fix test
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
dc53a39b93
Update notification body
2025-01-13 14:21:47 +00:00
Kevin McConnell
af5ac65116
Make notification target polymorphic
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
Kevin McConnell
5a56c16029
Add a factory for creating notifications
2025-01-13 14:21:47 +00:00
Kevin McConnell
d0ae5b4bdc
Add notification model
2025-01-13 14:21:47 +00:00
Kevin McConnell
22be073a92
Sanitize search terms
2025-01-08 16:49:40 +00:00
Kevin McConnell
93536c3e41
Don't reload entire page when creating comment
2025-01-07 14:47:31 +00:00
Jason Zimdars
0a6b5571c0
Merge pull request #167 from basecamp/users
...
Account users
2024-12-19 11:11:41 -06:00
Jose Farias
5b83d0b5b2
Filter#persist! -> Filter#remember
2024-12-18 18:34:47 -06:00
Jose Farias
7d83874266
Use Redcarpet for plain text rendering
2024-12-18 16:39:56 -06:00
Jason Zimdars
592c88e639
Add session transfer feature
2024-12-18 12:38:53 -06:00