Nate Butler
ab83f4319b
revert popover changes
...
[no ci]
2023-11-27 11:51:42 -05:00
Conrad Irwin
fd165206bf
gpui2: Notifications ( #3407 )
...
Release Notes:
- N/A
2023-11-27 09:22:31 -07:00
Nate Butler
8a35a02863
Checkpoint - try using overlay for completions popover
...
[no ci]
2023-11-27 11:22:19 -05:00
Nate Butler
1acc6b462f
Start on completions styles
2023-11-27 10:29:29 -05:00
Kirill Bulatov
cd4ea344a6
Slightly less errors in terminal_element2
2023-11-27 16:55:48 +02:00
Piotr Osiewicz
8ca9f4e12a
Fix some more warnings
2023-11-27 15:49:47 +01:00
Piotr Osiewicz
30af3ffaf3
fixup! Use AppContext instead of AsyncWindowContext to quit
2023-11-27 15:47:00 +01:00
Piotr Osiewicz
44876062c9
Use AppContext instead of AsyncWindowContext to quit
...
Fixes refcell-related panic
2023-11-27 15:44:19 +01:00
Nate Butler
56d3d663a5
UI progress ( #3405 )
...
[[PR Description]]
- Start outlining unfinished elements in `gpui::red()`
- Update tabs so they don't jump when activated
- Mock out a number of ui elements we haven't started yet.
Release Notes:
- N/A
2023-11-27 09:25:52 -05:00
Antonio Scandurra
0d1d01687b
Finish autocomplete ( #3404 )
...
![image](https://github.com/zed-industries/zed/assets/482957/f1f40bec-4e8b-457b-8801-ce10ecb6fc80 )
TODO:
- [x] Respect max height imposed by editor element
- [x] Ensure mouse down event handler in `EditorElement` doesn't prevent
links from being clicked
Release Notes:
- N/A
2023-11-27 15:24:59 +01:00
Antonio Scandurra
3ba5dbb9e8
Prevent mousedown on docs from being propagated to the editor
2023-11-27 15:15:57 +01:00
Piotr Osiewicz
a71180257d
Add deafening support
2023-11-27 15:12:13 +01:00
Nate Butler
c40ab3c3da
Update theme2.rs
2023-11-27 09:11:51 -05:00
Piotr Osiewicz
bf4211b03a
Use facepile for avatars
2023-11-27 14:56:51 +01:00
Antonio Scandurra
eb647be685
Pass max height manually
2023-11-27 14:56:46 +01:00
Piotr Osiewicz
714b45157b
Replace unrendered frame with a frame counter
...
Move facepile to the left hand side
2023-11-27 13:02:21 +01:00
Piotr Osiewicz
9590f253a9
Fix warnings
2023-11-27 12:46:07 +01:00
Piotr Osiewicz
5cbe8deb50
Fix up tests
2023-11-27 12:33:44 +01:00
Piotr Osiewicz
4c1514edc4
fixup! Remove shared_screen from workspace
2023-11-27 12:10:07 +01:00
Piotr Osiewicz
fad1f8db96
Remove shared_screen from workspace
2023-11-27 12:09:36 +01:00
Conrad Irwin
039c933d8e
gpui2: Notifications
2023-11-26 22:28:53 -07:00
Nate Butler
2e61a84bd6
Update tab borders
2023-11-24 16:57:50 -05:00
Nate Butler
48a9f2be4c
Update one theme colors
2023-11-24 16:57:35 -05:00
Antonio Scandurra
682712f132
Account for previous line lengths when returning index
2023-11-24 18:32:48 +01:00
Antonio Scandurra
047cfe5108
Fix painting when underlines and quads appeared after a wrap boundary
2023-11-24 18:23:08 +01:00
Antonio Scandurra
f227c3284d
Consume newline from run if it spans it
2023-11-24 17:53:48 +01:00
Piotr Osiewicz
481c19fbaf
WIP, frames are being sent to the other end
2023-11-24 17:31:47 +01:00
Antonio Scandurra
0baa9a782b
Start on wiring up render_parsed_markdown
2023-11-24 17:28:59 +01:00
Antonio Scandurra
d31b53b912
Extract a gpui::combine_highlights
function
2023-11-24 16:31:38 +01:00
Nate Butler
d965ddba27
Start debugging tab borders
2023-11-24 09:33:44 -05:00
Nate Butler
6a3925c3e1
Add copilot icons
2023-11-24 09:22:31 -05:00
Nate Butler
31565a810d
Outline statusbar items
2023-11-24 09:16:19 -05:00
Piotr Osiewicz
6ebe5d5053
Add mute handling
2023-11-24 15:16:03 +01:00
Antonio Scandurra
e5b6b0ee9e
WIP
2023-11-24 15:05:04 +01:00
Nate Butler
3c46e81533
More outlines
2023-11-24 09:03:14 -05:00
Nate Butler
7e61d340ce
Outline some unfinished elements
2023-11-24 08:58:49 -05:00
Antonio Scandurra
19bfed165b
Show single-line docs in autocomplete and apply completion on mousedown
2023-11-24 13:22:25 +01:00
Antonio Scandurra
54357d6553
Syntax highlight completions
2023-11-24 13:10:56 +01:00
Antonio Scandurra
bf39968105
Return TextRun
s in combine_syntax_and_fuzzy_match_highlights
2023-11-24 13:00:20 +01:00
Kirill Bulatov
e19860d3b0
Avoid binary target name conflicts
2023-11-24 13:29:01 +02:00
Kirill Bulatov
879a069b35
Port to gpui2
2023-11-24 13:05:53 +02:00
Kirill Bulatov
31a4acf98a
Fix collab tests
2023-11-24 12:56:58 +02:00
Kirill Bulatov
95a413847a
Properly ignore FS events of excluded files
2023-11-24 11:59:13 +02:00
Kirill Bulatov
4a060db801
Add a test
2023-11-24 11:59:13 +02:00
Joseph T. Lyons
18d3b1c397
Add app close events
2023-11-23 21:14:59 -05:00
Piotr Osiewicz
f2b62c3946
Start emitting notifications for calls
2023-11-24 00:52:44 +01:00
Antonio Scandurra
510320bb47
Introduce InteractiveText
( #3397 )
...
This new element will let us react to click events on arbitrary ranges
of some rendered text, e.g.:
```rs
InteractiveText::new(
"element-id",
StyledText::new("Hello world, how is it going?").with_runs(vec![
cx.text_style().to_run(6),
TextRun {
background_color: Some(green()),
..cx.text_style().to_run(5)
},
cx.text_style().to_run(18),
]),
)
.on_click(vec![2..4, 1..3, 7..9], |range_ix, cx| {
println!("Clicked range {range_ix}");
})
```
As part of this, I also added the ability to give text runs a background
color.
Release Notes:
- N/A
2023-11-23 19:35:03 +01:00
Antonio Scandurra
7eeb8078f6
Allow setting text background color via TextStyle
2023-11-23 19:22:18 +01:00
Antonio Scandurra
1ad22231d2
Allow providing a background color in a TextRun
2023-11-23 18:55:16 +01:00
Kirill Bulatov
df7b89b6cb
Allow to include gitignored files into project search ( #3394 )
2023-11-23 19:28:11 +02:00
Antonio Scandurra
56d043f671
Allow finding which ranges were clicked on an InteractiveText
2023-11-23 18:08:49 +01:00
Piotr Osiewicz
e754c6626d
Allow calling an user, render contacts in collab panel
2023-11-23 16:19:25 +01:00
Piotr Osiewicz
2a2b3b5e91
Authenticate on app startup
2023-11-23 15:08:21 +01:00
Piotr Osiewicz
b463454062
Remove redundant comment
2023-11-23 15:03:54 +01:00
Piotr Osiewicz
390ecb5b0c
Merge branch 'main' into collab_ui-zed2
2023-11-23 15:02:55 +01:00
Piotr Osiewicz
c191943849
Add basic call/user UI in top-right corner.
...
Allow ui::Avatar to take custom data instead of always relying on URI resolution
2023-11-23 15:00:13 +01:00
Antonio Scandurra
3b918bfee8
Merge branch 'main' into rename-element-traits
...
# Conflicts:
# crates/gpui2/src/elements/uniform_list.rs
# crates/ui2/src/components/context_menu.rs
# crates/ui2/src/components/list.rs
2023-11-23 12:47:46 +01:00
Kirill Bulatov
cee6fd8dd3
Port to gpui2
2023-11-23 10:44:05 +02:00
Kirill Bulatov
eee63835fb
Exclude more ignored/worktree-less/project-less buffers from inlay hint requests
2023-11-23 10:30:52 +02:00
Kirill Bulatov
c2751c717e
Parallelize ignored entries for search lookup
2023-11-23 09:53:00 +02:00
Joseph T. Lyons
f33c0e80a6
Add app events ( #3372 )
...
Adds app events (`first open` and `open`). For the time being, I'm
abandonding trying to add `close`, after running into many issues
trying. The code is in place for me to continue on that work, but at the
moment, we require having the telemetry settings in hand when calling
any of the methods that log an event, so we can honor the user's
preference for sending telemetry or not, but when running the
`on_app_close` method, to send off an app `close` event, the settings
are no longer available (probably the order of teardown?), which causes
some tests to end up failing. I'm not sure how to solve this. Maybe we
keep the settings on the telemetry struct and update it each time any
event is logged, then, on app shutdown, when logging the app `close`
event, we can use the stored version (idk).
Release Notes:
- N/A
2023-11-22 23:16:28 -05:00
Joseph T. Lyons
35f35dd476
Remove unused import
2023-11-22 23:03:11 -05:00
Joseph T. Lyons
575ab81409
Disable app close event
2023-11-22 23:01:31 -05:00
Joseph T. Lyons
a876b6f700
Remove comments
2023-11-22 23:01:18 -05:00
Julia
88af458f62
zed2(ish) Cancel completion resolution when new list ( #3391 )
...
Release Notes:
- N/A
2023-11-22 18:44:34 -05:00
Mikayla
6e84d8fbc0
Merge branch 'main' into panic-hunting
2023-11-22 13:47:17 -08:00
Mikayla
eb74ad7caa
Fix failing test
2023-11-22 13:41:48 -08:00
Piotr Osiewicz
6da57cbc6e
Decouple workspace from call ( #3380 )
...
This PR decouples `call2` from `workspace2` in order to improve our
compile times.
Why pick such a small, innocent crate as `call`? It depends on
`live_kit_client`, which is not-so-innocent and is in fact stalling our
clean builds.
In this PR, `call2` depends on `workspace2`; workspace crate defines a
`CallHandler` trait for which the implementation resides in `call`; it
it then all tied together in `zed`, which passes a factory of `Box<dyn
CallHandler>` into workspace's `AppState`.
Clean debug build before this change: ~1m45s
Clean debug build after this change: ~1m25s
Clean release build before this change: ~6m30s
Clean release build after this change: ~4m30s
~Gonna follow up with release timings where I expect the change to be
more impactful (as this allows 2/3 of the infamous trio of
"project-workspace-editor" long pole to proceed quicker, without being
blocked on live-kit-client build script)~.
This should have little effect (if any) in incremental scenarios, where
live_kit_client is already built.
[release
timings.zip](https://github.com/zed-industries/zed/files/13431121/release.timings.zip )
Release Notes:
- N/A
2023-11-22 22:31:47 +01:00
Julia
37e3cc1291
zed2(ish) Cancel completion resolution when new list
2023-11-22 16:26:27 -05:00
Joseph T. Lyons
0def2bc0d2
Remove dbg
2023-11-22 16:26:15 -05:00
Joseph T. Lyons
ee2b6834bd
Revert "Convert telemetry into a model"
...
This reverts commit 6e4268a471
.
2023-11-22 16:16:44 -05:00
Joseph T. Lyons
c86e99928b
Merge branch 'main' into add-app-events
2023-11-22 16:16:11 -05:00
Joseph T. Lyons
6e4268a471
Convert telemetry into a model
...
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>
2023-11-22 16:16:10 -05:00
Julia
62b1843704
zed1: Cancel completion resolution when new list ( #3389 )
...
Release Notes:
- Fixed a bug where Zed would continue to request documentation for
completion lists which were stale or no longer visible.
2023-11-22 14:23:09 -05:00
Julia
f0c7b3e6ee
Update copilot when we are the last task
2023-11-22 14:03:43 -05:00
Antonio Scandurra
2611b5d6d7
Fix positioning editor2's context menu when scrolling up/down ( #3388 )
...
Release Notes:
- N/A
2023-11-22 19:56:36 +01:00
Piotr Osiewicz
b45234eece
Fix warnings in unimplemented function
2023-11-22 19:24:38 +01:00
Piotr Osiewicz
fa74c49dbb
Add dummy call handler for tests
2023-11-22 19:23:58 +01:00
Nathan Sobo
c23f17ee0b
Reorganize element-related traits
2023-11-22 11:19:43 -07:00
Julia
9abce4bdd9
zed1: Cancel completion resolution when new list
...
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-11-22 13:16:52 -05:00
Joseph T. Lyons
10c4df20e9
collab 0.29.0
2023-11-22 13:05:29 -05:00
Antonio Scandurra
524f892fb0
Correctly swap position of context menu
2023-11-22 19:02:44 +01:00
Joseph T. Lyons
7b0b87380d
v0.115.x dev
2023-11-22 12:57:32 -05:00
Marshall Bowers
fd5793ddec
Use children
for ListItem
s
2023-11-22 12:44:51 -05:00
Marshall Bowers
031fca4105
Simplify ContextMenu
by not storing list components
2023-11-22 12:41:29 -05:00
Marshall Bowers
2c8d243d22
Comment out todo!()
to fix panic when opening context menus
2023-11-22 12:41:06 -05:00
Antonio Scandurra
eaf90a4fbd
Fix drawing uniform list elements when scrolling
2023-11-22 18:32:02 +01:00
Kirill Bulatov
71e9bd8fa3
Use a git file icon for toggle gitignored search option
2023-11-22 19:09:10 +02:00
Kirill Bulatov
566857b0b7
Output non-ignored files first
2023-11-22 19:03:27 +02:00
Antonio Scandurra
8aaa46a1b6
Track scroll in editor's context menu
2023-11-22 17:58:00 +01:00
Antonio Scandurra
bd4a710cef
Use interactivity's base style for UniformList
2023-11-22 17:50:34 +01:00
Antonio Scandurra
f37ace63e0
Initial autocomplete support for editor2
( #3383 )
...
Release Notes:
- N/A
2023-11-22 16:02:37 +01:00
Kirill Bulatov
92953fb53d
If enabled, search in ignored files during project search
2023-11-22 16:41:02 +02:00
Antonio Scandurra
2b6e8de11f
Don't perform wrapping in completions
2023-11-22 14:23:09 +01:00
Antonio Scandurra
fff2d7955e
Round up line width
2023-11-22 14:01:22 +01:00
Antonio Scandurra
3a8e9b5697
Avoid holding borrow to editor while painting child elements
2023-11-22 11:40:38 +01:00
Joseph T. Lyons
a4a1e6ba98
WIP
...
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-21 22:32:07 -05:00
Mikayla Maki
c199d92dac
Update main.rs
2023-11-21 18:14:14 -08:00
Mikayla
469b05684f
Fix a few identity mixups in GPUI
...
co-authored-by: nathan <nathan@zed.dev>
2023-11-21 17:12:32 -08:00
Piotr Osiewicz
7e7a778d11
Move CallFactory into AppState
...
Fix crash caused by double borrow of window handle
2023-11-21 22:04:02 +01:00
Mikayla
e557eb4afe
Fix no window showing up on startup
...
co-authored-by: Marshall <marshall@zed.dev>
2023-11-21 12:45:25 -08:00
Mikayla
663bbb06d9
WIP
2023-11-21 12:40:00 -08:00
Piotr Osiewicz
abe5a9c85f
Finish up decoupling workspace from call
2023-11-21 20:51:53 +01:00
Marshall Bowers
a94cf54aab
Fix storybook ( #3379 )
...
This PR fixes storybook and gets it back into a compiling and running
state.
Release Notes:
- N/A
2023-11-21 14:28:00 -05:00
Piotr Osiewicz
ebccdb64bc
Move CallHandler impl into call2
2023-11-21 20:18:35 +01:00
Piotr Osiewicz
170291ff96
Start decoupling workspace and call crates
2023-11-21 19:57:24 +01:00
Nate Butler
6fe7b22164
UI refinements + Popover ( #3377 )
...
[[PR Description]]
- Update default ui_font_size
- Update toolbar style
- Start on ui::Popover
Release Notes:
- N/A
2023-11-21 13:49:10 -05:00
Marshall Bowers
1b05aad30c
Extract Story
into separate story
crate ( #3378 )
...
This PR extracts the `Story` component into a separate `story` crate so
that it can be shared among various crates that define stories.
Release Notes:
- N/A
---------
Co-authored-by: Nate Butler <iamnbutler@gmail.com>
2023-11-21 13:42:00 -05:00
Nate Butler
40a49e6896
Update popover doc
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-21 12:43:56 -05:00
Nate Butler
9a145a4d86
Correctly position popover aside, add list item states
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-21 12:40:48 -05:00
Nate Butler
9f2e3bab9b
Allow popover to take an aside
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-11-21 12:26:10 -05:00
Nate Butler
dac7912e87
Start on popover
2023-11-21 12:10:06 -05:00
Marshall Bowers
f4b4bdfd83
ui2: Get component stories compiling again ( #3376 )
...
This PR gets the component stories defined in `ui2` compiling again.
Release Notes:
- N/A
2023-11-21 12:06:25 -05:00
Nate Butler
f04deeb5f9
Document InteractionState
2023-11-21 11:51:15 -05:00
Antonio Scandurra
f2c63781f9
Merge branch 'main' into editor2-autocomplete
...
# Conflicts:
# crates/editor2/src/editor.rs
2023-11-21 17:43:09 +01:00
Nate Butler
bec61123fd
Update toolbar.rs
2023-11-21 11:06:27 -05:00
Marshall Bowers
6cd0bcc578
Fix panic when opening settings in zed2 ( #3375 )
...
This PR fixes a panic that occurs when opening the settings in zed2.
We store the `ThemeRegistry` as a global without wrapping it in an
`Arc`, so we need to retrieve it the same way.
Release Notes:
- N/A
2023-11-21 10:58:52 -05:00
Nate Butler
209fb10731
Remove stories mod until it is re-enabled
2023-11-21 01:36:35 -05:00
Nate Butler
8947438510
Update elevation
2023-11-21 01:23:47 -05:00
Nate Butler
453aa5ffd7
TextColor
-> Color
2023-11-21 01:05:29 -05:00
Nate Butler
56d45e72cd
Add Shape enum to avatar component, refactor UITextSize to styles/typography.rs
2023-11-21 00:59:29 -05:00
Nate Butler
205607a9cd
Clean out UI
2023-11-21 00:44:51 -05:00
Piotr Osiewicz
2138715fca
Merge remote-tracking branch 'origin/callback-handles' into search2
2023-11-21 01:16:21 +01:00
Mikayla
a844bf7d41
Fix stories
...
co-authored-by: Piotrek <piotr@zed.dev>
2023-11-20 16:06:10 -08:00
Piotr Osiewicz
3e329861f9
Brave new world awaits
...
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-21 00:47:47 +01:00
Piotr Osiewicz
54a3b56935
Merge remote-tracking branch 'origin/callback-handles' into search2
2023-11-21 00:40:20 +01:00
Conrad Irwin
8049ec674e
Fix last thing
2023-11-20 16:35:56 -07:00
Conrad Irwin
5c0f2e75ea
Remove all the settings
2023-11-20 16:30:14 -07:00
Conrad Irwin
3e2dba36b4
Merge branch 'main' into callback-handles
2023-11-20 16:28:35 -07:00
Conrad Irwin
8b6b7e60be
borrow less
2023-11-20 16:00:47 -07:00
Mikayla
2c4d83c9af
WIP
...
co-authored-by: conrad <conrad@zed.dev>
co-authored-by: Nathan <nathan@zed.dev>
2023-11-20 14:46:01 -08:00
Marshall Bowers
652e3b0bb6
Rename ListEntry
to ListItem
( #3371 )
...
This PR renames the `ListEntry` component to `ListItem` to better
reflect its intent.
Release Notes:
- N/A
2023-11-20 16:13:06 -05:00
Joseph T. Lyons
daddb03e7a
Remove comments
2023-11-20 16:04:32 -05:00
Joseph T. Lyons
a0dcc9618e
Mark app event as open
if we fail to get installation_id
...
If we find a previous installation_id, then we send `open`. If we don't find a previous installation_id, then we sent as `first open`. If we fail, we mark it as `open` so that we don't accidentally bloat our `first open` stats.
2023-11-20 16:04:15 -05:00
Joseph T. Lyons
db3f487474
Fix zed2 compile error
2023-11-20 16:00:05 -05:00
Joseph T. Lyons
0926db9111
Add app events
2023-11-20 15:51:36 -05:00
Max Brunsfeld
4f4ef4a357
More fixes for zed nightly ( #3370 )
...
When running `script/bundle` with the new `-2` flag, we needed to adjust
the fat-binary creation step to look for the binary called `Zed2`.
We also fixed a source of intermittent build failures in `script/bundle`
due to running multiple `swift build` processes concurrently for the
`live_kit_client2` crate, building for the two architectures.
Release Notes:
NA
2023-11-20 12:36:25 -08:00
Max Brunsfeld
2731855487
Fix error when building live_kit_client2 for two architectures concurrently
...
Co-authored-by: Julia <julia@zed.dev>
2023-11-20 12:10:35 -08:00
Marshall Bowers
eb307b22f0
Rework List
to use children
( #3369 )
...
This PR reworks the `List` component to use `children` instead of
accepting a `Vec<ListItem>` in its constructor.
This is a step towards making the `List` component more open.
Release Notes:
- N/A
2023-11-20 14:58:31 -05:00
Mikayla
6985b70859
fix gpui2
2023-11-20 11:55:27 -08:00
Conrad Irwin
25ed7c57c1
WIP
2023-11-20 12:34:08 -07:00
Conrad Irwin
d0dd44faad
Merge branch 'main' into callback-handles
2023-11-20 12:21:42 -07:00
Max Brunsfeld
babd41916a
Remove gpui (1) dependencies from zed2
...
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-20 10:46:16 -08:00
Piotr Osiewicz
fe0a8b4be2
Fix warnings in tests
2023-11-20 19:25:14 +01:00
Piotr Osiewicz
d60855b06d
Merge branch 'main' into search2
2023-11-20 19:23:35 +01:00
Piotr Osiewicz
99ef8ccd3f
fixup dismissing of search bar
2023-11-20 19:07:37 +01:00
Piotr Osiewicz
3ddfc7ff61
Remove unused import
2023-11-20 18:44:51 +01:00
Piotr Osiewicz
fa8cd843ca
fixup! Merge branch 'main' into search2
2023-11-20 18:42:15 +01:00
Piotr Osiewicz
07cc5904f8
Merge branch 'main' into search2
2023-11-20 18:37:41 +01:00
Piotr Osiewicz
3d28495c67
fixup! Remove dbg statements
2023-11-20 18:35:39 +01:00
Piotr Osiewicz
ad38708ede
Remove dbg statements
2023-11-20 18:31:30 +01:00
Piotr Osiewicz
c1f0ac30a0
Fix up tests once and for good
2023-11-20 18:24:37 +01:00
Conrad Irwin
b19a6c0dcc
Fix storybook2
2023-11-20 10:16:05 -07:00
Conrad Irwin
5d16f76518
fmt
2023-11-20 10:05:57 -07:00
Conrad Irwin
8599ba557d
Fix more import errors
2023-11-20 10:01:21 -07:00
Conrad Irwin
f08426c7a0
shhhh
2023-11-20 10:00:37 -07:00
Conrad Irwin
f86480ba5d
Merge followup mess
2023-11-20 09:58:05 -07:00
Conrad Irwin
0798cfd58c
Merge branch 'main' into derive-element-redux
2023-11-20 09:15:38 -07:00
Nate Butler
35e0b53639
Merge branch 'main' into refine-keybindings
2023-11-20 10:46:37 -05:00
Nate Butler
176a68f90f
kb
2023-11-20 10:46:23 -05:00
Joseph T. Lyons
385028865e
Add timestamp delta to telemetry events ( #3365 )
...
- [X] assistant_events
- [X] call_events
- [X] copilot_events
- [X] cpu_events
- [X] download_events
- [X] editor_events
- [X] memory_events
- [X] page_events
- [X] panic_events
---
- [X] For each of the previous tables:
- [X] backup events to comp
- [X] make new table (changing any time fields to be datetime64)
- [X] copy data
- [X] rename old table
- [X] rename new table
---
- [ ] Delete all old tables once (going to hold off on this for some
time - want to make sure things are working correctly)
- [X] we see new data coming in on new tables
- [X] old times truncate correctly
- [X] new times show millisecond values
---
- [X] check dashboards to make sure queries didn't get broken from
changing time data type
- [X] Fix broken charts
- [X] monitor vercel for runtime errors
---
- [X] zed.dev changes
- [X] chrono changes to panicked_on
- [X] Make sure new panics are good
- [X] remove commented out code and dbg code
- [X] triple check that both crate versions have the changes
- [X] make sure all event function calls use the same original arguments
- [X] Finish testing version 2
Release Notes:
- N/A
2023-11-20 09:27:18 -05:00
Joseph T. Lyons
966bf56ddb
Activate telemetry in zed2
2023-11-20 09:08:07 -05:00
Piotr Osiewicz
8d4828a2e8
Circumvent part of the tests
2023-11-20 13:43:56 +01:00
Mikayla
f3eb1d4abf
Add button port example
2023-11-19 19:11:51 -08:00
Joseph T. Lyons
5dc3369cf6
Remove unused imports
2023-11-19 22:09:14 -05:00
Joseph T. Lyons
722ad5a01d
Fix data types
2023-11-19 22:03:55 -05:00
Joseph T. Lyons
8e612e4287
Restore commented-out code
2023-11-19 22:00:01 -05:00
Joseph T. Lyons
e0f8615d52
Remoe dbg!()
s
2023-11-19 21:55:19 -05:00
Joseph T. Lyons
3abd376d6a
Add timestamp delta to telemetry events
2023-11-19 21:52:28 -05:00
Conrad Irwin
45371584b1
Focus workspace on launch ( #3364 )
...
Fixes action dispatch when no focus is there.
Release Notes:
- N/A
2023-11-19 19:38:41 -07:00
Mikayla
88024ca7c9
Remove V parameter on elements
2023-11-19 18:32:31 -08:00
Conrad Irwin
c0d85dc1dd
Fix text wrapping when a child of a v_stack() ( #3362 )
...
Previously text that was rendered in a flex-column would reserve the
correct
amount of space during layout, and then paint itself incorrectly.
Release Notes:
- N/A
2023-11-19 11:37:31 -07:00
Piotr Osiewicz
b67193e322
ui2: Do not enable 'stories' feature by default. ( #3363 )
...
This cuts down LLVM IR size from 3 million lines to 700k in debug build.
This then leads to ~3s compile time in debug build (without incremental
on ui itself), as opposed to 10.5s on main.
Release Notes:
- N/A
2023-11-19 12:11:42 +01:00
Piotr Osiewicz
e83a297229
Move binding function back into keybinding module
2023-11-19 11:54:46 +01:00
Piotr Osiewicz
31336b0b7d
ui2: Do not enable 'stories' feature by default.
...
This cuts down LLVM IR size from 3 million lines to 700k in debug build.
This then leads to ~3s compile time in debug build (without incremental on ui itself), as opposed to 10.5s on main.
2023-11-19 11:44:33 +01:00
Conrad Irwin
c5738a509c
delint
2023-11-18 22:20:50 -07:00
Conrad Irwin
0711121586
Add some test cases
2023-11-18 22:16:28 -07:00
Nathan Sobo
33cd6f520a
Clean compile with redesigned element traits
2023-11-18 21:51:47 -07:00
Conrad Irwin
cf47ed2c5f
Fix wrapping when parent has a max_width
...
(Also avoid re-wrapping text we already wrapped)
2023-11-18 21:31:16 -07:00
Conrad Irwin
242a0b85b5
Update Taffy to latest main
2023-11-18 21:30:33 -07:00
Conrad Irwin
7172ce37b1
Fix text wrapping when a child of a v_stack()
2023-11-18 20:35:22 -07:00
Nathan Sobo
0673606de8
WIP
2023-11-18 20:22:43 -07:00
Nathan Sobo
adc355a1e6
Element refinement passing on ui2
2023-11-18 20:05:47 -07:00
Mikayla Maki
a73db6bfca
Fix more bundling errors ( #3361 )
...
Release Notes:
- N/A
2023-11-18 10:59:35 -08:00
Mikayla
ede7656f02
please work
2023-11-18 10:46:35 -08:00
Mikayla Maki
30b7da0e4a
N/t6 ( #3360 )
...
[[PR Description]]
- Fix broken pane group spacing
- Work on diagnostics styling (still wip)
Release Notes:
- N/A
2023-11-17 23:29:18 -08:00
Nathan Sobo
be33f000e2
WIP: Lots of errors, starting on resurrecting derive Element
2023-11-18 00:27:40 -07:00
Mikayla
55dbcf2039
Remove unused imports
2023-11-17 23:14:14 -08:00
Nate Butler
f9804feefa
Remove flex_1 from bottom dock to fix pane group spacing
2023-11-18 02:06:51 -05:00
Nathan Sobo
23ffce9fbe
WIP: Work toward eliminating Component trait
...
This refactor enhances the overall design by promoting reusable and composable UI component structures within the Zed project codebase.
2023-11-18 00:03:23 -07:00
Nathan Sobo
2515bbf990
Move self in Element::paint
...
Remove mutable state borrows in favor of state ownership in render processes to streamline element rendering.
2023-11-17 23:32:55 -07:00
Mikayla
461fa8d71e
Testing the auto-updater
2023-11-17 22:17:42 -08:00
Mikayla Maki
e1285b9780
Add nightly release channel for zed2 ( #3355 )
...
Release Notes:
- N/A
2023-11-17 22:12:18 -08:00
Nate Butler
d6f173866e
Use muted color for fold indicators
2023-11-18 01:02:40 -05:00
Nate Butler
b218ab4755
Remove default hover state for icon buttons
2023-11-18 01:02:21 -05:00
Nate Butler
101fe7fbb5
Update diagnostic status bar tool
2023-11-18 00:54:01 -05:00
Mikayla
fd6e47c167
Fix auto update command
2023-11-17 21:52:49 -08:00
Nate Butler
9969caf513
Style empty diagnostics as an editor
2023-11-17 23:39:40 -05:00
Nathan Sobo
0069dd5ce6
WIP
2023-11-17 20:05:37 -07:00
Mikayla
eb2e9a59b7
Fix bundling again
2023-11-17 18:27:11 -08:00