Kirill Bulatov
22420ec3dc
Optimize query ranges tracking
2023-08-14 16:19:44 +03:00
Piotr Osiewicz and Kyle
45342b6865
buffer: Extract columns to separate objects.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 15:14:57 +02:00
Piotr Osiewicz and Kyle
275d92c0dc
Extract columns into separate objects.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 15:13:17 +02:00
Kirill Bulatov
e5fc5673ce
Fix hint tests, add a char boundary bug test
2023-08-14 16:01:02 +03:00
Piotr Osiewicz and Kyle
05018dfbd8
Add more padding to dismiss button.
...
Add a style for mode buttons group margin
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 15:01:01 +02:00
Piotr Osiewicz and Kyle
10a39f6d62
Fix double borders in mode buttons.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 14:43:06 +02:00
Piotr Osiewicz and Kyle
b3ffb9921d
nav_button: Fix double border between nav buttons.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 14:33:40 +02:00
Piotr Osiewicz and Kyle
998fd9382f
buffer: fix alignment of editor icon.
...
Co-authored-by: Kyle <kyle@zed.dev >
2023-08-14 14:31:14 +02:00
Piotr Osiewicz
9caa488195
Update option buttons text color
2023-08-14 12:35:33 +02:00
Piotr Osiewicz
c9b7263a4a
Align "Select all" to the center
2023-08-14 12:31:11 +02:00
Piotr Osiewicz
069a8728e4
Fix borders being cut off in buffer search
2023-08-14 12:28:35 +02:00
Piotr Osiewicz
e4dc53fbda
Style buffer modes like project modes
2023-08-14 12:25:59 +02:00
Piotr Osiewicz
69646f0e3c
project_search: style filters button like the rest of the buttons
2023-08-14 12:20:59 +02:00
Piotr Osiewicz
18b10b2008
Add option_button_height style
2023-08-14 12:10:37 +02:00
Piotr Osiewicz
8476738afa
project_search: Swap places of case-sens/whole-word
2023-08-14 11:59:42 +02:00
Kirill Bulatov
c941405bf9
Properly generate ranges to query
2023-08-14 11:25:02 +03:00
Kirill Bulatov
831b3e2c70
Do not add duplicate hints to the cache
2023-08-14 11:25:02 +03:00
Kirill Bulatov
e26790e6fd
Query inlay hints for parts of the file
2023-08-14 11:25:02 +03:00
Kirill Bulatov
383387a570
Query hints on every scroll
2023-08-14 11:25:02 +03:00
Kirill Bulatov
93b4957012
Hide inlay cache fields
2023-08-14 11:25:02 +03:00
Nathan Sobo
6b814672c5
Compiling checkpoint
2023-08-13 22:39:06 -06:00
Nathan Sobo
ffd7952838
I think the adapter is ready. Close to pixels.
2023-08-13 22:06:35 -06:00
Nathan Sobo
1216994984
Introduce new PaintContext and LayoutContext
2023-08-13 21:57:38 -06:00
Nathan Sobo
c456402a35
Compiling checkpoint
2023-08-13 21:20:47 -06:00
Nathan Sobo
e52d372501
Get taffy style conversion working
2023-08-13 19:47:49 -06:00
Nathan Sobo
6807547b45
WIP
2023-08-13 17:29:07 -06:00
Nathan Sobo
7ce33aaabb
WIP
2023-08-13 02:27:36 -06:00
Nathan Sobo
a75ea06261
WIP
2023-08-13 01:40:10 -06:00
Nathan Sobo
43c97bc0e5
WIP
2023-08-13 01:40:05 -06:00
Piotr Osiewicz
46a4a82f1a
Style nav buttons
2023-08-13 01:29:35 +02:00
Piotr Osiewicz
ddfd18fa1b
Style dismiss button.
...
Fix clipping in nav buttons and mode buttons. Add missing borders to outskirts of mode buttons.
2023-08-13 01:06:35 +02:00
Piotr Osiewicz
6baac517b7
chore: remove redundant mut
2023-08-12 22:20:22 +02:00
Piotr Osiewicz
8ec3ff2d3b
Remove buttonside, use new corner_radii instead
2023-08-12 22:18:27 +02:00
Piotr Osiewicz
6d1ca22f57
Merge branch 'main' into project_search_design
2023-08-12 21:57:21 +02:00
Mikayla
d55c1ad81e
Merge branch 'main' into collab-panel
2023-08-12 12:44:22 -07:00
Mikayla Maki
ad20edd716
Allow individual corner radii on containers, images, and drop shadows ( #2841 )
...
Here's an example in `crates/gpui/examples/corner_radii.rs`

@iamnbutler, in the themes, anywhere we have a container style can now
take either a `corner_radius` or a `corner_radii` field, both of these
fields can either have 1 number (for all 4 corners) or a an object like:
```
{
top_left?: number,
top_right?: number,
bottom_left?: number,
bottom_right?:number
}
```
Fields that are not included in this second representation default to 0
corner radius.
2023-08-12 12:36:05 -07:00
Mikayla
75edcdb56f
Make each setting optional
2023-08-12 12:23:46 -07:00
Mikayla
05f56bfdeb
Add deserialization helper
2023-08-12 12:21:44 -07:00
Nathan Sobo
2b87398bf4
Include drop shadows with different corner radii in the example
2023-08-12 11:08:58 -06:00
Nathan Sobo
8d32b7e0fa
Allow individual corner radii on drop shadows
2023-08-12 10:58:08 -06:00
Nathan Sobo
44bf7736ae
Allow distinct corner radii for images
2023-08-12 10:50:04 -06:00
Nathan Sobo
56ba5b7edb
Wire up per corner radii for quad
...
Still need to expose this in the styling layer and allow images
to have per corner radii.
2023-08-12 10:40:23 -06:00
Nathan Sobo
f0103e5142
WIP
2023-08-12 10:00:08 -06:00
Nathan Sobo
104546bf8c
WIP
2023-08-12 01:11:12 -06:00
Nathan Sobo
3b82dbc0c1
Put a Taffy layout engine on window
2023-08-12 00:58:11 -06:00
Mikayla Maki
17e2bf7326
Add a compile test for the element derive ( #2840 )
...
Tried to use this the new element derive on a branch and ran into some
bugs, this fixes those.
Release Notes:
- N/A
2023-08-11 18:08:13 -07:00
Mikayla
3a9e050232
Add a compile test for the element derive
2023-08-11 18:00:12 -07:00
Piotr Osiewicz
3f35ee3621
Decrease row count for buffer search bar
2023-08-11 23:47:16 +02:00
Mikayla
20a9de99f8
split into body and header
2023-08-11 11:35:51 -07:00
Nate Butler and Mikayla Maki
93983b230d
WIP Restyle channel modal
...
Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com >
2023-08-11 13:32:46 -04:00