ZIm/crates/collab_ui/src
Michael Sloan a94afbc062
Switch from Arc/RwLock to Rc/RefCell for CodeContextMenu (#22035)
`CodeContextMenu` is always accessed on one thread, so only `Rc`s and
`Rc<RefCell<_>>` are needed. There should be tiny performance benefits
from this. The main benefit of this is that when seeing code accessing a
`RwLock` it would be reasonable to wonder whether it will block. The
only potential downside is the potential for panics due to overlapping
borrows of the RefCells. I think this is an acceptable risk because most
errors of this nature will be local or will be caught by clippy via the
check for holding a RefCell reference over an `await`.

Release Notes:

- N/A
2024-12-16 01:50:21 -07:00
..
chat_panel Switch from Arc/RwLock to Rc/RefCell for CodeContextMenu (#22035) 2024-12-16 01:50:21 -07:00
collab_panel Improve StringMatchCandidate::new interface (#22011) 2024-12-14 13:35:36 -07:00
notifications chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
channel_view.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
chat_panel.rs Dynamic tab bar height (#19076) 2024-11-16 13:48:25 +02:00
collab_panel.rs Improve StringMatchCandidate::new interface (#22011) 2024-12-14 13:35:36 -07:00
collab_ui.rs collab_ui: Remove dependency on vcs_menu (#21016) 2024-11-21 15:48:35 -05:00
notification_panel.rs Dynamic tab bar height (#19076) 2024-11-16 13:48:25 +02:00
notifications.rs Add stories for collab notifications (#3967) 2024-01-08 21:54:59 -05:00
panel_settings.rs Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00