zed/assets/icons
Kirill Bulatov 8451dba6a7
Introduce an outline panel (#12637)
Adds a new panel: `OutlinePanel` which looks very close to project
panel:

<img width="256" alt="Screenshot 2024-06-10 at 23 19 05"
src="https://github.com/zed-industries/zed/assets/2690773/c66e6e78-44ec-4de8-8d60-43238bb09ae9">

has similar settings and keymap (actions work in the `OutlinePanel`
context and are under `outline_panel::` namespace), with two notable
differences:
* no "edit" actions such as cut/copy/paste/delete/etc.
* directory auto folding is enabled by default

Empty view: 
<img width="841" alt="Screenshot 2024-06-10 at 23 19 11"
src="https://github.com/zed-industries/zed/assets/2690773/dc8bf37c-5a70-4fd5-9b57-76271eb7a40c">


When editor gets active, the panel displays all related files in a tree
(similar to what the project panel does) and all related excerpts'
outlines under each file.
Same as in the project panel, directories can be expanded or collapsed,
unfolded or folded; clicking file entries or outlines scrolls the buffer
to the corresponding excerpt; changing editor's selection reveals the
corresponding outline in the panel.

The panel is applicable to any singleton buffer:
<img width="1215" alt="Screenshot 2024-06-10 at 23 19 35"
src="https://github.com/zed-industries/zed/assets/2690773/a087631f-5c2d-4d4d-ae25-30ab9731d528">

<img width="1728" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/e4f8082c-d12d-4473-8500-e8fd1051285b">

or any multi buffer:

(search multi buffer)

<img width="1728" alt="Screenshot 2024-06-10 at 23 19 41"
src="https://github.com/zed-industries/zed/assets/2690773/60f768a3-6716-4520-9b13-42da8fd15f50">

(diagnostics multi buffer)
<img width="1728" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/64e285bd-9530-4bf2-8f1f-10ee5596067c">

Release Notes:
- Added an outline panel to show a "map" of the active editor
2024-06-12 23:22:52 +03:00
..
file_icons chore: added inl to cpp config (#12710) 2024-06-06 10:23:36 +03:00
ai.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
arrow_circle.svg Always show checking with icon if checks are still running 2024-01-08 11:55:51 -05:00
arrow_down_from_line.svg Improve context expansion (#10957) 2024-05-26 16:30:09 -07:00
arrow_down.svg kb 2023-11-20 10:46:23 -05:00
arrow_left.svg kb 2023-11-20 10:46:23 -05:00
arrow_right.svg kb 2023-11-20 10:46:23 -05:00
arrow_up_from_line.svg Improve context expansion (#10957) 2024-05-26 16:30:09 -07:00
arrow_up_right.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
arrow_up.svg kb 2023-11-20 10:46:23 -05:00
at_sign.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
backspace.svg ui: Add Backspace/Delete icons and use them for keybindings. 2024-01-02 16:41:56 +01:00
bell_dot.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
bell_off.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
bell_ring.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
bell.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
bolt.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
caret_down.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
caret_up.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
case_insensitive.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
check_circle.svg Align diagnostic icons with other statusbar icons 2023-08-30 11:14:50 -04:00
check.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
chevron_down.svg Add new icons 2023-08-14 15:50:42 -04:00
chevron_left.svg Add new icons 2023-08-14 15:50:42 -04:00
chevron_right.svg Add new icons 2023-08-14 15:50:42 -04:00
chevron_up.svg Add new icons 2023-08-14 15:50:42 -04:00
circle_check.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
code.svg Iterate on Assistant 2 composer UI (#11306) 2024-05-02 13:01:21 -04:00
command.svg kb 2023-11-20 10:46:23 -05:00
context.svg Overhaul inline assistant (#12846) 2024-06-11 12:39:45 +02:00
control.svg kb 2023-11-20 10:46:23 -05:00
conversations.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
copilot_disabled.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
copilot_error.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
copilot_init.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
copilot.svg Add new icons 2023-08-14 15:50:42 -04:00
copy.svg Re-add diagnostic headers 2023-12-01 15:30:01 -05:00
countdown_timer.svg Introduce recent files ambient context for assistant (#11791) 2024-05-14 13:48:36 +02:00
dash.svg Add checkboxes and their stories 2023-11-05 01:06:41 -05:00
delete.svg Add return, space, tab, escape keybinding icons 2024-01-03 11:14:33 -05:00
desktop.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
disconnected.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
download.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
ellipsis.svg Update modal icon styles 2023-08-16 13:48:12 -04:00
error.svg Align diagnostic icons with other statusbar icons 2023-08-30 11:14:50 -04:00
escape.svg Add return, space, tab, escape keybinding icons 2024-01-03 11:14:33 -05:00
exit.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
expand_vertical.svg Add a command to expand the context for a multibuffer (#10300) 2024-04-19 14:27:56 -07:00
external_link.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
feedback.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
file.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
filter.svg Add new icons 2023-08-14 15:50:42 -04:00
github.svg Add github icon 2023-12-18 12:56:57 -05:00
hash.svg Use new icons in channel panel 2023-08-14 15:57:31 -04:00
history_rerun.svg tasks: Reorganize task modal (#11752) 2024-05-14 11:22:09 +02:00
indicator_x.svg Add DecoratedIcon (#11512) 2024-05-07 16:36:13 -04:00
indicator.svg Add DecoratedIcon (#11512) 2024-05-07 16:36:13 -04:00
inlay_hint.svg Update inlay_hint icon 2023-08-16 23:38:11 +03:00
library.svg Add prompt library (#11910) 2024-05-16 16:55:54 -04:00
LICENSES Add a command to expand the context for a multibuffer (#10300) 2024-04-19 14:27:56 -07:00
link.svg Add link & public icons 2023-10-17 13:34:51 -04:00
list_tree.svg Introduce an outline panel (#12637) 2024-06-12 23:22:52 +03:00
logo_96.svg Add missing logo_96 icon, fix a few incorrect paths 2023-09-15 14:21:33 -04:00
magic_wand.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
magnifying_glass.svg Add new icons 2023-08-14 15:50:42 -04:00
mail_open.svg Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
maximize.svg Style assistant header, update icons 2023-12-19 10:30:46 -05:00
menu.svg Style assistant header, update icons 2023-12-19 10:30:46 -05:00
mic_mute.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
mic.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
minimize.svg Style assistant header, update icons 2023-12-19 10:30:46 -05:00
option.svg kb 2023-11-20 10:46:23 -05:00
page_down.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
page_up.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
pencil.svg Fix invisible chat icons (#10406) 2024-04-11 18:36:58 +02:00
person.svg git blame: Display GitHub avatars in blame tooltips, if available (#10767) 2024-04-19 15:15:19 +02:00
play.svg Add static Runnables (#8009) 2024-02-19 18:41:43 +02:00
plus.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00
project.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
public.svg update sidebar for public channels 2023-10-17 13:30:09 -06:00
pull_request.svg Add pull requests to git blame tooltip (#10784) 2024-04-19 18:54:20 +02:00
quote.svg Style assistant header, update icons 2023-12-19 10:30:46 -05:00
regex.svg Make BufferSearch less wide (#10459) 2024-04-11 23:07:29 -06:00
replace_all.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
replace_next.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
replace.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
reply_arrow_right.svg Fix invisible chat icons (#10406) 2024-04-11 18:36:58 +02:00
rerun.svg task: Add re-run task button to terminal title (#12379) 2024-05-29 11:40:43 +02:00
return.svg Add return, space, tab, escape keybinding icons 2024-01-03 11:14:33 -05:00
reveal.svg Allow saving prompts from the Prompt Manager (#12359) 2024-05-27 13:48:21 -04:00
rotate_cw.svg Overhaul inline assistant (#12846) 2024-06-11 12:39:45 +02:00
save.svg Allow saving prompts from the Prompt Manager (#12359) 2024-05-27 13:48:21 -04:00
search_selection.svg Search in selections (#10831) 2024-06-05 13:42:51 -06:00
select_all.svg Make BufferSearch less wide (#10459) 2024-04-11 23:07:29 -06:00
server.svg remote projects per user (#10594) 2024-04-23 15:33:09 -06:00
shift.svg kb 2023-11-20 10:46:23 -05:00
sliders.svg Add Editor Controls Menu to Tool Bar (#10655) 2024-04-16 18:03:54 -04:00
snip.svg Style assistant header, update icons 2023-12-19 10:30:46 -05:00
space.svg Add return, space, tab, escape keybinding icons 2024-01-03 11:14:33 -05:00
sparkle_filled.svg Update prompt library styles (#12689) 2024-06-05 22:10:02 -04:00
sparkle.svg Update prompt library styles (#12689) 2024-06-05 22:10:02 -04:00
speaker_loud.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
speaker_off.svg Standardize icon naming 2024-01-03 11:45:41 -05:00
spinner.svg Iterate on Assistant 2 composer UI (#11306) 2024-05-02 13:01:21 -04:00
split.svg Add new icons 2023-08-14 15:50:42 -04:00
star_filled.svg Start on a database-backed prompt library (#12468) 2024-06-03 15:58:43 +02:00
star.svg Start on a database-backed prompt library (#12468) 2024-06-03 15:58:43 +02:00
stop_sharing.svg WIP 2023-09-15 14:14:28 -04:00
stop.svg Overhaul inline assistant (#12846) 2024-06-11 12:39:45 +02:00
strikethrough.svg Add DecoratedIcon (#11512) 2024-05-07 16:36:13 -04:00
supermaven_disabled.svg Supermaven (#10788) 2024-05-03 12:50:42 -07:00
supermaven_error.svg Supermaven (#10788) 2024-05-03 12:50:42 -07:00
supermaven_init.svg Supermaven (#10788) 2024-05-03 12:50:42 -07:00
supermaven.svg Supermaven (#10788) 2024-05-03 12:50:42 -07:00
tab.svg Add return, space, tab, escape keybinding icons 2024-01-03 11:14:33 -05:00
terminal.svg Update to UI and Framework Icons (#9468) 2024-03-18 10:59:19 -04:00
trash.svg Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
triangle_right.svg Rework context insertion UX (#12360) 2024-05-27 17:44:54 -06:00
update.svg Update indexing icon 2023-10-16 15:53:29 -04:00
user_group_16.svg Restore user_group_16 icon 2023-09-15 11:16:30 -07:00
warning.svg Update diagnostic status bar tool 2023-11-18 00:54:01 -05:00
word_search.svg Clean up whitespace (#10755) 2024-04-23 13:31:21 -04:00
x.svg Add new icons 2023-08-14 15:50:42 -04:00
zed_assistant_filled.svg Polish prompt library UX (#12647) 2024-06-04 18:36:54 +02:00
zed_assistant.svg Assistant 2 temp icon (#11257) 2024-05-01 12:56:27 -04:00
zed_x_copilot.svg Unify icons using multiple variants, remove all unused icons 2023-09-15 12:50:49 -04:00