Max Brunsfeld
7577a2be32
Box futures before passing them to async_task APIs
...
This reduces the number of copies of each async_task function that get compiled.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-10-01 10:07:27 -07:00
Max Brunsfeld
24918b5cbc
Remove type parameters from Cursor::seek_internal
...
Instead, use trait objects for the target dimension and aggregation
2021-09-30 17:17:33 -07:00
Max Brunsfeld
3719a9ee23
Use published prost crates
...
The previous version of prost didn't build on nightly rust.
2021-09-30 15:37:04 -07:00
Max Brunsfeld
6a20937ab7
Merge pull request #193 from zed-industries/project-browser
...
Add the project panel
2021-09-30 15:35:47 -07:00
Max Brunsfeld
2b3e5945c6
Add key bindings to toggle the project panel
...
- Use `cmd-1` to open the project panel and toggle focus between it and the workspace center.
- Use `cmd-shift-1` to open or close the project panel.
2021-09-30 15:26:14 -07:00
Max Brunsfeld
8dcd38c25a
Fix ProjectPanel test failure
2021-09-30 15:02:27 -07:00
Max Brunsfeld
6007fa6ab3
Style the active entry in the project panel
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-30 14:16:28 -07:00
Max Brunsfeld
ad92bfe79f
Avoid duplicate notifications for the same entity in the same effect cycle
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-30 14:06:09 -07:00
Max Brunsfeld
fef0bdf6c3
Don't autoscroll the project panel when worktree changes
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-30 13:44:07 -07:00
Max Brunsfeld
5fb112ac4c
Vertically align root folder in project panel with tabs and sidebar icons
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-30 13:30:24 -07:00
Max Brunsfeld
177306d494
Add 'overlay' property to border
...
For containers, this causes the border to be drawn on top of the child element.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-30 13:29:26 -07:00
Max Brunsfeld
e37ea6c6c8
Avoid rendering artifacts when label text is shaped with a non-integer width
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-30 13:28:45 -07:00
Max Brunsfeld
6fba17a5e1
Add disclosure arrows to the project panel
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-30 10:24:52 -07:00
Nathan Sobo
18a379f20c
Scope the left and right bindings in the project panel
2021-09-30 10:50:58 -06:00
Antonio Scandurra
41fea2de1c
Open buffer when trying to expand a file
2021-09-30 16:19:24 +02:00
Antonio Scandurra
e98731876c
💄
2021-09-30 16:00:01 +02:00
Antonio Scandurra
2f508af017
Rename active entry to selected entry
2021-09-30 14:41:12 +02:00
Antonio Scandurra
19325fd3f1
Allow expanding/collapsing active entry using the keyboard
2021-09-30 14:38:21 +02:00
Antonio Scandurra
789d5dfaee
Allow selecting prev and next entries via the keyboard
2021-09-30 14:13:07 +02:00
Antonio Scandurra
7a1cdc9ad1
Fix panic when rendering multiple worktrees in project panel
2021-09-30 10:39:15 +02:00
Antonio Scandurra
5cd2c56f95
Merge branch 'main' into project-browser
2021-09-30 10:01:48 +02:00
Max Brunsfeld
d182182ae2
Avoid ProjectPanel panic when worktree has no root entry
...
Also, avoid bug where too many UniformList elements were rendered.
2021-09-29 22:08:31 -07:00
Max Brunsfeld
a389395e9c
Merge pull request #192 from zed-industries/perfmon
...
Configure production containers to allow performance monitoring
2021-09-29 16:28:49 -07:00
Max Brunsfeld
e22a181750
Remove stray logging
2021-09-29 16:04:14 -07:00
Max Brunsfeld
8e4685b718
Merge pull request #190 from zed-industries/worktree-cursor
...
Unify all worktree traversal into a single cursor/iterator
2021-09-29 16:02:19 -07:00
Max Brunsfeld
a4169f1007
Add kube-shell script, for running shell commands in a deployed container
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-29 14:55:16 -07:00
Max Brunsfeld
09f38bbd16
Fix errors in deploy script
...
Also, allow deploying to staging with uncommitted changes.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-29 14:53:52 -07:00
Max Brunsfeld
39ac723f5e
Add SYS_ADMIN capability to the server container
...
This will let us run perf(1) on the zed-server to debug
any performance problems we encounter in production.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-29 14:53:20 -07:00
Max Brunsfeld
7599ac1e8c
Generalize deploy scripts to work w/ both production and staging
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-29 14:10:40 -07:00
Max Brunsfeld
1cfdd07d40
Avoid fetching GH releases in home route
...
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2021-09-29 14:10:40 -07:00
Max Brunsfeld
6e8d35379c
Remove session and errors middleware from static route
...
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-29 14:10:40 -07:00
Nate
51a617dd5d
Revert "Update link hrefs to absolute urls"
...
This reverts commit 62edcd70e2
.
2021-09-29 12:12:35 -04:00
Nate
62edcd70e2
Update link hrefs to absolute urls
2021-09-29 12:03:56 -04:00
Antonio Scandurra
1519e1d45f
Maintain active entry Project
and render it in ProjectPanel
2021-09-29 17:05:03 +02:00
Antonio Scandurra
67c40eb4be
Allow opening entries from project panel
2021-09-29 13:08:27 +02:00
Antonio Scandurra
e030917769
Refine project panel styling
2021-09-29 11:32:06 +02:00
Nathan Sobo
99003ef2d1
Merge pull request #185 from zed-industries/site-v2
...
Update zed.dev to version 0.2.0
2021-09-28 16:00:48 -06:00
Nathan Sobo
5536bf6dcc
Merge branch 'main' into site-v2
2021-09-28 15:33:44 -06:00
Nathan Sobo
bd7bf82d18
Load .gitignore files from the Fs object so we can test this with a FakeFs
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-09-28 13:21:19 -06:00
Nathan Sobo
dde782a006
Remove top/bottom padding from project panel
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-09-28 12:26:26 -06:00
Nathan Sobo
14bc2c6857
Fix scrolling of project panel
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-09-28 12:26:15 -06:00
Nathan Sobo
a3f45c0d3b
Merge branch 'worktree-cursor' into project-browser
2021-09-28 12:13:47 -06:00
Nathan Sobo
60799c5a7c
💄
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-09-28 12:03:11 -06:00
Nathan Sobo
b018191d52
Merge pull request #186 from zed-industries/sum-tree-seek-target
...
Allow seeking SumTree cursor by multiple seek types per dimension
2021-09-28 11:56:32 -06:00
Nathan Sobo
b9b08879f2
Get tests passing
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2021-09-28 11:23:09 -06:00
Antonio Scandurra
366552f3bb
Use Bias::Left
when traversing by path
2021-09-28 13:42:46 +02:00
Nathan Sobo
c3e8a5baa0
Unify all worktree traversal in a Traversal cursor/iterator
...
This uses our new ability to have a SeekTarget that's distinct from Dimension.
2021-09-27 21:58:22 -06:00
Max Brunsfeld
ab31ddfc31
Allow seeking SumTree cursor by multiple seek types per dimension
...
Also, remove the cursor's sum_dimension. Replace it with a
blanket implementation of Dimension for two-element tuples
of dimensions.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-24 18:23:53 -07:00
Nate
6e50f2a413
Disable JIT mode for Tailwind
2021-09-24 18:20:31 -04:00
Nate
aa8ca8704f
update sign out link
2021-09-24 18:19:46 -04:00