Antonio Scandurra
b3537cbf07
Increase capacity of element arena to 8MB
...
This fixes a panic we just saw on nightly. It's the first time we
see this panic, so I think it's pretty safe to assume having twice as
much capacity will fix it.
2024-01-24 10:14:26 +01:00
Mikayla
78ec160359
Fix more tests
2024-01-23 21:49:05 -08:00
Mikayla
6fc5cc15fa
Add note about discord
2024-01-23 21:41:06 -08:00
Joseph T. Lyons
3e6e285e0f
Update JetBrains keymap ( #4243 )
...
I want to immediately archive the `keymaps` repo tomorrow. This is the
only change that needs to be brought over.
Release Notes:
- N/A
2024-01-24 00:40:35 -05:00
Mikayla
bb634e0bac
Fix test error
2024-01-23 21:38:16 -08:00
Mikayla
519206b1b2
Copy GPUI documentation to README
2024-01-23 21:35:01 -08:00
Joseph T. Lyons
fbe0b7b2be
Update JetBrains keymap
2024-01-24 00:34:26 -05:00
Conrad Irwin
6e3249aaa2
Show hovered cursors less flickerily
2024-01-23 22:32:22 -07:00
Mikayla
4270294044
Add module documentation to GPUI and make gpui.rs example compile
2024-01-23 21:29:12 -08:00
Marshall Bowers
fd9712f581
Clean up gpui docs ( #4240 )
...
This PR does some cleanup of the `gpui` docs, making sure we're linking
things appropriately and following good Rust documentation style.
Release Notes:
- N/A
2024-01-23 23:20:05 -05:00
Mikayla Maki
825f309b6f
Ensure that notify observations are sent during Window::draw() ( #4236 )
...
This PR fixes a bug in GPUI where the observation API would not be
triggered if a focus event caused a `notify()`
Release Notes:
- N/A
2024-01-23 20:17:34 -08:00
Marshall Bowers
10f7176b57
Add CODE_OF_CONDUCT.md ( #4239 )
...
This PR adds a `CODE_OF_CONDUCT.md` that links out to the existing code
of conduct on the Zed site.
The link in the file is currently a dead link, but will work once the
new site goes live tomorrow.
Release Notes:
- N/A
2024-01-23 22:31:39 -05:00
Marshall Bowers
9afeab9199
Balance headings in README ( #4238 )
...
This PR balances the headings in the README.
Release Notes:
- N/A
2024-01-23 22:15:37 -05:00
Marshall Bowers
a717298230
Update README ( #4237 )
...
This PR updates the README by removing the TODO items and linking out to
the contributing docs.
Release Notes:
- N/A
2024-01-23 22:09:38 -05:00
Max Brunsfeld
62bbfc0acd
Don't error when checking target dir size if there is no target dir
2024-01-23 17:17:47 -08:00
Mikayla
fcc61045e1
Call notify observers during Window::draw()
2024-01-23 16:52:34 -08:00
Max Brunsfeld
90d40e2a97
Fix bugs in file finder ( #4234 )
...
* Fixed jumping of list item when the separator appeared and
disappeared.
* Fixed a bug where the selection got into a valid state when updating
the matches
Release Notes:
- Fixed an issue where the file finder's selection got into a state
where nothing was selected after filtering the matches.
2024-01-23 16:33:52 -08:00
Marshall Bowers
e2df928f38
Add barebones GPUI README ( #4235 )
...
This PR adds a barebones README to the `gpui` crate, just so folks have
somewhere to land on when we link them here from
[gpui.rs](https://www.gpui.rs/ ).
We can flesh this out as we go.
Release Notes:
- N/A
2024-01-23 19:22:49 -05:00
Conrad Irwin
db594c2336
Fix rendering of diagnostic blocks ( #4232 )
...
- Distinct colors to make it not confusing
- Avoid overflowing the edge of the editor when the message is long
Release Notes:
- Improved display of diagnostic blocks (F8)
2024-01-23 16:39:57 -07:00
Max Brunsfeld
1b6cd84ddb
Clear selected index when updating file finder's matches
2024-01-23 15:39:52 -08:00
Max Brunsfeld
7747ff90b3
Render file finder separator in a way that doesn't affect layout
...
Previously, while typing, the separator appearing and disappeaering would
cause the layout of the items below to jump up and down.
2024-01-23 15:39:52 -08:00
Max Brunsfeld
4b54874d2f
Move file finder tests to their own file
...
Previously, the size of the file finder file would cause code formatting to time out.
2024-01-23 15:39:51 -08:00
Mikayla Maki
5128fa6001
Revert "Improve completion, action and shared project popovers' layout" ( #4233 )
...
Reverts zed-industries/zed#4226
Unfortunately there where some worse states possible after this PR.
Reverting until after the launch, as the problems it addresses are still
bad.

2024-01-23 15:34:48 -08:00
Conrad Irwin
bd28570255
Fix rendering of diagnostic blocks
...
- Distinct colors to make it not confusing
- Avoid overflowing the edge of the editor when the message is long
2024-01-23 16:28:58 -07:00
Piotr Osiewicz
5cb6fc5776
chore: Change AGPL-licensed crates to GPL (except for collab) ( #4231 )
...
- [x] Fill in GPL license text.
- [x] live_kit_client depends on live_kit_server as non-dev dependency,
even though it seems to only be used for tests. Is that an issue?
Release Notes:
- N/A
2024-01-24 00:26:58 +01:00
Mikayla Maki
242690d5ba
Revert "Improve completion, action and shared project popovers' layout"
2024-01-23 15:26:11 -08:00
Kirill Bulatov
b3682b5d5f
Revert search in gitignored files in file finder ( #4229 )
...
Reverts
https://github.com/zed-industries/zed/pull/3748/commits/1f214b47aedea57652b27a2f995e1916f7e5cfb1
since gitignored file indexing is inconsistent.
Release Notes:
- Removed the ability to search in gitignored files via file_finder for
now, as it's not consistent enough for good UX
2024-01-24 00:00:27 +02:00
Kirill Bulatov
6c23536526
Revert search in gitignored files in file finder
2024-01-23 23:50:25 +02:00
Piotr Osiewicz
30b7e1a235
CI: Do not run cargo check --tests before running the tests ( #4228 )
...
This is a bit redundant, as cargo test does not reuse results of cargo
check, so we're essentially doing the cargo check unnecessarily.
Release Notes:
- N/A
2024-01-23 22:18:17 +01:00
Max Brunsfeld
aafd508b89
Use a different color for ignored files in the project panel ( #4227 )
...

Release Notes:
- Fixed an issue where ignored files were not visually distinguished in
the project panel.
2024-01-23 13:10:15 -08:00
Max Brunsfeld
a76fc9b1c2
Use a different color for ignored files in the project panel
2024-01-23 13:00:28 -08:00
Kirill Bulatov
0cc6d0c417
Improve completion, action and shared project popovers' layout ( #4226 )
...
Before:
* cutoff completion labels and docs
<img width="801" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/12fe39b2-a8a7-42d8-b697-e2a4fbd836b7 ">
* too long action labels start to introduce newlines and break the
layout
<img width="716" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/a0530f1e-4200-4cc4-8e0f-9a63d04e4d5c ">
* too long completion proposals are cut off
<img width="1321" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/1ec154a1-9de5-4e47-9e9f-632b3e33f42a ">
After:
* the docs are shifted, but both completions and docs are rendered
entirely now
<img width="1351" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/ddb0baa4-88b6-45e9-b3e1-496c0d6a0d0f ">
*
<img width="750" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/102ed77c-d7d0-41d2-a4a0-a8c73285ea8a ">
* completions are not jumping in sized anymore, with all elements
aligned to occupy max elements' width and height
<img width="1459" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/483e3534-b00a-423c-a848-3c4ca1199510 ">
Release Notes:
- Improved completion and action label layouts
2024-01-23 22:49:21 +02:00
Kirill Bulatov
86b27442bd
Allow both action and completion lists to occupy max width and height of its element
2024-01-23 22:42:06 +02:00
Max Brunsfeld
525ee7b71c
collab 0.40.1
2024-01-23 12:39:30 -08:00
Max Brunsfeld
19275029af
Exclude staff from CLA check ( #4225 )
2024-01-23 12:12:44 -08:00
Kirill Bulatov
45c46a50a8
Change background for the max width of the completion/action elements
2024-01-23 22:12:29 +02:00
Max Brunsfeld
4c0eaf7f2b
Fix assertion in test_get_users
2024-01-23 11:48:07 -08:00
Kirill Bulatov
73c4b5f14c
Fix sharing project notification size
2024-01-23 21:44:18 +02:00
Kirill Bulatov
107a179797
Fix code actions being too small
2024-01-23 21:39:22 +02:00
Max Brunsfeld
19749bad0b
Fix default value of users created_at in sqlite schema
2024-01-23 11:36:35 -08:00
Max Brunsfeld
2c836a4a87
Exclude staff from CLA check
2024-01-23 11:31:55 -08:00
Marshall Bowers
d0620f920b
Remove unused screenshot ( #4224 )
...
This PR removes an unused screenshot from the `assets/` directory.
As a note, we should probably be careful about what kinds of extraneous
binary assets we're committing to the repo (especially ones not required
for Zed itself), as these can bloat the repo size.
Release Notes:
- N/A
2024-01-23 14:28:04 -05:00
Kirill Bulatov and Piotr
db16f632b4
Make completions menu to occupy more space
...
* make completion elements as wide as the longest element
* make completion docs scrollable
co-authored-by: Piotr <piotr@zed.dev >
2024-01-23 21:26:40 +02:00
Julia
a6f453c65c
Make was_top_layer_under_active_drag more closely match logic of was_top_layer ( #4222 )
...
Release Notes:
- N/A
2024-01-23 14:04:49 -05:00
Nathan Sobo
50b72fcf5b
Revise contributing.md ( #4223 )
...
Some adjustments to be less bold in our pairing commitments and clearer
about the process for proposing an idea.
Release Notes:
- N/A
2024-01-23 11:52:12 -07:00
Nathan Sobo
5039b89725
Revise contributing.md
2024-01-23 11:42:40 -07:00
Antonio Scandurra
79a5c90150
Drop active searchable item subscription when changing active item ( #4220 )
...
We were leaking the previous active item's subscription, which meant
that we would receive the `MatchesInvalidated` event as many times as we
changed items.
Release Notes:
- Fixed a performance issue when switching the active item while the
search bar was open.
2024-01-23 18:50:01 +01:00
Julia and Max Brunsfeld
dd978c167b
Make was_top_layer_under_active_drag more closely match logic of was_top_layer
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2024-01-23 12:44:23 -05:00
Conrad Irwin
fbf9ac622f
less secret ( #4221 )
...
- Remove ZED_SECRET_CLIENT_TOKEN
- Remove ZED_CLIENT_SECRET_TOKEN
Neither of these were ever actually a secret.
Release Notes:
- N/A
2024-01-23 10:43:15 -07:00
Conrad Irwin
1f72285fad
Remove ZED_CLIENT_SECRET_TOKEN
2024-01-23 10:34:43 -07:00