004c5d3
WIP
Nate Butler 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
f724b6d
Cleanly truncate Discord release notes
Joseph T. Lyons created
d4e199c
WIP
Antonio Scandurra created
c1ca7ad
Implement WindowContext::remove_window
Antonio Scandurra created
089bf58
Implement AppState::test
Antonio Scandurra created
32dded5
Checkpoint
Antonio Scandurra created
72156bf
Merge remote-tracking branch 'origin/main' into zed2-workspace
Antonio Scandurra created
6d2e1a8
Introduce more GPUI2 APIs needed for transitioning the workspace (#3208)
Release Notes: - N/A
Antonio Scandurra created
76c675a
:lipstick:
Antonio Scandurra created
32db64a
Introduce more GPUI2 APIs needed for transitioning the workspace
Antonio Scandurra created
51338d7
WIP
Antonio Scandurra created
bda43ca
Merge remote-tracking branch 'origin/main' into zed2-workspace
Antonio Scandurra created
8793300
Remove more `Send` bounds and simplify view rendering (#3207)
This pull request removes more `Send` bounds from GPUI2 after #3206 and simplifies some internals. Specifically: - The `Reference` enum was removed, as we always capture mutable references anyway. - A few GATs from `Context` and `VisualContext` were removed, as they're unnecessary now that `MainThread` isn't a thing. - View rendering was greatly simplified (we were able to remove `EraseViewState` and `ViewObject`) Release Notes: - N/A
Antonio Scandurra created
9c7b45f
Add back Send and Sync to AssetSource
Antonio Scandurra created
d5f0e91
Remove stray todo
Antonio Scandurra created