Commit Graph
4559 Commits
Author SHA1 Message Date
Antonio Scandurra e627636760 Track active projects in metrics
An active project is defined as a project where there has been at
least a buffer edit, a join request/response, or a follow update
in the last minute.
2022-06-15 10:33:20 +02:00
Antonio Scandurra 95a5094487 Exclude admins from collected metrics 2022-06-14 16:26:00 +02:00
Antonio Scandurra a00ca11e45 Merge pull request #1184 from zed-industries/invisible-setting-files
Don't show invisible worktrees in project and contacts panel
2022-06-14 15:21:58 +02:00
Antonio Scandurra 5c4437f02d Bump protocol version 2022-06-14 15:21:37 +02:00
Antonio Scandurra 297842b911 Broadcast only visible worktree root names 2022-06-14 15:15:23 +02:00
Antonio Scandurra ebcbcc3956 Prevent setting files from showing up in project and contacts panels 2022-06-14 14:47:16 +02:00
Antonio Scandurra ee5aadb564 Merge pull request #1183 from zed-industries/project-panel-refinements
Polish project panel UX
2022-06-14 14:04:25 +02:00
Antonio Scandurra a3a8c03396 🎨 2022-06-14 14:03:25 +02:00
Antonio Scandurra 37452e8dcb Attempt to open new entry only if it is a file 2022-06-14 14:01:49 +02:00
Antonio Scandurra a408c59709 Open files in project panel using enter instead of right 2022-06-14 13:56:56 +02:00
Antonio Scandurra ead4b30638 Open files when creating them in project panel 2022-06-14 13:49:47 +02:00
Antonio Scandurra e5636e5518 Merge pull request #1175 from zed-industries/users-api
Allow specifying `query`, `limit` and `page` when hitting `/api/users`
2022-06-14 11:19:37 +02:00
Antonio Scandurra a92e888419 Merge branch 'main' into users-api 2022-06-14 11:14:16 +02:00
Antonio Scandurra b04e42d2c1 Merge pull request #1174 from zed-industries/bulk-user-creation
Expose a new `POST /api/bulk_users` API to create many users at once
2022-06-14 09:24:19 +02:00
Antonio Scandurra 6988a24297 Allow specifying query, limit and page when hitting /api/users
This is needed to introduce pagination and search in our admin panel.
2022-06-13 17:30:01 +02:00
Antonio Scandurra ce8444afb7 Expose a new POST /api/bulk_users API to create many users at once
This API will accept a vector of JSON entries containing the GitHub login,
the email address and the invite count. If that user already exist, the
invite count will be updated to the new one.
2022-06-13 15:18:18 +02:00
Antonio Scandurra c9943d6f39 Merge pull request #1172 from zed-industries/more-logs
Add more logging to `collab` to better understand user behavior
2022-06-13 09:22:37 +02:00
Antonio Scandurra 217385e726 Exclude ignored files from the logged extension count 2022-06-13 09:16:16 +02:00
Antonio Scandurra a6cc293327 Don't retain message payloads in span, just log the payload instead 2022-06-13 09:06:58 +02:00
Antonio Scandurra b1cfad4d4a Log extension counts when worktree is updated 2022-06-13 08:57:21 +02:00
Max Brunsfeld 4675e2b21f Merge pull request #1171 from zed-industries/prompt-save-before-quit
Prompt to save changes before quitting the app
2022-06-10 17:32:57 -07:00
Max Brunsfeld a71a9eb665 Prompt to save changes before quitting the app 2022-06-10 17:26:33 -07:00
Max Brunsfeld f2be6ea2cf Merge pull request #1170 from zed-industries/open-metrics
Report collab server metrics to DataDog via OpenMetrics
2022-06-10 17:02:26 -07:00
Max Brunsfeld edc9277f33 Move prometheus annotations from deployment to pod spec 2022-06-10 14:32:36 -07:00
Max BrunsfeldandAntonio Scandurra 20e6ab92ee Add DataDog OpenMetrics annotations to collab k8s deployment
Co-authored-by: Antonio Scandurra <me@as-cii.com>
2022-06-10 13:35:52 -07:00
Max BrunsfeldandAntonio Scandurra 3a4c8743f3 Add OpenMetrics endpoint exposing the basic RPC store metrics as guages
Co-authored-by: Antonio Scandurra <me@as-cii.com>
2022-06-10 13:32:56 -07:00
Max Brunsfeld ef900ef02e Merge pull request #1161 from zed-industries/style-jump-to-diagnostic-arrows
Style jump to buffer arrows in diagnostics
2022-06-10 12:35:44 -07:00
Max Brunsfeld 311b1a773b v0.38.0 2022-06-10 10:19:21 -07:00
Antonio Scandurra 18a5f6e96f WIP: Start adding more logs 2022-06-10 18:17:02 +02:00
Antonio Scandurra 7053e2c182 Merge pull request #1167 from zed-industries/block-scroll-width
Introduce a new `BlockStyle` field for blocks
2022-06-10 14:03:46 +02:00
Antonio Scandurra eceb736095 Simplify EditorElement::layout_blocks 2022-06-10 13:57:43 +02:00
Antonio Scandurra d467da1afc Introduce a new BlockStyle field for blocks
This new field allows blocks to specify how they want to be laid out:

