Commit Graph
354 Commits
Author SHA1 Message Date
Joseph T. Lyons 98826d0da4 Rename variable 2024-01-16 18:35:50 -05:00
Joseph T. Lyons c05ff85935 Remove dbg!()s 2024-01-16 18:33:43 -05:00
Joseph T. Lyons 126028a62d Do not reset timer for each reported event 2024-01-16 18:31:00 -05:00
Joseph T. Lyons 7a265e9121 Add command palette action events 2024-01-15 20:22:47 -05:00
Joseph T. Lyons 93ffacdf9f Remove button event function 2024-01-15 16:28:28 -05:00
Joseph T. Lyons 49c244bfb2 Removed button event 2024-01-15 16:26:56 -05:00
Joseph T. Lyons fa0ba2cca2 Add more open events
project search
diagnostics
welcome page
2024-01-15 16:26:04 -05:00
Mikayla 610455254b Don't open files unescessary in dev builds 2024-01-12 22:47:07 -08:00
Mikayla 3c34f6282d Restore temp file initialization in telemetry code 2024-01-12 21:37:09 -08:00
Max Brunsfeld 2e428719d4 Fix failure to write to keychain because of dropping a future 2024-01-11 16:22:34 -08:00
Joseph T. Lyons b6f58f07e6 Return a single Option from EventCoalescer 2024-01-11 12:27:59 -05:00
Joseph T. Lyons 9d094249c4 Only return environment when period ends 2024-01-11 11:30:22 -05:00
Joseph T. Lyons 4a26e632f6 Fix bug with improperly reported environment
When logging the edit environment, we were logging the newest environment being sent into the EventCoalescer on the latest activity log, when we should've been logging the environment that was associated with the ended period within the EventCoalescer.
2024-01-11 11:24:55 -05:00
Joseph T. Lyons 9ed59ba8c3 Increase debug mode queue size 2024-01-11 01:12:49 -05:00
Joseph T. Lyons 8aa67fbe3d Never send an an empty set of events 2024-01-11 01:12:30 -05:00
Joseph T. Lyons 78913b5f7c Add reminder for the future 2024-01-10 21:02:34 -05:00
Joseph T. Lyons bf796791a1 Rename field in telemetry struct 2024-01-10 17:41:02 -05:00
Joseph T. Lyons 082a81f0a8 WIP 2024-01-10 17:04:26 -05:00
Joseph T. Lyons 37caf3e06c Merge branch 'main' into instrument-keyboard-events 2024-01-10 16:03:01 -05:00
Joseph T. Lyons cef3f92861 WIP 2024-01-10 02:05:42 -05:00
Marshall Bowers 6c1b134e2f gpui: Add SharedUrl type (#3975)
This PR adds a `SharedUrl` type to GPUI.

It's just like a `SharedString`, but for denoting that the contained
value is a URL.

Mainlined from @nathansobo's GPUI blog post:
https://github.com/zed-industries/zed/pull/3968/files#diff-7ee75937e2daf7dd53f71b17698d8bd6d46993d06928d411781b9bd739b5f231R9-R12

Release Notes:

- N/A
2024-01-09 10:55:49 -05:00
Piotr OsiewiczandMarshall Bowers f90b05b716 Display setting documentation in settings.json (#3936)
Let this screenshot of settings.json speak for itself: 

![image](https://github.com/zed-industries/zed/assets/24362066/fca60383-1788-43f9-803b-00f083394c8a)

Release Notes:
- Added code completion & on-hover documentation to Zed's settings.json
file.

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
2024-01-08 19:30:18 +01:00
Piotr Osiewicz d9270b0abe gpui: Further docs refinement & moved some reexports into 'private' module (#3935)
This commit mostly fixes invalid URLs in docstrings. It also
encapsulates crates we reexport (serde stuff + linkme) into a public
module named "private" in order to reduce the API surfaced through docs.
Moreover, I fixed up a bunch of crates that were pulling serde_json in
through gpui explicitly instead of using Cargo manifest.

Release Notes:
- N/A
2024-01-07 14:14:21 +01:00
Joseph T. Lyons d55c3f88f9 Remove "clickhouse" from telemetry code
The client sends events to our end point, and the endpoint is what determines what analytics database is used to store the data. The client should be generic and not mention the name of the service being proxied to through our server.
2024-01-06 23:27:23 -05:00
Joseph T. Lyons 3431c14e32 Remove immediate flush mode
Allow flush method to be called publicly. This is a better, simpler solution, that allows for better control over flushing.
2024-01-06 20:27:30 -05:00
Joseph T. Lyons 73368099ed Fix tests 2024-01-06 16:10:40 -05:00
Joseph T. Lyons bb443a09c5 Clean up code 2024-01-06 15:31:16 -05:00
Joseph T. Lyons 86ea6562cd WIP 2024-01-06 14:41:35 -05:00
Joseph T. Lyons 597b99e9d7 Move telemetry settings check into telemetry module 2024-01-04 01:13:21 -05:00
Max BrunsfeldandMikayla 75f0670dd6 Remove 2 suffix from gpui
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 12:59:39 -08:00
Max BrunsfeldandMikayla e2be87c688 Remove 2 suffix for ui, storybook, text
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 12:33:51 -08:00
Max BrunsfeldandMikayla 2e155121f8 Remove 2 suffix for collab, rope, settings, menu
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 12:29:16 -08:00
Max BrunsfeldandMikayla 7173f4a82b Remove 2 suffix for fs, db, semantic_index, prettier
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 12:09:42 -08:00
Max BrunsfeldandMikayla f8cb050345 Remove 2 suffix for client, call, channel
Co-authored-by: Mikayla <mikayla@zed.dev>
2024-01-03 12:02:14 -08:00
Joseph T. Lyons 693e1a437b Add settings events 2024-01-02 17:02:53 -05:00
Joseph T. Lyons bd22fa7cf0 Add project open event
Give the caller of report_app_event() the choice of whether to immediately flush the queue or not.
2023-12-22 20:23:55 -05:00
Joseph T. Lyons 4fd329c692 Increase queue flush debounce time 2023-12-22 19:57:13 -05:00
Joseph T. Lyons 830526f3e5 Increase telemetry queue size 2023-12-22 19:56:06 -05:00
Joseph T. Lyons 8a8d4bc18f Slow down sampling metric collection rate 2023-12-22 04:52:36 -05:00
Julia 04ccadad7f Disable instance handshake in dev builds 2023-12-04 09:16:04 -05:00
JuliaandMax Brunsfeld 54a1ef9697 zed2: Mostly port breadcrumbs & improve StyledText api
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-11-27 16:09:31 -05:00
Joseph T. Lyons 8c8ff42d79 Add app events 2023-11-20 15:51:36 -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
Kirill Bulatov 6db4451b25 Create new Zed release channel: nightly 2023-11-17 12:13:32 +02:00
Max Brunsfeld e879c28daf Mark contact acceptance notifications as read automatically 2023-10-22 12:22:47 +02:00
Max Brunsfeld 8836f25dc4 Merge branch 'main' into notifications 2023-10-16 12:37:52 -07:00
Joseph T. Lyons 0d00924039 Fix telemetry-related crash on start up 2023-10-16 13:07:07 -04:00
Max Brunsfeld 6f3ea55c7a Remove old contact request notification mechanism, use notification instead 2023-10-12 17:42:32 -07:00