Kyle Caverly
7c7abfda35
Eager Semantic Indexing Queue ( #2886 )
...
Optimization to the Semantic Indexing Engine.
We've transitioned from a framework in which the entire project tree is
walked at each index command, to an eager queuing method, in which an
initial queue of outstanding indexing work is initialized upon workspace
creation, and then subscriptions are leveraged for file change events to
continually keep an updated view on outstanding work.
This optimization contributes towards quicker user feedback, when
initializing or using Semantic Search functionality. It also opens the
doors towards better transparency across the system on outstanding
indexing work.
Release Notes:
- Refactored index operation queue to an eager queuing framework.
- Moved semantic search initialization to workspace creation.
- Adjusted rate limiting strategy on api delays to reduce time spent
waiting for rate limits.
2023-08-25 11:03:05 +02:00
KCaverly
0f2cb8b95a
cleaned up warnings
2023-08-25 10:38:01 +02:00
Joseph T. Lyons
a17c436619
Automatically enable project search filters when using Search Inside
2023-08-25 02:21:07 -04:00
KCaverly and Piotr
599fd0907a
reindex semantic index when search project pane is reactivated in semantic mode
...
Co-authored-by: Piotr <piotr@zed.dev >
2023-08-24 13:40:04 +02:00
KCaverly and Piotr
c9f14168fc
move semantic search project intialization to a subscribe event for workspace created
...
Co-authored-by: Piotr <piotr@zed.dev >
2023-08-24 13:14:19 +02:00
Mikayla
7f16fb40ca
Merge branch 'main' into disclosable-component
2023-08-23 16:30:27 -07:00
KCaverly
9f1dfb2bb3
catchup with main
2023-08-23 22:31:39 +02:00
KCaverly
e2ea335626
fix async calls on project updated entries to ensure that all files are updating appropriately
2023-08-23 22:28:30 +02:00
Nathan Sobo
ec9bebc7f4
Merge branch 'main' into divs
2023-08-22 16:35:56 -06:00
KCaverly
266de7c0f2
working on initialization + index breakup
2023-08-22 14:45:27 +02:00
KCaverly
a61ec2ec89
reworked ProjectState to include additional context
2023-08-22 11:58:48 +02:00
Piotr Osiewicz and Kyle
1020f10c1c
project_search: use search history's current entry as a tab name.
...
Previously the tab name for Semantic Search was not updated, as we didn't have an active query to go off of
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-21 13:30:32 +02:00
Mikayla
e24c757784
Finish building out adapters and names
...
Document core traits
Add start for a component storybook
2023-08-19 14:40:05 -07:00
Mikayla
8f0aa2b056
Add disclosable components into channels
...
Rename components to more closely match their purpose
2023-08-19 05:18:53 -07:00
Mikayla
7167bf969f
Actually get it compiling, omg
2023-08-18 19:02:27 -07:00
Mikayla
95e52600e2
WIP: Add disclosable channels
2023-08-18 18:11:05 -07:00
Mikayla
14c4034599
Revert "Remove semantic search UI"
...
This reverts commit 63477cf1f1 .
2023-08-18 16:18:28 -07:00
Mikayla
64d964fee6
Finish rename correctly
2023-08-18 15:26:36 -07:00
Mikayla
c54ac129db
Make search re-query eagerly when changing modes
...
Fix a bug where focus could be lost when clearing the search results
2023-08-17 17:53:58 -07:00
Mikayla
63477cf1f1
Remove semantic search UI
2023-08-17 17:28:09 -07:00
Mikayla
87dcbf864c
Add action button component for rendering the search options
2023-08-17 17:28:09 -07:00
Mikayla
6a79716245
Add action button component for rendering the search options
2023-08-17 15:30:40 -07:00
KCaverly
560e3e150a
ensured search results are cleared appropriately while cycling modes
2023-08-17 11:11:09 +01:00
Mikayla
a37da1b636
Merge branch 'main' into project_search_design
2023-08-17 01:56:05 -07:00
Kirill Bulatov
2b1a1afcfb
Do not leak pane handles
2023-08-16 23:38:11 +03:00
Kirill Bulatov
7cd278f4b8
Draft quick actions bar
2023-08-16 23:38:11 +03:00
KCaverly and Piotr
7e2e69a6b5
remove kill search, and restart search immediately upon cycle mode
...
Co-authored-by: Piotr <piotr@zed.dev >
2023-08-16 16:13:21 +01:00
KCaverly and Piotr
9d4fe6b926
fix semantic search panic which is created via incompatible build_search_query path
...
Co-authored-by: Piotr <piotr@zed.dev >
2023-08-16 15:50:54 +01:00
KCaverly
5c337f820d
removed commented out code
2023-08-16 14:01:53 +01:00
KCaverly and Piotr
4c6dbb2e57
adjusted icon sizes downwards
...
Co-authored-by: Piotr <piotr@zed.dev >
2023-08-16 14:01:06 +01:00
KCaverly and Piotr
53bf8c1e65
fix editor height in buffer search, but the dancing is back
...
Co-authored-by: Piotr <piotr@zed.dev >
2023-08-16 13:51:41 +01:00
KCaverly and Piotr
ca1573c580
remove redundant and unneeded styling
...
Co-authored-by: Piotr <piotr@zed.dev >
2023-08-16 12:55:32 +01:00
KCaverly
4e3526b616
Merge branch 'main' of github.com:zed-industries/zed into project_search_design
2023-08-16 12:43:04 +01:00
KCaverly and Piotr
6437a7ead7
remove regex keymap, and made spacing consistent between search objects
...
Co-authored-by: Piotr <piotr@zed.dev >
2023-08-16 12:17:59 +01:00
KCaverly and Piotr
ce618ad740
reorganize search bar, enable filters and disable select all during invalid states
...
Co-authored-by: Piotr <piotr@zed.dev >
2023-08-16 11:35:09 +01:00
KCaverly
928f546fae
left align buffer search with new structure
2023-08-15 23:18:03 +01:00
KCaverly and maxbrunsfeld
c817d047fc
refactor buffer_search to reduce redundancy and simplying height management
...
Co-authored-by: maxbrunsfeld <max@zed.dev >
2023-08-15 20:04:14 +01:00
Mikayla
ec2490269d
Add components example
...
Re-arrange generics on mouse event handler
Add TypeTag struct for dynamically tagged components
2023-08-15 03:06:43 -07:00
Piotr Osiewicz and Kyle
bc42a78c49
Refactor buffer search UI rendering in a quest to find the meaning of life.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 15:27:57 +02:00
Piotr Osiewicz and Kyle
45342b6865
buffer: Extract columns to separate objects.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 15:14:57 +02:00
Piotr Osiewicz and Kyle
275d92c0dc
Extract columns into separate objects.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 15:13:17 +02:00
Piotr Osiewicz and Kyle
05018dfbd8
Add more padding to dismiss button.
...
Add a style for mode buttons group margin
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 15:01:01 +02:00
Piotr Osiewicz and Kyle
10a39f6d62
Fix double borders in mode buttons.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 14:43:06 +02:00
Piotr Osiewicz and Kyle
b3ffb9921d
nav_button: Fix double border between nav buttons.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 14:33:40 +02:00
Piotr Osiewicz and Kyle
998fd9382f
buffer: fix alignment of editor icon.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 14:31:14 +02:00
Piotr Osiewicz
c9b7263a4a
Align "Select all" to the center
2023-08-14 12:31:11 +02:00
Piotr Osiewicz
069a8728e4
Fix borders being cut off in buffer search
2023-08-14 12:28:35 +02:00
Piotr Osiewicz
e4dc53fbda
Style buffer modes like project modes
2023-08-14 12:25:59 +02:00
Piotr Osiewicz
69646f0e3c
project_search: style filters button like the rest of the buttons
2023-08-14 12:20:59 +02:00
Piotr Osiewicz
18b10b2008
Add option_button_height style
2023-08-14 12:10:37 +02:00