Commit log

b9a904e Add initial OS file drag and drop support

Kirill Bulatov created

6c653b9 Activate Zed window on external file drop

Kirill Bulatov created

b692b4c Do not expand terminal selections on active drag

Kirill Bulatov created

f829120 Convert OS file drag and drop enter event into a mouse move, not mouse click

Kirill Bulatov created

2a82dff Suppress unused variable r-a warning from action derive procmacro

Kirill Bulatov created

646b74e Move actions to namespaces used in zed1 keybinding settings

Kirill Bulatov created

75324ab Do not panic when focusing empty dock

Kirill Bulatov created

ea708c5 Search2 fixups (#3533)

Click to expand commit body
Fixes several issues with focus and unbound actions.
Release Notes:

- N/A

Piotr Osiewicz created

8839bfa Remove unused import

Piotr Osiewicz created

2c2c633 Fix confirming rename not working on editor2 (#3532)

Click to expand commit body
Release Notes:

- N/A

Antonio Scandurra created

18393d1 fixup! buffer search: Fix up rough edges

Piotr Osiewicz created

7842fde Fix confirming rename not working on editor2

Antonio Scandurra created

45f7ab8 buffer search: Fix up rough edges

Click to expand commit body
Focus query editor when Deploy::focused is true, add missing bindings

Piotr Osiewicz created

cbd1ce6 Rework frame rendering (#3531)

Click to expand commit body
This pull request replaces the old `previous_frame` and `current_frame`
with a new pair of `rendered_frame` and `next_frame` that are swapped
once we are ready to draw a finished frame.

This makes it clearer when to use which: `rendered_frame` should be used
to query the existing state, whereas `next_frame` should be used and
mutated when redrawing a dirty window.

The change was prompted by a bug I encountered in
`FocusHandle::contains`. The implementation was reading `current_frame`,
but that was the wrong field to access if e.g. we were reading it inside
of a `render` function or any other time while drawing the window.

Release Notes:

- N/A

Antonio Scandurra created

9a916d7 Polish assistant in zed2 (#3530)

Click to expand commit body
This fixes a few bugs that remained after merging #3513 

Release Notes:

- N/A

Antonio Scandurra created

a40515d Rework frame rendering

Click to expand commit body
This commit replaces the old `previous_frame` and `current_frame` with
a new pair of `rendered_frame` and `next_frame` that are swapped once
we are ready to draw a finished frame.

This makes it clearer when to use which: `rendered_frame` should be used
to query the existing state, whereas `next_frame` should be used and mutated when
redrawing a dirty window.

The change was prompted by a bug I encountered in `FocusHandle::contains`. The
implementation was reading `current_frame`, but that was the wrong field to
access if e.g. we were reading it inside of a `render` function or any other
time while drawing the window.

Antonio Scandurra created

edb2f60 Use the correct icons in AssistantPanel header

Antonio Scandurra created

02bd4fb Simplify focus management in AssistantPanel

Antonio Scandurra created

e96197d Ensure editor gets focused when selecting conversation

Antonio Scandurra created

d02ff42 Dismiss theme_selector on esc (#3502)

Federico Dionisi created

42a3da4 Update pickers (#3529)

Click to expand commit body
[[PR Description]]

- Update the size of all pickers
- Additional styling fixes for File Finder and Outline palettes
- Extend the ui prelude to include common imports

Release Notes:

- N/A

Nate Butler created

84aaeb4 Fix incorrect text style in outline palette, use background highlights for matches

Nate Butler created

da3ba35 add `color_alpha` function

Nate Butler created

2a68a61 Remove remnants from conflict resolution (#3528)

Click to expand commit body
Fixes a couple of things that slipped through when going through the
last merge conflict

Release Notes:

- N/A

Joseph T. Lyons created

fffe4f5 Update pickers to have a consistently larger size

Nate Butler created

27e1787 Feedback 2 (#3527)

Click to expand commit body
Ports feedback crate over to zed2. Introduces modal feedback. Feedback
submission works, but there are some TODOs in the code for things that
need to be done (needs a UI pass, dismissing the modal in certain cases,
etc), but I might merge this to reduce chances of conflicts (aleady had
to deal with a few).

<img width="1378" alt="SCR-20231206-udgp"
src="https://github.com/zed-industries/zed/assets/19867440/99f9e843-ac9c-4df1-b600-2522863e6459">

Release Notes:

- N/A

Joseph T. Lyons created

9e6103f Merge branch 'main' into update-pickers

Nate Butler created

d2362d7 Merge branch 'main' into feedback-2

Joseph T. Lyons created

79e0d8c WIP

Joseph T. Lyons created

ee45db8 Use `when_else()`

Joseph T. Lyons created

8fc15c0 Introduce `when_else()`

Joseph T. Lyons created

256f030 Renove unused code

Joseph T. Lyons created

d62b151 Improve character limit bounds indicator

Joseph T. Lyons created

b2a0c32 Terminal2 (#3449)

Click to expand commit body
Release Notes:

-

Mikayla Maki created

668f5ac Highlight whole modal as needing UI tweaks

Joseph T. Lyons created

66b9321 Fix selection backgrounds

Mikayla created

57a9f02 Remove email address from local database if user removes it

Joseph T. Lyons created

22cd622 Tear out drag event listener

Mikayla created

bbe9986 Start work to add a confirmation when exiting feedback containing text

Joseph T. Lyons created

1abc980 Switch to if let statement

Joseph T. Lyons created

034c11c Hook up community repo button

Joseph T. Lyons created

0885fa6 Hook up submit

Joseph T. Lyons created

c8cb114 Clean up how we open the recent projects picker (#3526)

Click to expand commit body
This PR performs some light cleanup of how we open the recent projects
picker, to bring it more in-line with our other picker code.

Release Notes:

- N/A

Marshall Bowers created

c092cfb Fix bug with IME

Click to expand commit body
Adjust how IME works in the terminal

co-authored-by: nathan <nathan@zed.dev>

Mikayla and nathan created

a4b271e Port `recent_projects` to Zed2 (#3525)

Click to expand commit body
This PR ports the `recent_projects` crate to Zed2 (`recent_projects2`).

Absent from this PR is wiring up the "Recent Projects" item in the title
bar. We'll come back to that soon.

Release Notes:

- N/A

Marshall Bowers created

110612b Reduce amount of state being stored

Joseph T. Lyons created

fd31e42 Merge branch 'main' into terminal-element

Mikayla created

12e7f61 Fix a porting bugs for terminal2

Click to expand commit body
co-authored-by: Nathan <nathan@zed.dev>

Mikayla and Nathan created

1a747c8 Upgrade async-compression dep (#3524)

Click to expand commit body
Fixes a build failure on CI:


https://github.com/zed-industries/zed/actions/runs/7120057787/job/19387718091

```
2023-12-06 21:26:40.468791 +00:00:00 [ERROR] `cargo metadata` exited with an error:     Updating crates.io index
error: failed to select a version for `async-compression`.
    ... required by package `zed2 v2.0.0-nightly (/Users/administrator/actions-runner-2/_work/zed/zed/crates/zed2)`
versions that meet the requirements `^0.3` (locked to 0.3.15) are: 0.3.15

the package `zed2` depends on `async-compression`, with features: `futures-bufread-nightly` but `async-compression` does not have these features.
```

Max Brunsfeld created

2d18b94 Upgrade async-compression dep

Max Brunsfeld created