Commit Graph
25009 Commits
Author SHA1 Message Date
MikaylaandMax 0cabb69ce7 Add channel notes view
co-authored-by: Max <max@zed.dev>
2023-08-23 18:37:00 -07:00
Mikaylaandmax 9ff1835b1e Achieve end to end channel buffer synchronization
co-authored-by: max <max@zed.dev>
2023-08-23 18:34:43 -07:00
Max Brunsfeld e3d0d2f3b0 WIP 2023-08-23 18:34:43 -07:00
Max BrunsfeldandMikayla ca98c11f5f Get join_buffer_for_channel compiling
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-08-23 18:34:43 -07:00
Mikayla 88351a58a1 WIP: pass synchronize channel buffers integration test 2023-08-23 18:34:43 -07:00
MikaylaandMax 80c8940c36 Add buffer integration test
Rearrange channel crate structure
Get channel buffer from database

co-authored-by: Max <max@zed.dev>
2023-08-23 18:34:43 -07:00
Max Brunsfeld a47eaf190e Start work on storing channel buffers 2023-08-23 18:34:43 -07:00
Max Brunsfeld 15241db3a1 Simplify macro for running a test with both databases 2023-08-23 18:34:43 -07:00
Mikayla Maki 5876d7ded4 Fix cursor and hover styles changing when dragging the mouse (#2884)
Since the resizing rework on docks, I noticed a lot of cursor flickering
when dragging, that drags trigger hover states in underlying elements
instead of being ignored, and that clicking and dragging off a button
can leave that button's click style active. This PR fixes all three
bugs.

Release Notes:

- Fixed several styling bugs related to dragging the mouse cursor
2023-08-23 18:29:29 -07:00
Mikayla 541f146673 Fix stuck click styling when dragging off of a button 2023-08-23 18:22:48 -07:00
Mikayla 7e5517ac29 Fix cursor and hover styles changing when dragging the mouse 2023-08-23 18:08:33 -07:00
Mikayla Maki c198249331 Add disclosable component (#2868)
This PR adds a disclosable component, related wiring, and uses it to
implement the collaboration panel's disclosure of subchannels. It also
adds a component test page to make style development easier, and
refactors components into v0.2, safe styles (as described in [TWAZ
#16](https://zed.dev/blog/this-week-at-zed-16))

Release Notes:

- N/A
2023-08-23 16:37:34 -07:00
Mikayla 7f16fb40ca Merge branch 'main' into disclosable-component 2023-08-23 16:30:27 -07:00
Mikayla 8fbedf2a4b Tune styles and disclosable elements 2023-08-23 16:25:40 -07:00
Nathan Sobo 72a2f255e5 Start working on restoring button 2023-08-23 16:17:45 -06:00
Piotr Osiewicz ce148b99a5 Bump rust embed (#2883)
This is a follow-up to a recent patch I've submitted to this crate to
improve compile time and runtime (in older versions file lookup was
essentially O(n) with respect to path count, now it's O(log n))

Release Notes:

- N/A
2023-08-24 00:16:35 +02:00
Nathan Sobo de9689e955 Click events, children 2023-08-23 16:02:56 -06:00
KCaverly 9f1dfb2bb3 catchup with main 2023-08-23 22:31:39 +02:00
KCaverly e2ea335626 fix async calls on project updated entries to ensure that all files are updating appropriately 2023-08-23 22:28:30 +02:00
Nathan SoboandConrad Irwin cb2b1c920c Rename Window::mouse_position to last_mouse_position
We want to encourage people to use WindowContext::mouse_position, which
requests the position from the platform.

Co-Authored-By: Conrad Irwin <conrad@zed.dev>
2023-08-23 13:28:22 -06:00
Nathan SoboandConrad Irwin 7bc14389c1 Use platform API to request mouse position
Co-Authored-By: Conrad Irwin <conrad@zed.dev>
2023-08-23 13:10:41 -06:00
Joseph T. Lyons 63e8848174 Add docker system prune command
This will hopefully keep the system drive cleaned up so we don't run issues with not enough disk space.
2023-08-23 14:54:39 -04:00
Joseph T. Lyons 4bd17b5eeb collab 0.18.0 2023-08-23 14:19:24 -04:00
Nathan SoboandConrad Irwin 6a86eb0486 Use RefinementCascade to compose pressability and hoverability
Co-Authored-By: Conrad Irwin <conrad@zed.dev>
2023-08-23 12:18:12 -06:00
Antonio Scandurra 47073f994d Apply a score boost when consecutive triplets of characters match 2023-08-23 19:21:44 +02:00
Joseph T. Lyons 55fe2f2ce2 v0.102.x dev 2023-08-23 12:49:13 -04:00
6896792f7b Merge transactions into the original assistant transaction
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Kyle Caverly <kyle@zed.dev>
2023-08-23 18:22:17 +02:00
Antonio ScandurraandKyle Caverly f98ff6e7d7 Don't score whitespace matches
Co-Authored-By: Kyle Caverly <kyle@zed.dev>
2023-08-23 17:19:07 +02:00
Antonio ScandurraandKyle Caverly 50df6db592 Group modal assistant edits into the same transaction
Co-Authored-By: Kyle Caverly <kyle@zed.dev>
2023-08-23 17:09:15 +02:00
Nathan Sobo affc3b5476 Add hover styling support 2023-08-23 09:08:05 -06:00
Nathan Sobo ffecaaa75e Rework element system, phase 1 (#2881)
This is a deep cut. There's still more work to do until we start
building UI with this. I've approached this as additively as possible,
but I've made a few changes to the rest of the code that I think would
be good to upstream before proceeding too much further.

Most of the interesting pieces are in gpui/playground, which is a
standalone binary that opens a single window and renders a new kind of
element. The layout of these new elements is provided by the taffy
layout engine crate, which conforms to web conventions. The idea is that
playground is relatively cheap to build and work on. As concepts
coalesce in playground, we can drop them into gpui and start
transitioning.
2023-08-23 08:26:38 -06:00
Antonio Scandurra f8e109b7c5 🎨 2023-08-23 16:13:37 +02:00
KCaverly ef67224708 moved semantic_index project intialization to queue and channel method 2023-08-23 15:09:15 +02:00
Antonio Scandurra 6f9e5d15a3 Adjust scoring 2023-08-23 13:26:30 +02:00
Antonio Scandurra 19cac9e679 Add basic styling 2023-08-23 13:09:02 +02:00
Antonio Scandurra 5429903eee Highlight text when the diff is the same 2023-08-23 10:28:43 +02:00
Joseph T. Lyons 8026edceb7 Shorten setting name 2023-08-23 04:07:10 -04:00
Joseph T. Lyons dfa179521c WIP 2023-08-23 04:04:36 -04:00
Antonio Scandurra 900b114bbc Delete unused imports 2023-08-23 09:59:07 +02:00
Antonio Scandurra 46cbbbd6ed Support multi-byte characters in diff 2023-08-23 09:46:33 +02:00
Antonio Scandurra fc93c33b75 Add randomized tests for incremental diff 2023-08-23 09:09:01 +02:00
Joseph T. Lyons 260a97a1a7 Update textmate.json 2023-08-23 01:31:01 -04:00
Julia 045faea6e7 Add Tailwind server to JS/TS 2023-08-23 00:11:15 -04:00
Julia 2936f98ff5 Add VSCode CSS language server & add Tailwind to .css files 2023-08-22 23:50:40 -04:00
Julia 228326d9ec Only generate workspace/configuration for relevant adapter 2023-08-22 23:36:04 -04:00
Nathan Sobo 298aeb0f11 Mark new crates as publish = false 2023-08-22 20:47:05 -06:00
Conrad Irwin ae7b6c9a5b vim: Rewrite paste (#2878)
A complete overhaul of the way vim did paste. This ended up being more
involved than I expected because of the variety of different behaviors
that vim exhibits when copying/pasting between various modes.

Release Notes:

- vim: support P for paste before
([#1869](https://github.com/zed-industries/community/issues/1869)).
- vim: support P in visual modes for paste without overriding clipboard
- vim: fix position when using `p` on text copied outside zed
([#469](https://github.com/zed-industries/community/issues/469)).
- vim: fix indentation when using `p` on text copied from zed
([#1015](https://github.com/zed-industries/community/issues/1015)).
- all: Separate copied multi-selections by `\n`
2023-08-22 20:21:58 -06:00
Nathan Sobo ec9bebc7f4 Merge branch 'main' into divs 2023-08-22 16:35:56 -06:00
Conrad Irwin 6df5f15880 Ensure editor clipboard contains \n too 2023-08-22 13:52:04 -06:00
Conrad Irwin ec55ac38f6 vim: Dismiss menu in insert mode with escape (#2879)
Release Notes:

- vim: Fix escape to dismiss suggestions in insert mode.
2023-08-22 13:38:12 -06:00