Commit Graph
231 Commits
Author SHA1 Message Date
Joseph T. LyonsandJulia a62c73b724 Add installation_id to panic events
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>
2023-06-23 21:02:01 -04:00
Joseph Lyons 6dafdc41d0 Do not rely on user's system time for telemetry events 2023-06-09 18:02:20 -04:00
Joseph Lyons bdc5fe76db Remove code sending zed events to mixpanel 2023-06-05 15:33:17 -04:00
Joseph Lyons fb29c7dc40 Add architecture to clickhouse event request body 2023-05-22 21:45:58 -04:00
Max Brunsfeld 9eb9a3cb71 Fix spurious setting error logs on non-existent setting keys 2023-05-19 17:15:05 -07:00
Max Brunsfeld e7f85efbb8 Rename settings::register_setting -> settings::register 2023-05-17 15:06:11 -07:00
Max Brunsfeld 30e678a450 Remove optional path argument when getting settings 2023-05-17 15:05:20 -07:00
Max Brunsfeld ca02b558c8 Merge branch 'main' into setting-store 2023-05-17 09:55:24 -07:00
Max Brunsfeld a802da9dae Define editor settings in editor crate 2023-05-16 17:30:29 -07:00
Max Brunsfeld 56f2ff64ed Define language settings in the language crate 2023-05-16 17:29:53 -07:00
Joseph Lyons ad7f42d0b9 Don't make events for every rejected suggestion 2023-05-16 17:19:05 -04:00
Joseph Lyons 54a42425f1 Update telemetry client to accept copilot events 2023-05-16 00:34:58 -04:00
Max Brunsfeld 876d8b3e09 Ensure the SettingsStore global is added in tests 2023-05-10 16:39:59 -07:00
Max Brunsfeld fe610e556f Define telemetry settings in the client crate 2023-05-10 12:59:24 -07:00
Joseph Lyons 6aefd6a391 Do not use post_json() to auto update 2023-05-04 12:12:36 -04:00
Joseph Lyons fc54c15077 Update post_json to take in a bool for allowing for redirects 2023-05-02 23:22:55 -04:00
Joseph T. Lyons b3309b0f56 use installation_id over device_id 2023-05-01 16:29:51 -04:00
Joseph LyonsandMax Brunsfeld deae3db26b Rework telemetry code to support sending events to Clickhouse
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2023-04-28 16:06:55 -04:00
Antonio Scandurra bdb273b753 Use a WeakViewHandle in Client for view message handlers 2023-04-26 12:21:02 +02:00
Max BrunsfeldandAntonio Scandurra afd7d101ec Fix unit tests after fixing gpui model drop semantics
co-authored-by: Antonio Scandurra <antonio@zed.dev>
2023-04-11 10:58:01 -07:00
Antonio Scandurra cac9fde432 Merge branch 'main' into randomized-tests-operation-script 2023-04-10 08:45:22 +02:00
Nathan Sobo 45c1106140 Don't export platform::* from gpui
I'd like to avoid cluttering the top-level namespace with all the platform-
specific types.
2023-04-07 11:45:53 -06:00
Nathan Sobo d937660683 Merge MutableAppContext into AppContext
There may have been a good reason for the difference at some point, or I was
still learning Rust. But now it's just &mut AppContext vs &AppContext.
2023-04-06 15:49:03 -06:00
Antonio Scandurra d2d37988c6 Return error if subscribing to an entity that was already subscribed to 2023-04-06 14:42:19 +02:00
Max Brunsfeld 3a2d13541f Merge branch 'main' into randomized-tests-operation-script 2023-04-05 17:10:20 -07:00
Max BrunsfeldandNathan Sobo 4d1fffcde4 Avoid applying outdated UpdateProject messages
Co-authored-by: Nathan Sobo <nathan@zed.dev>
2023-04-04 18:34:39 -07:00
Mikayla Maki 228b661df5 Refactor staff mode into a seperate crate and make copilot initialization wait for the staff mode flag to be flipped 2023-04-03 20:16:45 -07:00
Nathan Sobo a1c7bb2380 Use into_any instead of weird 'as' hack 2023-04-02 15:55:30 -06:00
Nathan Sobo bf6d9cbd81 Wrap AnyWeak handles with their typed counterparts 2023-04-02 15:42:03 -06:00
1205cd55ea Add copilot crate
Refactor HTTP and github release downloading into util
Lazily download / upgrade the copilot LSP from Zed

