a1e9f0f311
Fix double borrow in synchronous tests that take AppContext
...
Co-authored-by: Mikayla <mikayla@zed.dev >
Co-authored-by: Antonio <antonio@zed.dev >
2023-11-03 12:10:11 -07:00
Mikayla
d8b8390702
Remove the 2s from source code
2023-11-02 10:55:02 -07:00
Antonio Scandurra
51d3b4f8f8
Fix compile errors
2023-11-02 09:47:21 +01:00
Nathan Sobo
c3ff8609e8
Get language2 tests passing by not blocking on a foreground task
2023-11-01 21:04:17 -06:00
Max Brunsfeld and Nathan Sobo
1a627a1b96
Fix hangs in new dispatcher
...
Co-authored-by: Nathan Sobo <nathan@zed.dev >
2023-11-01 17:11:42 -07:00
Conrad Irwin
21d0376cbb
Use run_until_parked instead of blocked in tests
2023-11-01 14:27:25 -06:00
Max Brunsfeld
1da07b7433
wip
2023-11-01 13:53:45 -06:00
Max Brunsfeld and Conrad
4180ea7d71
Add missing seed variable for gpui2 test macro
...
Co-authored-by: Conrad <conrad@zed.dev >
2023-10-26 15:57:12 +02:00
Marshall Bowers
b9028699c5
Merge branch 'gpui2-element-renderer' into zed2
2023-10-26 15:23:02 +02:00
Marshall Bowers
8f15cc06ab
Remove debug from derive Component proc macro
2023-10-26 15:22:38 +02:00
Marshall Bowers
523394ea18
Checkpoint: Compiling after view type removal
2023-10-26 15:20:38 +02:00
Marshall Bowers
016fa595b0
Fix Component derive macro
2023-10-26 14:20:25 +02:00
Nathan Sobo
7a1bca5b42
WIP: Macro not working fully yet
2023-10-26 13:18:58 +02:00
Nathan Sobo
ebe52d3335
Rename IntoAnyElement trait to Component
2023-10-26 12:46:52 +02:00
Nathan Sobo
a60a6f7498
Replace derive Element with derive IntoAnyElement everywhere
2023-10-26 12:38:23 +02:00
Nathan Sobo
3c90027c67
Add derive macro for IntoAnyElement
2023-10-26 12:20:46 +02:00
Conrad Irwin
c807e57b6b
Fix macro some more
2023-10-26 11:27:03 +02:00
Conrad Irwin
7646631167
Fix small bugs in gpui2::test
2023-10-26 11:23:07 +02:00
Conrad Irwin
9784163922
Use quit to end tests
2023-10-26 10:40:04 +02:00
Marshall Bowers
53ad8f444b
Checkpoint: Compiling
2023-10-26 10:08:39 +02:00
Antonio Scandurra
0f6f227d4e
Fix errors in passing TestAppContext in async gpui2 tests
2023-10-25 21:08:00 +02:00
9547714720
Introduce a gpui2::test macro
...
Co-Authored-By: Conrad Irwin <conrad.irwin@gmail.com >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
Co-Authored-By: Kyle <kyle@zed.dev >
2023-10-25 21:08:00 +02:00
Kirill Bulatov and Nathan Sobo
a7b792e5ab
Add OS file drop event handler
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-10-24 19:26:06 +02:00
Nate Butler and Mikayla Maki
2433297d52
Start scaffolding out the Copilot Modal UI
...
Co-Authored-By: Mikayla Maki <mikayla.c.maki@gmail.com >
2023-10-23 10:00:02 -04:00
Antonio Scandurra
0659132f36
Checkpoint
2023-10-21 16:01:47 +02:00
Antonio Scandurra
c1ff052c42
Checkpoint
2023-10-21 15:59:52 +02:00
Marshall Bowers
82d1c5a5d1
Remove dbg! from styleable_helpers! ( #3035 )
...
This PR removes a leftover `dbg!` from `styleable_helpers!`.
We already removed this in the `gpui2-ui` branch, but getting this on
`main` since @KCaverly pointed it out.
Release Notes:
- N/A
2023-09-26 10:49:55 -04:00
Nathan Sobo
e4abc28827
Add negative style helpers
2023-09-18 20:47:40 -06:00
Nathan Sobo
4b86052007
Checkpoint
2023-09-18 20:17:27 -06:00
Nathan Sobo
4b3522984c
Checkpoint: Add methods for setting arbitrary lengths
2023-09-18 19:48:22 -06:00
Nate Butler
0b73326752
Merge branch 'main' into nate/storybook-components
2023-09-11 11:49:49 -04:00
Nathan Sobo
b2968c2d11
Eliminate PaintContext
2023-09-11 09:00:59 -06:00
Nate Butler
ba842ddc63
Fix doc typo
2023-09-09 11:30:35 -04:00
Nate Butler
0fcddefd23
Add docs for styleable_helpers proc macros
2023-09-09 11:29:31 -04:00
Nathan Sobo
b006b8f4f3
Checkpoint
2023-09-08 14:09:29 -06:00
Nathan Sobo
f3ddd3d794
Always pass parent origin when painting elements
2023-09-08 06:32:20 -06:00
Nate Butler
94dd535d43
Checkpoint
2023-09-07 16:01:32 -04:00
Nate Butler
8703f6c545
Checkpoint
2023-09-07 15:33:50 -04:00
Nathan Sobo
5348dfa47a
Render borders in gpui2 divs
2023-09-06 14:31:44 -06:00
Nate Butler and Nathan Sobo
1343b4bcff
Add size rounded prefixes
...
Co-Authored-By: Nathan Sobo <1789+nathansobo@users.noreply.github.com >
2023-09-06 14:18:29 -04:00
Nate Butler
dac9f722e0
Add fraction sizes for tailwind lengths
2023-09-05 17:27:00 -04:00
Nate Butler and Nathan Sobo
f2a115d639
Work on sample collab_panel story in the storybook
...
Co-Authored-By: Nathan Sobo <1789+nathansobo@users.noreply.github.com >
2023-09-05 15:19:44 -04:00
Nathan Sobo and Nate Butler
91a2f21337
Start sketching a collab panel in storybook
...
Co-Authored-By: Nate Butler <nate@zed.dev >
2023-09-05 10:02:36 -06:00
Nathan Sobo
04079268fd
Add gpui2 crate
2023-08-30 15:00:11 -06:00
Nathan Sobo
f278fdb342
Checkpoint
2023-08-30 14:40:57 -06:00