Commit Graph
31406 Commits
Author SHA1 Message Date
MikaylaandPiotrek 1b241aebbf Fix stories
co-authored-by: Piotrek <piotr@zed.dev>
2023-11-20 16:06:10 -08:00
Piotr OsiewiczandMikayla a72030054e Brave new world awaits
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-21 00:47:47 +01:00
Piotr Osiewicz b05280f8cb Merge remote-tracking branch 'origin/callback-handles' into search2 2023-11-21 00:40:20 +01:00
Conrad Irwin dbc46eb65f Fix last thing 2023-11-20 16:35:56 -07:00
Conrad Irwin d3983f54af Remove all the settings 2023-11-20 16:30:14 -07:00
Conrad Irwin 897a7e7690 Merge branch 'main' into callback-handles 2023-11-20 16:28:35 -07:00
Conrad Irwin 73edcdb601 borrow less 2023-11-20 16:00:47 -07:00
42dfefd738 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 f0c0dd9389 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 ccc4ecbf76 Remove comments 2023-11-20 16:04:32 -05:00
Joseph T. Lyons cbea2ebe6c 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 70402b6918 Fix zed2 compile error 2023-11-20 16:00:05 -05:00
Joseph T. Lyons 8c8ff42d79 Add app events 2023-11-20 15:51:36 -05:00
Max Brunsfeld cd318772fe 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 BrunsfeldandJulia c72e85c505 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 a8217ed1dc 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 7fcc5808ba fix gpui2 2023-11-20 11:55:27 -08:00
Conrad Irwin 80a6bc31ac WIP 2023-11-20 12:34:08 -07:00
Conrad Irwin 2b5db53b51 Merge branch 'main' into callback-handles 2023-11-20 12:21:42 -07:00
Max BrunsfeldandMikayla 31fd06552f Remove gpui (1) dependencies from zed2
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-20 10:46:16 -08:00
Piotr Osiewicz 9d58bf0c75 Fix warnings in tests 2023-11-20 19:25:14 +01:00
Piotr Osiewicz 7629099e79 Merge branch 'main' into search2 2023-11-20 19:23:35 +01:00
Piotr Osiewicz 8da8626397 fixup dismissing of search bar 2023-11-20 19:07:37 +01:00
Piotr Osiewicz 4c46b416e7 Remove unused import 2023-11-20 18:44:51 +01:00
Piotr Osiewicz e6f40d7133 fixup! Merge branch 'main' into search2 2023-11-20 18:42:15 +01:00
Piotr Osiewicz 9fc3540a43 Merge branch 'main' into search2 2023-11-20 18:37:41 +01:00
Piotr Osiewicz ecfcfa158f fixup! Remove dbg statements 2023-11-20 18:35:39 +01:00
Piotr Osiewicz 115bd5caef Remove dbg statements 2023-11-20 18:31:30 +01:00
Piotr Osiewicz 79e6b0c127 Fix up tests once and for good 2023-11-20 18:24:37 +01:00
Conrad Irwin 3851e7a298 Fix storybook2 2023-11-20 10:16:05 -07:00
Conrad Irwin 2dd5bbe448 fmt 2023-11-20 10:05:57 -07:00
Conrad Irwin 1422b55f2d Fix more import errors 2023-11-20 10:01:21 -07:00
Conrad Irwin e6c59f6448 shhhh 2023-11-20 10:00:37 -07:00
Conrad Irwin 7147bff519 Merge followup mess 2023-11-20 09:58:05 -07:00
Conrad Irwin 16cca67638 Merge branch 'main' into derive-element-redux 2023-11-20 09:15:38 -07:00
Nate Butler cd8b39488b Merge branch 'main' into refine-keybindings 2023-11-20 10:46:37 -05:00
Nate Butler c6468b1850 kb 2023-11-20 10:46:23 -05:00
Joseph T. Lyons 9879e6bdc5 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 ba15159963 Activate telemetry in zed2 2023-11-20 09:08:07 -05:00
Piotr Osiewicz 1fc826f7ba Circumvent part of the tests 2023-11-20 13:43:56 +01:00
Mikayla 2f29d71fc2 Add button port example 2023-11-19 19:11:51 -08:00
Joseph T. Lyons 01fbc5e346 Remove unused imports 2023-11-19 22:09:14 -05:00
Joseph T. Lyons e22781b426 Fix data types 2023-11-19 22:03:55 -05:00
Joseph T. Lyons 2c70da8784 Restore commented-out code 2023-11-19 22:00:01 -05:00
Joseph T. Lyons 4eb07e37ea Remoe dbg!()s 2023-11-19 21:55:19 -05:00
Joseph T. Lyons e000d61ca8 Add timestamp delta to telemetry events 2023-11-19 21:52:28 -05:00
Conrad Irwin fd4f3558b0 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 de8e8333cc Remove V parameter on elements 2023-11-19 18:32:31 -08:00
Conrad Irwin feec6ba26a 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 30fef20208 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