ZIm/crates/recent_projects/src
Smit Barmase ea8a3be91b
recent_projects: Move SSH server entry to initialize once instead of every render (#31650)
Currently, `RemoteEntry::SshConfig` for `ssh_config_servers` initializes
on every render. This leads to side effects like a new focus handle
being created on every render, which leads to breaking navigating
up/down for `ssh_config_servers` items.

This PR fixes it by moving the logic of remote entry
for`ssh_config_servers` into `default_mode`, and only rebuilding it when
`ssh_config_servers` actually changes.

Before:


https://github.com/user-attachments/assets/8c7187d3-16b5-4f96-aa73-fe4f8227b7d0

After:


https://github.com/user-attachments/assets/21588628-8b1c-43fb-bcb8-0b93c70a1e2b

Release Notes:

- Fixed issue navigating SSH config servers in Remote Projects with
keyboard.
2025-05-29 09:24:39 +05:30
..
disconnected_overlay.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
recent_projects.rs zed: Fix no way to open local folder from remote window (#30954) 2025-05-19 21:26:30 +05:30
remote_servers.rs recent_projects: Move SSH server entry to initialize once instead of every render (#31650) 2025-05-29 09:24:39 +05:30
ssh_config.rs Add a way to import ssh host names from the ssh config (#30926) 2025-05-18 20:34:47 +00:00
ssh_connections.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00