Commit graph

1816 commits

Author SHA1 Message Date
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
Nate
7b2803b69e Make leading and font-weights more consistent 2021-09-24 15:19:53 -04:00
Nate
0980bb1f83 Style the community form
* Add custom checkboxes
* Reorganize form
* Update copy
* Update signup.hbs with new style
2021-09-24 15:11:13 -04:00
Max Brunsfeld
7eda614c4a Start work on ProjectPanel 2021-09-23 18:14:15 -07:00
Nate
9168f64bcf combine team + story, clean up nav 2021-09-23 20:20:43 -04:00
Max Brunsfeld
d561f50ab1 Extract from Workspace a Project model that stores a window's worktrees 2021-09-23 16:34:06 -07:00
Nate
c126cd5b1a add home content 2021-09-23 19:31:36 -04:00
Max Brunsfeld
39fbf7d4d1 Avoid verifying access tokens for out-of-date clients
Replace the 'VerifyToken' middleware with a 'process_auth_header' function
that we call in the '/rpc' handler after checking that the client's protocol
version matches.
2021-09-23 15:32:23 -07:00
Max Brunsfeld
d2192fd986
Merge pull request #183 from zed-industries/speed-up-access-token-verification
Speed up login by avoiding unnecessary access token verification
2021-09-23 14:12:34 -07:00
Nate
68a3ba5e4d Clean up styling of pre and code blocks inside prose 2021-09-23 16:55:08 -04:00
Nate
61194982f8 favicon + og tags update 2021-09-23 16:45:10 -04:00
Nate
ffaf3154bb wip home updates 2021-09-23 16:44:48 -04:00
Max Brunsfeld
06efb0968c Speed up login by avoiding unnecessary access token verification 2021-09-23 13:34:53 -07:00