Commit log
0589813
Scaffold out new `theme-importer` crate
Click to expand commit body
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
Nate Butler
and
Marshall Bowers
created
2 years ago
Conrad Irwin
created
2 years ago
9e5275c
Fix error handling of open_path
Click to expand commit body
Co-Authored-By: Nathan <nathan@zed.dev>
Conrad Irwin
and
Nathan
created
2 years ago
972f076
Deserialize theme metadata
Nate Butler
created
2 years ago
58ac7f2
[Broken] Load a src theme in test
Nate Butler
created
2 years ago
5496987
Make the Zed2 window movable (#3218)
Click to expand commit body
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
2 years ago
6eeaa64
workspace2 (#3188)
Click to expand commit body
Tracking PR for workspace port
Conrad Irwin
created
2 years ago
8283909
Disable selective warnings to make cargo check happy
Conrad Irwin
created
2 years ago
91f3e97
Use correct color values in quad fragment shader
Click to expand commit body
Co-Authored-By: Julia Risley <julia@zed.dev>
Nathan Sobo
and
Julia Risley
created
2 years ago
269a724
Merge remote-tracking branch 'origin/main' into zed2-workspace
Conrad Irwin
created
2 years ago
85f0959
Remove the 2s from source code (#3216)
Click to expand commit body
Release Notes:
- N/A
Mikayla Maki
created
2 years ago
9c8220d
Remove commented-out label code
Marshall Bowers
created
2 years ago
Nate Butler
created
2 years ago
3605afc
Render active item in pane
Marshall Bowers
created
2 years ago
d1cb2d3
Enforce Send bound on next frame callback functions, because they're invoked on arbitrary threads (#3215)
Click to expand commit body
This enforces the send bound, then uses an async task looping on a
channel to run callbacks on the main thread.
Nathan Sobo
created
2 years ago
8b1b7a2
Checkpoint: Basic tab bar structure
Marshall Bowers
created
2 years ago
29d8390
Fix formatting
Nathan Sobo
created
2 years ago
1dd20d4
Merge remote-tracking branch 'origin/main' into gpui2-image-reborrow
Nathan Sobo
created
2 years ago
Nate Butler
created
2 years ago
04a8ee2
Enforce a Send bound on next frame callbacks
Click to expand commit body
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
2 years ago
d11ff14
Remove the 2s from source code
Mikayla
created
2 years ago
Conrad Irwin
created
2 years ago
Marshall Bowers
created
2 years ago
8f0f5a9
Render status bar
Click to expand commit body
Co-Authored-By: Antonio <me@as-cii.com>
Conrad Irwin
and
Antonio
created
2 years ago
803d2b6
Add double click to zoom the window
Click to expand commit body
Co-Authored-By: Antonio <me@as-cii.com>
Conrad Irwin
and
Antonio
created
2 years ago
0e1d2fd
Checkpoint: Narrow down error
Marshall Bowers
created
2 years ago
66e4d75
Checkpoint: Reproduction with `Avatar` story
Marshall Bowers
created
2 years ago
bd54bfa
Render titlebar
Click to expand commit body
Co-Authored-By: Mikayla <mikayla@zed.dev>
Conrad Irwin
and
Mikayla
created
2 years ago
634aba8
Add back some window events for workspace
Click to expand commit body
Co-Authored-By: Antonio <me@as-cii.com>
Conrad Irwin
and
Antonio
created
2 years ago
a356522
Document format_distance (#3214)
Click to expand commit body
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
2 years ago
17ff881
Uncomment lsp2 tests (#3213)
Click to expand commit body
Release Notes:
- N/A
Julia
created
2 years ago
6f41a77
Document format_distance
Click to expand commit body
Adds docs for:
- distance_in_seconds
- distance_string
- naive_format_distance
- naive_format_distance_from_now
Nate Butler
created
2 years ago
0bab1a9
Merge remote-tracking branch 'origin/main' into zed2-workspace
Conrad Irwin
created
2 years ago
fd81d83
Introduce `ViewContext::observe_window_{activation,bounds}` (#3212)
Click to expand commit body
Release Notes:
- N/A
Antonio Scandurra
created
2 years ago
b7efab8
Uncomment lsp2 tests
Julia
created
2 years ago
ec0cff0
Add `map` method to `Component`s (#3210)
Click to expand commit body
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
2 years ago
ec4f0d7
Implement `ViewContext::observe_window_activation`
Click to expand commit body
Co-Authored-By: Conrad Irwin <conrad@zed.dev>
Antonio Scandurra
and
Conrad Irwin
created
2 years ago
3a824e4
Subsume `observe_fullscreen` into `observe_window_bounds`
Click to expand commit body
Co-Authored-By: Conrad Irwin <conrad@zed.dev>
Antonio Scandurra
and
Conrad Irwin
created
2 years ago
5e12b48
Work on default theme, Notifications, Add ListHeader `meta` (#3203)
Click to expand commit body
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
2 years ago
de80974
Add `ViewContext::observe_fullscreen`
Click to expand commit body
Co-Authored-By: Conrad Irwin <conrad@zed.dev>
Antonio Scandurra
and
Conrad Irwin
created
2 years ago
57fcc22
Uncomment db2 tests (#3211)
Click to expand commit body
Release Notes:
- N/A
Julia
created
2 years ago
d4db7a1
Remove unused import
Nate Butler
created
2 years ago
3b91a76
Merge branch 'main' into n/t2
Nate Butler
created
2 years ago
d48ec7d
Remove unused import
Nate Butler
created
2 years ago
6d562aa
Use naive_format_distance_from_now in Notifications
Nate Butler
created
2 years ago
46e81da
Uncomment db2 tests
Julia
created
2 years ago
b76c117
Update naive_format_distance and tests
Nate Butler
created
2 years ago
5ee2b01
authenticate with completion provider on new inline assists (#3209)
Click to expand commit body
authenticate with completion provider on new inline assists
Release Notes:
- Fixed bug which lead the inline assist functionality to never
authenticate
Kyle Caverly
created
2 years ago
cde7b24
Checkpoint - impl format_distance
Nate Butler
created
2 years ago
d5b6300
moved from Boxes to Arcs for shared access of completion providers across the assistant panel and inline assistant
KCaverly
created
2 years ago
Page 19 of 297