Commit Graph

1728 Commits

Author SHA1 Message Date
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
Nate
1c7727b815 Edit pass text cleanup + fix mismatched max-w 2021-09-24 18:16:13 -04:00
Max Brunsfeld
443a7826bb Start work on expanding and collapsing directories in project panel
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-24 15:12:49 -07:00
Nate
dc2c235211 Update some styles to improve rendering on mobile
* Add active links for nav on mobile
* Smaller page margins for more edge to edge look
2021-09-24 17:37:00 -04:00
Nate
d955be3ed5 Update custom checkbox style 2021-09-24 17:20:33 -04:00
Nate
4cdb1ad0c8 Fix type on the community page 2021-09-24 17:09:11 -04:00
Nate
4013e45af6 Merge the updates and releases pages
* Remove unused story page
* Remove updates page
* Remove updates from nav
2021-09-24 17:04:02 -04:00
Nate
a90ccbdc86 Merge branch 'main' into site-v2 2021-09-24 16:52:06 -04:00
Nate
d0c4d2015e Update content on all major pages
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-24 16:50:10 -04:00
Nate
337afb0d9d Clean up some content on home and team 2021-09-24 15:28:23 -04:00