58ac7f2
[Broken] Load a src theme in test
Nate Butler created
58ac7f2
[Broken] Load a src theme in test
Nate Butler created
5496987
Make the Zed2 window movable (#3218)
This PR makes the Zed2 window movable and fixes a crash related to a `todo!()` that wasn't necessary. Release Notes: - N/A
Marshall Bowers created
6eeaa64
workspace2 (#3188)
Tracking PR for workspace port
Conrad Irwin created
8283909
Disable selective warnings to make cargo check happy
Conrad Irwin created
91f3e97
Use correct color values in quad fragment shader
Co-Authored-By: Julia Risley <julia@zed.dev>
Nathan Sobo and Julia Risley created
269a724
Merge remote-tracking branch 'origin/main' into zed2-workspace
Conrad Irwin created
85f0959
Remove the 2s from source code (#3216)
Release Notes: - N/A
Mikayla Maki created
9c8220d
Remove commented-out label code
Marshall Bowers created
809d878
WIP
Nate Butler created
3605afc
Render active item in pane
Marshall Bowers created
d1cb2d3
Enforce Send bound on next frame callback functions, because they're invoked on arbitrary threads (#3215)
This enforces the send bound, then uses an async task looping on a channel to run callbacks on the main thread.
Nathan Sobo created
8b1b7a2
Checkpoint: Basic tab bar structure
Marshall Bowers created
29d8390
Fix formatting
Nathan Sobo created
1dd20d4
Merge remote-tracking branch 'origin/main' into gpui2-image-reborrow
Nathan Sobo created
004c5d3
WIP
Nate Butler created
04a8ee2
Enforce a Send bound on next frame callbacks
This required using mpsc channels to invoke frame callbacks on the main thread and send the receiver to the platform display link. Co-Authored-By: Julia Risley <julia@zed.dev>
Nathan Sobo and Julia Risley created
d11ff14
Remove the 2s from source code
Mikayla created
5a41eed
WIP
Conrad Irwin created
1e7a216
WIP
Marshall Bowers created
8f0f5a9
Render status bar
Co-Authored-By: Antonio <me@as-cii.com>
Conrad Irwin and Antonio created
803d2b6
Add double click to zoom the window
Co-Authored-By: Antonio <me@as-cii.com>
Conrad Irwin and Antonio created
0e1d2fd
Checkpoint: Narrow down error
Marshall Bowers created
66e4d75
Checkpoint: Reproduction with `Avatar` story
Marshall Bowers created
bd54bfa
Render titlebar
Co-Authored-By: Mikayla <mikayla@zed.dev>
Conrad Irwin and Mikayla created
634aba8
Add back some window events for workspace
Co-Authored-By: Antonio <me@as-cii.com>
Conrad Irwin and Antonio created
a356522
Document format_distance (#3214)
Adds docs for `ui2::util::format_distance`: - distance_in_seconds - distance_string - naive_format_distance - naive_format_distance_from_now These are ports of [`date-fns`](https://date-fns.org/v2.30.0/docs/formatDistance)'s format distance utilities [[PR Description]] Release Notes: - N/A
Nate Butler created
17ff881
Uncomment lsp2 tests (#3213)
Release Notes: - N/A
Julia created
6f41a77
Document format_distance
Adds docs for: - distance_in_seconds - distance_string - naive_format_distance - naive_format_distance_from_now
Nate Butler created
0bab1a9
Merge remote-tracking branch 'origin/main' into zed2-workspace
Conrad Irwin created
fd81d83
Introduce `ViewContext::observe_window_{activation,bounds}` (#3212)
Release Notes: - N/A
Antonio Scandurra created
b7efab8
Uncomment lsp2 tests
Julia created
ec0cff0
Add `map` method to `Component`s (#3210)
This PR adds a `map` method to the `Component` trait.
`map` is a fully-generalized form of `when`, as `when` can be expressed
in terms of `map`:
```rs
div().map(|this| if condition { then(this) } else { this })
```
This allows us to take advantage of Rust's pattern matching when
building up conditions:
```rs
// Before
div()
.when(self.current_side == PanelSide::Left, |this| this.border_r())
.when(self.current_side == PanelSide::Right, |this| {
this.border_l()
})
.when(self.current_side == PanelSide::Bottom, |this| {
this.border_b().w_full().h(current_size)
})
// After
div()
.map(|this| match self.current_side {
PanelSide::Left => this.border_r(),
PanelSide::Right => this.border_l(),
PanelSide::Bottom => this.border_b().w_full().h(current_size),
})
```
Release Notes:
- N/A
Marshall Bowers created
ec4f0d7
Implement `ViewContext::observe_window_activation`
Co-Authored-By: Conrad Irwin <conrad@zed.dev>
Antonio Scandurra and Conrad Irwin created
3a824e4
Subsume `observe_fullscreen` into `observe_window_bounds`
Co-Authored-By: Conrad Irwin <conrad@zed.dev>
Antonio Scandurra and Conrad Irwin created
5e12b48
Work on default theme, Notifications, Add ListHeader `meta` (#3203)
Work on default theme, Notifications, Add ListHeader `meta` Also adds `naive_format_distance` & `naive_format_distance_from_now` Release Notes: - N/A
Nate Butler created
de80974
Add `ViewContext::observe_fullscreen`
Co-Authored-By: Conrad Irwin <conrad@zed.dev>
Antonio Scandurra and Conrad Irwin created
57fcc22
Uncomment db2 tests (#3211)
Release Notes: - N/A
Julia created
d4db7a1
Remove unused import
Nate Butler created
3b91a76
Merge branch 'main' into n/t2
Nate Butler created
d48ec7d
Remove unused import
Nate Butler created
6d562aa
Use naive_format_distance_from_now in Notifications
Nate Butler created
46e81da
Uncomment db2 tests
Julia created
b76c117
Update naive_format_distance and tests
Nate Butler created
5ee2b01
authenticate with completion provider on new inline assists (#3209)
authenticate with completion provider on new inline assists Release Notes: - Fixed bug which lead the inline assist functionality to never authenticate
Kyle Caverly created
cde7b24
Checkpoint - impl format_distance
Nate Butler created
d5b6300
moved from Boxes to Arcs for shared access of completion providers across the assistant panel and inline assistant
KCaverly created
52e195b
WIP
Nathan Sobo created
b5fe0d7
authenticate with completion provider on new inline assists
KCaverly created
5412f20
Fix missing commit (collab version bump)
Joseph T. Lyons created
971563f
Format YAML
Joseph T. Lyons created