Antonio Scandurra
7fbfa16b68
Open a buffer for every language server error when clicking on status
2022-06-16 10:00:29 +02:00
Antonio Scandurra
2ef8c2a733
Merge pull request #1193 from zed-industries/tooltips
...
Add some tooltips to aid discoverability
2022-06-15 17:19:50 +02:00
Antonio Scandurra
3322206aa9
Add tooltip for project diagnostics
2022-06-15 17:12:47 +02:00
Antonio Scandurra
2296e5a08d
Add tooltip to follow collaborators
2022-06-15 17:08:39 +02:00
Antonio Scandurra
d5bd609b2c
Use a different fit mode for tooltips
2022-06-15 16:45:04 +02:00
Antonio Scandurra
0fef627123
Add tooltips for sidebar buttons
2022-06-15 13:50:04 +02:00
Antonio Scandurra
00e4a40893
Merge pull request #1192 from zed-industries/fix-autoscroll-on-cursor-click
...
Autoscroll to newest selection when adding it via the cursor
2022-06-15 13:26:15 +02:00
Antonio Scandurra
4a29ea7da8
Autoscroll to newest selection when adding it via the cursor
2022-06-15 13:21:01 +02:00
Antonio Scandurra
4de2b45b79
Merge pull request #1191 from zed-industries/show-split-actions
...
Replace `pane::Split` action with `Split{Left,Up,Right,Down}`
2022-06-15 13:12:49 +02:00
Antonio Scandurra
87394db13d
Replace pane::Split action with Split{Left,Up,Right,Down}
...
This allows us to show them in the command palette.
2022-06-15 13:06:59 +02:00
Antonio Scandurra
b601979f74
Merge pull request #1190 from zed-industries/fix-surround-with-pairs
...
Fix surrounding text with bracket pairs with multiple selections
2022-06-15 11:56:26 +02:00
Antonio Scandurra
4899f60708
Fix surrounding text with bracket pairs with multiple selections
...
This was probably a regression that was introduced with the new batched
`Buffer::edit` API and was caused by providing selection ranges in a
non-ordered fashion (we were passing all the starts first and then all the
ends).
With this commit we are adding a unit test to verify the behavior of
`Editor::surround_with_bracket_pair` and changing the order in which
we pass edit ranges to respect the selection order.
2022-06-15 11:48:21 +02:00
Antonio Scandurra
7641aea60a
Merge pull request #1189 from zed-industries/improve-metrics
...
Exclude staff from metrics and start tracking active projects
2022-06-15 11:30:12 +02:00
Antonio Scandurra
21c730dd79
Fix tests
2022-06-15 11:16:26 +02:00
Antonio Scandurra
33c902540b
Harvest the latest metrics when /metrics is requested
...
Now that we track active projects, if nothing happens to the store
during the activity timeout we would still serve some old metrics
that may not account for the staleness of a project.
This commit changes it so that we grab a mutable reference to the store
before serving the metrics, which has the side effect of updating
all the metrics.
2022-06-15 10:54:51 +02:00
Antonio Scandurra
e4a45db02c
🎨
2022-06-15 10:42:37 +02:00
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 Brunsfeld and Antonio 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 Brunsfeld and Antonio 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