Co-authored-by: Max <max@zed.dev>
Co-Authored-By: Antonio <antonio@zed.dev>
2023-03-28 09:41:59 -07:00
Max BrunsfeldandAntonio Scandurra 4d0542cc21 Rename 'Authenticate' action to 'Sign In'
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
2023-03-14 11:01:23 -07:00
Max BrunsfeldandAntonio Scandurra 9342332495 Fix failure to see screenshare tracks that were started prior to joining a call
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
2023-03-13 11:15:22 -07:00
Antonio Scandurra fb8351563a Introduce a new TryFutureExt::unwrap method 2023-03-10 11:41:13 +01:00
Antonio Scandurra 7a0c129ad6 Avoid trying to reconnect to a room if client is signed out 2023-02-23 14:53:10 +01:00
Antonio Scandurra 38a12ff77e Tear down peer when signing out 2023-02-23 14:47:02 +01:00
Max Brunsfeld 781ad9501a Rearrange collab titlebar items to avoid movement of the toggle contacts button
* Replace username in titelbar with a `...` user menu that shows
  the current user name and contains a sign-in/sign-out button.
* Move the '+' (toggle contacts) button back to the right side.
* Move the collaborators back to the right side.
* Move the share/unshare button to the left side, beside the project title
* Only show the share/unshare button when in a call.
2023-02-22 22:56:11 -08:00
Antonio Scandurra fa2e30497c Add timeouts to HTTP client 2023-02-15 15:00:44 +01:00
Joseph T. Lyons 2117d83ad8 Include is_staff boolean in in-app feedback 2023-02-08 10:14:18 -05:00
Joseph LyonsandMax Brunsfeld 01dedce00a Fix version for feedback-related commands
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2023-01-30 14:13:25 -05:00
Mikayla Maki 67a524f204 Move StaffMode declaration out of paths 2023-01-27 15:45:33 -08:00
Mikayla Maki 782566e587 Fixed failling tests 2023-01-27 15:44:17 -08:00
Mikayla Maki edb2d2cd3f Removed old experiments settings and staff mode flag, added new StaffMode global that is set based on the webserver's staff bit 2023-01-27 15:43:12 -08:00
Joseph Lyons 3f77f72d24 Merge branch 'main' into in-app-feedback 2023-01-23 01:20:10 -05:00
Mikayla Makiandkay eca636bd8d Add opt-out for metric reporting
co-authored-by: kay <kay@zed.dev>
2023-01-10 15:49:54 -08:00
Joseph LyonsandMikayla Maki 122233ede2 WIP
Don't rely on contacts popover or contacts list for theming
Add metrics id to request body
Clean up some code and comments

Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com>
2023-01-07 18:53:00 -05:00
Nathan Sobo b3387b31ac Set transaction group interval to ZERO by default in tests
We were seeing non-deterministic behavior in randomized tests when
generating backtraces took enough time to cause transactions to group
in some cases, but not group in others.

Tests will need to explicitly opt into grouping if they want it by
setting the interval explicitly. We have tests in the text module that
currently test the history grouping explicitly, but I'm not sure
it's needed elsewhere.
2022-12-27 16:47:28 -07:00
Max Brunsfeld ad007a836e WIP - Panic immediately when detecting non-determinism via a change to the execution trace 2022-12-23 17:34:13 -08:00
Antonio Scandurra 7fc0cd4c8b Respond with an error when client hasn't got a registered handle 2022-12-23 11:53:13 +01:00
Antonio Scandurra d661abda72 WIP 2022-12-14 18:02:39 +01:00
Antonio Scandurra f7070792a9 Introduce an epoch to ConnectionId and PeerId 2022-12-14 15:55:56 +01:00