Commit log

dacc8cb Begin to use pixels for column selection

Click to expand commit body
For zed-industries/community#759
For zed-industries/community#1966

Co-Authored-By: Julia <floc@unpromptedtirade.com>

Conrad Irwin and Julia created

a801a4a Remove some unnecessary Eqs

Conrad Irwin created

fe60f26 Checkpoint

Nathan Sobo created

dfdb691 Checkpoint

Nathan Sobo created

9fe5836 Move events module up

Nathan Sobo created

8074e6b Add basic mouse event handling

Nathan Sobo created

d4ef764 Merge branch 'main' into links

Conrad Irwin created

f763ed9 Checkpoint

Nathan Sobo created

8922437 code review

Conrad Irwin created

6e98cd5 More small following-related fixes (#3110)

Max Brunsfeld created

08f4576 Rename helper style

Marshall Bowers created

1d29709 Avoid possible panic in Room::most_active_project

Click to expand commit body
Participants' locations might momentarily reference projects that have already been unshared.

Max Brunsfeld created

7610028 Add a story showcasing z-index

Marshall Bowers created

bdcbf9b Add a Reconnect action, for simulating connection blips

Max Brunsfeld created

b807b3c Handle participants' participant index changing

Click to expand commit body
This normally doesn't happen, but it can happen if a participant
loses connection ungracefully, restarts their app, and then
explicitly joins again.

Max Brunsfeld created

90b54a4 Log a warning when leader activates an unknown view

Max Brunsfeld created

bb85d6f Detect file paths that end with `:` (#3109)

Click to expand commit body
New rustc messages look like

```
thread 'tests::test_history_items_vs_very_good_external_match' panicked at crates/file_finder/src/file_finder.rs:1902:13:
assertion `left == right` failed: Only one history item contains collab_ui, it should be present and others should be filtered out
  left: 0
 right: 1
```

now and we fail to parse that `13:` bit properly, fix that.

One caveat is that we highlight the entire word including the trailing
`:`:
<img width="914" alt="image"
src="https://github.com/zed-industries/zed/assets/2690773/d653a8ff-3e6e-4e3d-b6ea-dad0c8db0f06">

this is unfortunate, but better than nothing (as now).
This is due to the fact, that we detect words with regex inside the
`terminal.rs` and send events to other place that's able to check paths
for existence (and whether that's a path at all), currently there's no
way to detect a path and sanitize it in `terminal.rs`

Release Notes:

- N/A

Kirill Bulatov created

0d903f4 Clean up theme loading

Marshall Bowers created

ba4f4e0 Detect file paths that end with `:`

Click to expand commit body
New rustc messages look like

```
thread 'tests::test_history_items_vs_very_good_external_match' panicked at crates/file_finder/src/file_finder.rs:1902:13:
assertion `left == right` failed: Only one history item contains collab_ui, it should be present and others should be filtered out
  left: 0
 right: 1
```

now and we fail to parse that `13:` bit properly, fix that.

Kirill Bulatov created

312f3d2 Change how the default theme gets determined

Marshall Bowers created

6b710dc Fix bug that allowed following multiple people in one pane (#3108)

Click to expand commit body
I've also simplified the representation of a workspace's leaders, so
that it encodes in the type that there can only be one leader per pane.

Release Notes:

- Fixed a bug where you could accidentally follow multiple collaborators
in one pane at the same time.

Max Brunsfeld created

def6729 Add theme loading

Marshall Bowers created

0823a18 Ignore history items' paths when matching search queries (#3107)

Click to expand commit body
Follow-up of https://github.com/zed-industries/zed/pull/3059 

Before: 

![image](https://github.com/zed-industries/zed/assets/2690773/4eb2d2d1-1aa3-40b8-b782-bf2bc5f17b43)

After:

![image](https://github.com/zed-industries/zed/assets/2690773/5587d46b-9198-45fe-9372-114a95d4b7d6)

Release Notes:

- N/A

Kirill Bulatov created

ca735ad Ensure there's only one leader per pane

Max Brunsfeld created

af90077 Add failing test for switching leaders in a pane

Max Brunsfeld created

9cba459 Ignore history items' paths when matching search queries

Kirill Bulatov created

613973d Add support for switching between the two hardcoded themes

Marshall Bowers created

29ccdb3 Unify the two local zed scripts, take a flag for an instance count (#3106)

Click to expand commit body
This PR introduces a new script for running Zed against a local collab
server, called `script/zed-local`. This script replaces the two existing
scripts that we had for this purpose: `script/zed-with-local-servers`
and `script/start-local-collaboration`.

By default, the script starts one single instance of Zed, but you can
pass a numeric flag to start 1, 2, 3 or 4 instances. So to start up two
instances side by side, (like `start-local-collaboration` script), you'd
do this:

```
script/zed-local -2
```

But you can also start *three* (or even four) instances, each taking up
a quarter of the screen, like this:

```
script/zed-local -3
```

Like before, you can pass other arguments to the script, and they will
be passed through to the first zed instance.

Also, unlike the `start-local-collaboration` script, this script now
requires a call to GitHub to determine your GitHub username. It just
logs you in as Nathan by default, unless you set `ZED_IMPERSONATE`
explicitly.

Max Brunsfeld created

1e4f514 Update docs to refer to new zed-local script

Max Brunsfeld created

a0ab9fe Unify the 2 local zed scripts, take a flag for instance count

Max Brunsfeld created

fb57299 re-trigger build with new profile?

Conrad Irwin created

162cb19 Only allow one release channel in a call

Conrad Irwin created

7020050 Fix `hover_popover.rs` after bad rebase

Julia created

abfb449 Focus the currently active project if there is one

Click to expand commit body
(also consider your own projects in "most_active_projects")

Conrad Irwin created

7b610f8 WIP

Antonio Scandurra created

8b3a357 Add note about CSS hack

Marshall Bowers created

f73708d Add a `Toast` in the bottom-right corner

Marshall Bowers created

d3c79c7 Add `div.z_index`

Marshall Bowers created

d889cde Checkpoint

Antonio Scandurra created

2654942 Use command modifier for example keybindings in `CommandPalette`

Marshall Bowers created

ed2c8cd Add strikethrough support back to `Label`

Marshall Bowers created

19434af Add back negative margins, now that they're supported again

Marshall Bowers created

a7c4ae5 Update `gpui3_macros::style_helpers!` based on its `gpui2` equivalent

Marshall Bowers created

b2d735e Always log panics (#2896)

Click to expand commit body
I just panicked and wanted to see the cause, but forgot that panic files
get deleted when Zed uploads them.

Release Notes:

- Panics are now written to `~/Library/Logs/Zed/Zed.log`

Max Brunsfeld created

044701e Add a `crate-dep-graph` script, remove a few unnecessary dependencies (#3103)

Click to expand commit body
This was motivated by me trying to decide which crate I should put a
`NotificationStore` in.

Run `script/crate-dep-graph` to generate an SVG showing the dependency
graph of our `crates` folder, and open it in a web browser.

After running this command, I noticed a couple of dependencies that
didn't make sense and were easy to remove.

Current dependency graph:

![Screen Shot 2023-10-06 at 1 15 42
PM](https://github.com/zed-industries/zed/assets/326587/b5008235-498a-4562-a826-cc923898c052)

Max Brunsfeld created

42e9800 Add `Details` component

Marshall Bowers created

d956bd3 Add `RecentProjects` component

Marshall Bowers created

6084486 Code quality

Conrad Irwin created

100a473 Add `ThemeSelector` component

Marshall Bowers created

000ae27 Add `LanguageSelector` component

Marshall Bowers created