- If `Fixed` they can take up all the width they want and they will impact
the scroll width of the editor. This is useful for diagnostic messages and
allows scrolling the editor further to the right to visualize the entire message.
- If `Flex` they can extend all the way to the scroll width without impacting it
any further. This is useful for the rename editor that we insert as a block
decoration when hitting `F2`.
- If `Sticky`, they will be as wide as the editor element and won't participate
in the horizontal scrolling of the editor. This is useful for headers in general,
where we want e.g. the filename and the jump button to always be visible
independently of how much the user has scrolled to the right.
2022-06-10 13:47:40 +02:00
Keith Simmons 6a9c4348a6 Merge pull request #1166 from zed-industries/hover-fixes
Always delay hover display
2022-06-09 18:18:01 -07:00
Keith Simmons c921ddae3a Always delay hover display 2022-06-09 18:08:23 -07:00
Keith Simmons 145ea5ecad Merge pull request #1144 from zed-industries/hover-fixes
Hover fixes. Addresses delay issues with current hover implementation, shrinks the hover popover, and tweaks the display of markdown data
2022-06-09 17:18:26 -07:00
Keith Simmons a9c3aa48b3 Merge fix 2022-06-09 17:07:32 -07:00
Keith Simmons b1b41425db fix compile error in EditorLspTestContext 2022-06-09 17:03:45 -07:00
Keith Simmons 9c561064c8 Test fixes 2022-06-09 17:03:45 -07:00
Keith Simmons 9f53cfb758 Fix delayed lsp request 2022-06-09 17:03:45 -07:00
Keith Simmons d75a411aad test and build fixes 2022-06-09 17:03:45 -07:00
Keith Simmons 2232ebf584 Add hover test and tweak dismiss logic 2022-06-09 17:03:45 -07:00
Keith Simmons 6cbb582c48 Hide hover when font changes, and handle case where delay was preventing hover with large symbol range 2022-06-09 17:03:44 -07:00
Keith Simmons 5f1e3a5933 Rework hover delay, respect editor font size, and enable hover in multibuffers 2022-06-09 17:03:44 -07:00
Keith Simmons a07c3b8731 wip 2022-06-09 17:03:44 -07:00
Max Brunsfeld 2e11995a75 Merge pull request #1155 from zed-industries/golang
Add Go support
2022-06-09 14:18:37 -07:00
Max Brunsfeld 862bc339d0 Tweak golang outline query 2022-06-09 13:31:30 -07:00
Max Brunsfeld a8be3e8b62 Add project symbol labels for Go 2022-06-09 13:16:08 -07:00
Max Brunsfeld ddec3fc97d Add syntax highlighting for Go completions 2022-06-09 13:08:18 -07:00
Max Brunsfeld 3a848da1eb Ignore completions from gopls that we can't yet handle
We only support additionalEdits if they are provided when resolving the
completion, not if they are provided immediately.
2022-06-09 13:08:08 -07:00
Max Brunsfeld 01aca3b128 Add tests and fix bugs for editor indent/outdent commands w/ hard tabs 2022-06-09 10:26:09 -07:00