Commit Graph
22 Commits
Author SHA1 Message Date
Kirill Bulatov 091d93533d Port to gpui2 2023-11-30 15:46:35 +02:00
Antonio Scandurra d2c1897385 Fix error in tests 2023-11-30 11:45:10 +01:00
Conrad Irwin 4c2348eb53 Fix tests, notify errors 2023-11-28 16:20:54 -07:00
Kirill Bulatov e19860d3b0 Avoid binary target name conflicts 2023-11-24 13:29:01 +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
Piotr Osiewicz fa74c49dbb Add dummy call handler for tests 2023-11-22 19:23:58 +01:00
Joseph T. LyonsandMikayla a4a1e6ba98 WIP
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-11-21 22:32:07 -05:00
Kirill Bulatov a5c615ceb4 Pass a new query parameter into the search 2023-11-17 21:40:56 +02:00
Marshall Bowers b559bfd80f Parameterize theme2::init to allow loading just the base theme (#3345)
This PR adds a parameter to the `theme2::init` method to indicate what
the theme-loading behavior should be.

This allows us to indicate when we want to load all of the additional
built-in user themes (like in the Zed binary and in the storybook), and
when we don't want to load the user themes (like in tests).

We're using an enum over just a `bool` here for clarity at the call
site.

Release Notes:

- N/A
2023-11-16 13:03:30 -05:00
Mikayla c70c0f9ae9 Remove initialize_workspace 2023-11-15 23:11:31 -08:00
Mikayla d197660d3b Fix broken tests and comment out remaining tests 2023-11-13 16:46:06 -08:00
Mikaylaandconrad a4e9fea133 WIP
co-authored-by: conrad <conrad.irwin@zed.dev>
2023-11-13 15:53:04 -08:00
Mikayla 43eb7f28d1 checkpoint 2023-11-08 23:16:04 -08:00
Mikayla 269c3ea244 Uncomment tests 2023-11-08 22:11:51 -08:00
Mikayla 4404e76a2d Merge branch 'main' into editor-integration 2023-11-08 21:33:14 -08:00
Mikayla 0bfd18ba09 WIP 2023-11-08 21:32:59 -08:00
Mikayla 7888dc4592 Add notifications2 2023-11-08 21:23:31 -08:00
Conrad Irwin e90f6acf5f Silence problem 2023-11-08 12:37:35 -07:00
Mikayla e1cb993878 Get tests green 2023-11-08 10:38:43 -08:00
Mikayla 75a80811b3 WIP 2023-11-06 11:18:56 -08:00
Mikayla d66ed4310f WIP: change over background executor test helpers 2023-11-06 10:16:08 -08:00
Mikayla e1525e2b47 Get collab2 green 2023-11-03 18:01:06 -07:00