Files
oak-gpui/crates
Anthony EidandMikayla Maki d83c316e6d Fix Project Panel select_next_git_entry action (#24217)
## Context

I noticed that the project panel `select_next_git_entry` wasn't behaving
correctly. Turns out it was searching in reverse, which caused the
action to select itself or the last entry.

This PR corrects the behavior and adds a unit test that should stop
regressions.

Note: Since select next/prev git entry uses the same function as select
next/prev diagnostic, the test partially works for that as well.

Release Notes:

- Fix bug where `select_next_git_entry` project panel action would only
select a previous entry or the currently selected entry.

---------

Co-authored-by: Mikayla Maki <mikayla@zed.dev>
2025-02-07 03:04:02 +00:00
..
2025-02-07 02:14:57 +00:00
2025-01-27 13:40:59 -05:00
2025-02-07 02:14:57 +00:00
2025-02-06 18:37:50 -08:00
2025-02-03 13:18:50 -07:00
2025-02-07 02:14:57 +00:00
2025-02-03 13:18:50 -07:00
2025-02-07 02:14:57 +00:00
2025-02-07 02:14:57 +00:00
2025-02-07 02:14:57 +00:00
2025-02-06 21:45:03 +00:00