Commit Graph
1586 Commits
Author SHA1 Message Date
Nate 65069ff4d2 Disable JIT mode for Tailwind 2021-09-24 18:20:31 -04:00
Nate 36801c1b1c update sign out link 2021-09-24 18:19:46 -04:00
Nate a7b97951de Edit pass text cleanup + fix mismatched max-w 2021-09-24 18:16:13 -04:00
Nate 371080fef6 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 512169922b Update custom checkbox style 2021-09-24 17:20:33 -04:00
Nate 564864a9e5 Fix type on the community page 2021-09-24 17:09:11 -04:00
Nate 6c9ad73092 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 3eb172e3a3 Merge branch 'main' into site-v2 2021-09-24 16:52:06 -04:00
Nate c37f3e7dad Update content on all major pages
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-24 16:50:10 -04:00
Nate d91932e26e Clean up some content on home and team 2021-09-24 15:28:23 -04:00
Nate 49b18135a7 Make leading and font-weights more consistent 2021-09-24 15:19:53 -04:00
Nate cf67ec8355 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
Nate 7a409777f6 combine team + story, clean up nav 2021-09-23 20:20:43 -04:00
Nate 20360c9a8c add home content 2021-09-23 19:31:36 -04:00
Max Brunsfeld 6f7d5c4fca 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 9f9281de6c 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 09c7ae2169 Clean up styling of pre and code blocks inside prose 2021-09-23 16:55:08 -04:00
Nate 50075082bb favicon + og tags update 2021-09-23 16:45:10 -04:00
Nate d114552f6a wip home updates 2021-09-23 16:44:48 -04:00
Max Brunsfeld 2d406a0f3f Speed up login by avoiding unnecessary access token verification 2021-09-23 13:34:53 -07:00
Nate 6c3b955d2d update story 2021-09-23 15:48:38 -04:00
Nate afd3ab9353 favicon + social media assets 2021-09-23 15:43:35 -04:00
Nate 3319adb45a style updates 2021-09-23 15:43:21 -04:00
ffa47fe319 Flush pending selection before performing any action on all selections
Closes #155

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-23 11:20:56 -07:00
Antonio Scandurra 4744fba37c Merge pull request #181 from zed-industries/rpc-compression
Compress RPC messages using zstd
2021-09-23 18:56:36 +02:00
Antonio Scandurra caafe51f76 Merge pull request #182 from zed-industries/retry-flaky-wrap-shaped-line-test
Retry `test_wrap_shaped_line` 5 times before reporting a failure
2021-09-23 18:49:13 +02:00
Antonio Scandurra 9b6f6a5432 Retry test_wrap_shaped_line 5 times before reporting a failure
It doesn't seem like there's anything fundamentally broken and it
might just be something weird with CI. Also, there's precedent for
retrying tests depending on fonts, e.g. `test_layout_str`.
2021-09-23 18:32:39 +02:00
Antonio Scandurra ea88fe6d12 Bump zrpc version to 1 2021-09-23 18:27:12 +02:00
Antonio Scandurra 58cd0846b8 Remove stray logging 2021-09-23 18:26:42 +02:00
Max BrunsfeldandAntonio Scandurra 9d2380fa52 Start work on compressing RPC messages
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2021-09-23 18:26:42 +02:00
Antonio Scandurra 670f87b74d Merge pull request #179 from zed-industries/rpc-protocol-version
Forbid connections from outdated clients
2021-09-23 18:26:12 +02:00
Antonio ScandurraandNathan Sobo aefcb1f8d1 Create test_app_state with FakeFs instead of RealFs
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-23 18:17:49 +02:00
Antonio Scandurra ffa32e311c Merge pull request #180 from zed-industries/peer-test-io-error-flaky
Fix flaky `zrpc::tests::peer::test_io_error` test
2021-09-23 17:56:40 +02:00
Antonio ScandurraandNathan Sobo 4eb012c3d6 Properly initialize response_channels
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-23 17:50:13 +02:00
Antonio ScandurraandNathan Sobo e13fc58c5b 💄
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-09-23 17:32:37 +02:00
Antonio Scandurra 370ddd68ff Merge pull request #176 from zed-industries/worktree-share-exclude-ignored
Exclude ignored entries when sharing a worktree
2021-09-23 17:26:41 +02:00
Antonio Scandurra 9853e496af Prevent requests from hanging when shutting down a connection
When closing a connection (either due to an error or simply because the
user wanted to), we will now  *take* `response_channels` as opposed to
clearing them. This ensures that `Peer::request` can't succeed in both
adding the oneshot channel in `response_channels` map _and_ submit the
message onto the `outgoing_tx` channel.

This also streamlines how we close a connection by unifying all the exit
code paths of the IO handling future.
2021-09-23 16:35:40 +02:00
Antonio Scandurra ac87c28d29 Remove non-determinism from zrpc::tests::peer::test_io_error 2021-09-23 15:55:28 +02:00
Antonio Scandurra e0efb0f841 Display warning in titlebar when Zed is out-of-date 2021-09-23 15:36:32 +02:00
Antonio Scandurra eefda8ac3c Version the zrpc protocol using a X-ZRPC-VERSION header 2021-09-23 15:35:35 +02:00
Antonio Scandurra 3cbb260092 Exclude ignored entries when sharing a worktree
This commit also adds a randomized test that exercises building and
applying snapshot updates.
2021-09-23 11:20:53 +02:00
Antonio Scandurra aa58a766f2 Bump PathEntry::scan_id when the ignore status of an entry changes 2021-09-23 11:20:53 +02:00
Antonio Scandurra 24ee8d4b32 Merge pull request #174 from zed-industries/tweak-word-boundaries
Adjust word-boundary motion, treating whitespace more like other editors
2021-09-23 09:09:49 +02:00
Max Brunsfeld a102a459da Adjust word-boundary motion, treating whitespace more like other editors
Also, fix the behavior of 'delete_to_{prev,next}_word_boundary' commands when
there are non-empty selections.
2021-09-22 17:00:57 -07:00
Max Brunsfeld dc5dcc555f Fix bytes/chars error in Editor::paste
Fixes #156
2021-09-22 14:36:30 -07:00
Nate 3e0644d58b update styles 2021-09-22 13:04:14 -04:00
Nate d676ba93d0 Merge branch 'main' into site-v2 2021-09-22 12:14:58 -04:00
Nate 2009abc12e update styles 2021-09-22 11:38:14 -04:00
Nate a3e96781d2 shrink tailwind package size by removing unused core components 2021-09-22 11:38:09 -04:00
Antonio Scandurra 4af0754191 Merge pull request #170 from zed-industries/people-panel
People panel
2021-09-22 17:10:50 +02:00