Piotr Osiewicz
dfa4d484f0
Shrink project search + decrease padding
2023-08-11 18:19:45 +02:00
Piotr Osiewicz
2fed7612b2
chore: fix compiler warning
2023-08-11 17:09:26 +02:00
Piotr Osiewicz
d925e81832
Add row_height
2023-08-11 17:02:25 +02:00
Piotr Osiewicz
4363a5bd12
Add accent colors to search option buttons
2023-08-11 16:51:18 +02:00
Piotr Osiewicz
60e0aff04f
Increase editor's left hand side padding to 10
2023-08-11 16:43:07 +02:00
Piotr Osiewicz
f361c17071
Style mode/option buttons
2023-08-11 16:32:15 +02:00
Nathan Sobo
fc4ea20276
WIP
2023-08-11 07:39:30 -06:00
Piotr Osiewicz
625ac1c1ed
chore: use Cow instead of String for tooltips ( #2838 )
...
A QoL change to align `Tooltip` with other elements like `Label`
Release Notes:
- N/A
2023-08-11 15:29:55 +02:00
Piotr Osiewicz
6d2f085dee
Make ButtonSide respect corner_radius
2023-08-11 14:44:22 +02:00
Piotr Osiewicz
f6b8df5100
mode_button: get rid of borders before creating a label
2023-08-11 13:26:22 +02:00
Piotr Osiewicz
3870731929
Make ButtonSide scale with corner_radius
2023-08-11 13:10:56 +02:00
Nathan Sobo
284414cfba
Ditch the hot reloading approach
2023-08-11 00:26:58 -06:00
Mikayla
01e25201fb
Merge branch 'main' into collab-panel
2023-08-10 10:04:01 -07:00
Nathan Sobo
bb9591415f
WIP
2023-08-10 10:26:48 -06:00
Nathan Sobo
8d84144abe
WIP
2023-08-10 09:24:16 -06:00
Piotr Osiewicz
b217de5c5c
Fix rounding artifacts of nav buttons
2023-08-10 15:26:05 +02:00
Piotr Osiewicz
9d70562c90
Fix padding inside search input.
...
Adjust borders for toggle buttons
2023-08-10 14:53:25 +02:00
Piotr Osiewicz
408eb2c08c
Bump row_count for buffer search
2023-08-10 13:01:20 +02:00
Piotr Osiewicz
c88182a908
Increase padding on search
2023-08-10 12:57:12 +02:00
Nathan Sobo
7e2a227831
What if we base themes on Rose Pine
2023-08-09 20:54:30 -06:00
Max Brunsfeld and Mikayla
da98fd8009
Dial in the channel creating/renaming UI
...
* Ensure channel list is in a consistent state with no flicker while the
channel creation / rename request is outstanding.
* Maintain selection properly when renaming and creating channels.
* Style the channel name editor more consistently with the non-editable
channel names.
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-09 17:11:57 -07:00
Max Brunsfeld
e628a41aab
Improve styling of collab panel
2023-08-09 15:11:30 -07:00
Max Brunsfeld and Mikayla
8abbdcc0d0
Send user ids of channels of which they are admins on connecting
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-09 14:40:47 -07:00
Max Brunsfeld
ef699c25b7
Send channel permissions to clients when they fetch their channels
2023-08-09 13:56:03 -07:00
Max Brunsfeld
809e203ee1
Restore shutdown behavior ( #2837 )
...
Deals with https://github.com/zed-industries/community/issues/1898
Restores original close behavior from
https://github.com/zed-industries/zed/pull/2832/files#diff-89af0b4072205c53b518aa977d6be48997e1a51fa4dbf06c7ddd1fec99fc510eL444
(load diff for the last file, zed.rs)
and adds a better name for the variable.
Release Notes:
- Fixes `cmd-q` not working
2023-08-09 13:50:21 -07:00
Kirill Bulatov
c957038f74
Restore shutdown behavior
2023-08-09 23:39:21 +03:00
Mikayla and max
fdb0aef874
Add renames
...
co-authored-by: max <max@zed.dev >
2023-08-09 12:20:48 -07:00
Mikayla
6fdfe01f4c
Fix bad merge
2023-08-09 11:04:09 -07:00
Mikayla
35e307965d
Merge branch 'collab-panel' of github.com:zed-industries/zed into collab-panel
2023-08-09 10:44:50 -07:00
Mikayla
8b73737072
Merge branch 'main' into collab-panel
2023-08-09 10:37:22 -07:00
Max Brunsfeld and Mikayla
b66ac35330
Represent channel relationships using paths table
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-09 10:36:27 -07:00
Max Brunsfeld and Mikayla
e9142724ba
Avoid leak of channel store
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2023-08-09 10:23:52 -07:00
Nate Butler
e16b6e2fc2
WIP BROKEN
2023-08-09 12:44:34 -04:00
Joseph T. Lyons
9718348b09
v0.100.x dev
2023-08-09 12:30:39 -04:00
Mikayla Maki
fcfbc7b810
Fix two mouse event bugs ( #2835 )
...
This PR fixes two bugs we discovered in Zed's mouse event handling while
investigating an interesting and mysterious bug we we were seeing, where
spurious `MouseMoved` events would continuously be dispatched after
control-clicking.
Release Notes:
- Fixed a rendering glitch that could occur after control-clicking
certain elements.
2023-08-09 09:04:32 -07:00
Piotr Osiewicz
d131cc0324
Add cycle mode command for buffer search
2023-08-09 18:02:21 +02:00
Mikayla
54153f0b59
Fix selections and enter-to-create-file
2023-08-09 08:54:24 -07:00
Nate Butler
635662fc42
Add ui_sans as a font option in the theme ( #2836 )
...
This adds IBM Plex as a font option available to use as `ui_sans`
Note: This PR adds a static list of accepted font types in `/font`, as
LICENSE files were causing the app to crash when Zed was trying to load
them as fonts.
Release Notes:
- N/A (No user facing changes)
Thanks @ForLoveOfCats for getting me unstuck ❤️
2023-08-09 11:54:05 -04:00
Nate Butler
28c56c1f81
Add IBM Plex license
2023-08-09 11:39:15 -04:00
Nate Butler and Julia
8bd9e72673
Only load TTF fonts for now, additional font types will need to be manually added
...
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com >
2023-08-09 11:38:02 -04:00
Nate Butler and Julia
8a4340c85e
Remove license causing unwrap error
...
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com >
2023-08-09 11:11:57 -04:00
Nate Butler
f3741bcfeb
WIP add IBM Plex Sans
...
(base) natebutler@Nate16 zed % cargo run
Compiling zed v0.99.0 (/Users/natebutler/Code/zed/zed/crates/zed)
Finished dev [unoptimized + debuginfo] target(s) in 9.15s
Running `target/debug/Zed`
Thread "main" panicked with "called `Result::unwrap()` on an `Err` value: parse error" at crates/zed/src/main.rs:667:10
0: backtrace::backtrace::libunwind::trace
at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/backtrace/libunwind.rs:93:5
backtrace::backtrace::trace_unsynchronized
at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/backtrace/mod.rs:66:5
1: backtrace::backtrace::trace
at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/backtrace/mod.rs:53:14
2: backtrace::capture::Backtrace::create
at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/capture.rs:176:9
3: backtrace::capture::Backtrace::new
at /Users/natebutler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/backtrace-0.3.68/src/capture.rs:140:22
4: Zed::init_panic_hook::{{closure}}
at crates/zed/src/main.rs:436:29
5: std::panicking::rust_panic_with_hook
6: std::panicking::begin_panic_handler::{{closure}}
7: std::sys_common::backtrace::__rust_end_short_backtrace
8: _rust_begin_unwind
9: core::panicking::panic_fmt
10: core::result::unwrap_failed
11: core::result::Result<T,E>::unwrap
at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/core/src/result.rs:1089:23
12: Zed::load_embedded_fonts
at crates/zed/src/main.rs:664:5
13: Zed::main
at crates/zed/src/main.rs:80:5
14: core::ops::function::FnOnce::call_once
at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/core/src/ops/function.rs:250:5
15: std::sys_common::backtrace::__rust_begin_short_backtrace
at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/std/src/sys_common/backtrace.rs:134:18
16: std::rt::lang_start::{{closure}}
at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/std/src/rt.rs:166:18
17: std::panicking::try
18: std::rt::lang_start_internal
19: std::rt::lang_start
at /private/tmp/rust-20230613-7622-103lepv/rustc-1.70.0-src/library/std/src/rt.rs:165:17
20: _mai
2023-08-09 11:01:20 -04:00
Piotr Osiewicz
10d7ef81bc
Reset search index on mode change
2023-08-09 14:25:56 +02:00
Piotr Osiewicz
395b5b6d5c
buffer: Add magnifying glass icon
2023-08-09 13:47:48 +02:00
Piotr Osiewicz
08a4f3482c
chore: update fn paint
2023-08-09 12:33:14 +02:00
Piotr Osiewicz
a5f96dade0
Merge branch 'main' into project_search_design
2023-08-09 12:30:48 +02:00
Piotr Osiewicz
8d914b4332
Go back to previous mode on rejection of semantic indexing
2023-08-09 12:28:15 +02:00
Nathan Sobo
22acd64aa8
Rename node to frame
2023-08-08 21:28:52 -06:00
Nathan Sobo
2ac55ed691
Merge branch 'main' into cells
2023-08-08 21:23:57 -06:00
Nathan Sobo
f38f79b209
Pass PaintContext to Element::paint ( #2788 )
...
I want to use this on another branch, but it's a sweeping change, so
this prepares the ground for it. This can always be reverted if it
doesn't work out.
2023-08-08 21:16:57 -06:00