Antonio Scandurra
2f3b408880
Dismiss mention notification when x icon is clicked
...
We were emitting the wrong kind of event, which caused the workspace
to never remove the notification.
2023-12-22 15:12:01 +01:00
Max Brunsfeld
afbc655100
Ensure that views' on_release callbacks are always called ( #3747 )
...
* Ensure that views' on_release callbacks are always called (even if
their window is gone), by passing them a `AppContext`, not a
`WindowContext`.
* Fix leaked handles to `CollabPanel`, `NotificationPanel`, and
`ChatPanel` caused by captures in a `ListState` render callback.
This fixes two issues we were seeing with following:
* inability to rejoin a remote project after you closed it
* following not working if a window had previously been closed
2023-12-20 16:45:37 -08:00
Max Brunsfeld
24970c1da9
Fix view handle leaks in ListState callbacks
2023-12-20 16:33:10 -08:00
Marshall Bowers
da34dd49bb
Fix text wrapping issues with overflow_hidden
...
This seems to influence sizing calculations in ways I don't fully understand.
2023-12-20 13:25:17 -05:00
Marshall Bowers
b0b4610a73
Fix positioning of right items
2023-12-20 13:05:21 -05:00
Marshall Bowers
87f879bfa9
Add text wrapping to notifications
2023-12-20 12:48:30 -05:00
Marshall Bowers
636c12ec3f
Style signed-out and empty states for the notification panel
2023-12-20 11:45:18 -05:00
Marshall Bowers
5145795f33
Adjust styles for notification panel container
2023-12-20 11:27:28 -05:00
Julia and Conrad Irwin
29413bc72c
Fix defer handle double lease
...
Co-Authored-By: Conrad Irwin <conrad@zed.dev >
2023-12-12 17:47:12 -05:00
Julia
51ceb52931
Fix borked layout
2023-12-12 17:22:49 -05:00
Julia
01d4e711d8
Get notifications rendering in panel
2023-12-12 16:31:26 -05:00
Julia
d3eff6371e
Panel showing up
2023-12-12 16:14:43 -05:00
Julia
52e72d9648
Builds and runs
2023-12-12 13:07:17 -05:00
Julia
fd6320b136
Finish fixing up Avatar using URI
2023-12-12 11:49:04 -05:00
Julia and Antonio Scandurra
44d40625fe
Start changing Avatar to use URI
...
Co-Authored-By: Antonio Scandurra <antonio@zed.dev >
2023-12-12 11:27:40 -05:00
Julia
376716254f
Start port of notification panel
2023-12-11 20:40:48 -05:00
Conrad Irwin
793fa6e3a4
Move placeholder titlebar render to collab_ui
2023-11-15 16:09:21 -07:00
Conrad Irwin
84bcbf1128
Add collab_ui2
2023-11-15 16:08:03 -07:00