Commit Graph
810 Commits
Author SHA1 Message Date
Piotr OsiewiczandKyle 8941bd9faf Change styling of match nav buttons
Co-authored-by: Kyle <kyle@zed.dev>
2023-08-04 17:35:59 +02:00
Piotr Osiewicz caa83dc124 Align search bar in the middle 2023-08-04 15:38:53 +02:00
Piotr Osiewicz a3ee56ee46 Prevent modes from being vertically centered when row_count changes 2023-08-04 13:54:50 +02:00
Piotr Osiewicz 79bd133753 Refresh windows on toggle_filters. 2023-08-04 12:25:18 +02:00
Piotr Osiewicz c3ff97ea6f Revert "Focus filters when enabled"
This reverts commit 288ed7b317.
2023-08-04 12:24:57 +02:00
Piotr Osiewicz 288ed7b317 Focus filters when enabled 2023-08-04 02:33:48 +02:00
Nathan Sobo 40f28de681 Don't refcount window handles 2023-08-03 17:11:47 -06:00
Nathan Sobo aaa63b400b WIP 2023-08-03 17:03:39 -06:00
KCaverly 1f4dc1c1e2 updated project_search text 2023-08-03 17:02:46 -04:00
04ca258c8c Rewrite permission queries (it no longer blocks)
Co-authored-by: Kyle <kyle@zed.dev>
Co-authored-by: Max <max@zed.dev>
2023-08-03 20:26:56 +02:00
Piotr OsiewiczandKyle b8e0b690f7 Query semantic_permissioned on demand.
Co-authored-by: Kyle <kyle@zed.dev>
2023-08-03 19:27:27 +02:00
Piotr OsiewiczandKyle e97f3b79b6 Query Semantic Index Engine for permission state.
Co-authored-by: Kyle <kyle@zed.dev>
2023-08-03 19:18:14 +02:00
KCaverlyandPiotr 246a163581 add semantic search prompt for the indexing permission on first search
Co-authored-by: Piotr <piotr@zed.dev>
2023-08-03 12:52:20 -04:00
KCaverly b07e155864 update minor text when actively searching 2023-08-03 10:22:31 -04:00
Piotr OsiewiczandKyle 39b85d556c Clean up compiler warnings
Co-authored-by: Kyle <kyle@zed.dev>
2023-08-03 16:12:08 +02:00
KCaverly 27c7f89330 update search text for no results 2023-08-02 17:14:15 -04:00
KCaverly 599c7e814c catch up with main 2023-08-02 16:48:11 -04:00
Nathan Sobo 680c0185e4 Get tests compiling returning WindowHandle<V: View> from add_window 2023-08-02 14:05:03 -06:00
KCaverly ef34de3b11 update keymaps for cycle search mode and toggle filters 2023-08-02 15:08:54 -04:00
KCaverly 595f1fca50 add kill_search function to stop searching on mode change 2023-08-02 14:18:28 -04:00
KCaverlyandPiotr 486eb5c69d refactored search mode to ensure state is consistent
Co-authored-by: Piotr <piotr@zed.dev>
2023-08-02 12:29:19 -04:00
Piotr Osiewicz 34ab706953 Add borders to button sides 2023-08-02 11:27:59 -04:00
KCaverlyandPiotr e46acaeb79 add theme for search mode option buttons, and adjust padding
Co-authored-by: Piotr <piotr@zed.dev>
2023-08-02 11:23:55 -04:00
Piotr Osiewicz 8fa2264ecb Add borders to button sides 2023-08-02 16:33:35 +02:00
Piotr Osiewicz f0c2e1a240 Fix query editor 'floating' when filters are enabled 2023-08-02 14:05:09 +02:00
Piotr Osiewicz 629eae3361 Touch up rounding on the sides of mode switcher 2023-08-02 13:52:02 +02:00
Piotr Osiewicz 0f46868809 WIP: Add ButtonSide element 2023-08-02 13:05:29 +02:00
KCaverlyandPiotr a48b8e2630 added major and minor display text to project search, and fixed icon padding
Co-authored-by: Piotr <piotr@zed.dev>
2023-08-01 13:28:21 -04:00
KCaverlyandPiotr fae798fc64 added svg right margin in search bar
Co-authored-by: Piotr <piotr@zed.dev>
2023-08-01 12:34:02 -04:00
Piotr OsiewiczandKyle 22441950ae Update case insensitive button.
Co-authored-by: Kyle <kyle@zed.dev>
2023-08-01 17:56:09 +02:00
KCaverlyandPiotrek aff7cbaf0c add cycle mode to project search
Co-authored-by: Piotrek <piotr@zed.dev>
2023-08-01 11:47:30 -04:00
Piotr Osiewicz dab8d591ac Hide whole word/case sensitive options under semantic search 2023-08-01 17:07:21 +02:00
Piotr Osiewicz 55f26f858c Use icons instead of text in toggles 2023-08-01 11:20:23 +02:00
Piotr Osiewicz e0f40d48cd Move buttons inside of query editor (WIP) 2023-08-01 02:06:40 +02:00
Piotr Osiewicz eb1c89fc18 Add WIP Normal button (resuses parts of semantic button, gotta wire it proper) 2023-08-01 00:44:52 +02:00
Kirill Bulatov 97bea79029 Add project search history 2023-08-01 01:31:28 +03:00
Kirill Bulatov a4f69b5b45 Add buffer search history 2023-08-01 01:31:28 +03:00
Conrad Irwin 5e07c1b2e2 Don't highlight project search matches either (#2807)
@JosephTLyons this is probably worth merging alongside #2803

- vim: Fix a bug where focusing project search results unexpectedly
entered visual mode
2023-07-28 12:25:32 -06:00
Conrad Irwin 636b03eeb8 Don't highlight project search matches either 2023-07-28 12:17:32 -06:00
Kirill Bulatov 598996eaf3 Make project search includes and excludes more user-friendly
Allow search results that start with the include/exclude path part
2023-07-28 12:56:44 +03:00
Piotr Osiewicz 233201e52d Update results text 2023-07-27 16:31:24 +02:00
Piotr Osiewicz 138da2d934 Make row_count of toolbaritem dynamic (WIP).
Move result count to the left hand side.
2023-07-27 16:03:26 +02:00
Piotr Osiewicz 87420b078a Add filter button.
Move semantic & regex buttons to the right hand side.
Add default tab name for the new project search.
2023-07-27 13:08:31 +02:00
Piotr Osiewicz b515383a2c Use a three-way layout 2023-07-27 12:18:19 +02:00
Piotr Osiewicz 7341f631d3 WIP: project search redesign 2023-07-27 11:43:32 +02:00
KCaverly 3d2d6b9fa2 catchup with main 2023-07-26 09:50:38 -04:00
KCaverly a399e9f41c update project search to only show semantic button visible with semantic_index enabled 2023-07-25 16:26:37 -04:00
KCaverly eb8aaebf66 move visible text to just start anchor with context lines for semantic search 2023-07-25 15:24:27 -04:00
Kirill Bulatov 9b1e8583b7 Fixes a crash when SelectAllMatches action was called on no matches 2023-07-24 15:42:10 +03:00
Kirill Bulatov aae5cf61e1 Add search in directory action in the project panel 2023-07-21 22:47:57 +03:00