Marshall Bowers
7ed891e0c6
Merge branch 'gpui2' into gpui2ui-debug-panel
2023-10-19 13:04:37 -04:00
Marshall Bowers
a1f7a97ff5
Pull the settings from the global state
2023-10-19 13:02:32 -04:00
Nate Butler
bca97f7186
Checkpoint – Broken
2023-10-19 12:58:17 -04:00
Marshall Bowers
61e09ff532
Checkpoint: Thread WindowContext
through to user_settings
2023-10-19 12:58:17 -04:00
Nate Butler
8e465b4393
Add basic debug panel
2023-10-19 12:09:39 -04:00
Marshall Bowers
b16d37953d
Use line_height
in z_index
stories
2023-10-19 12:06:05 -04:00
Marshall Bowers
f5c76d93bc
Add missing Arc
for on_click
handler
2023-10-19 10:25:54 -04:00
Antonio Scandurra
98c0e00a2c
Checkpoint
2023-10-19 15:52:17 +02:00
Antonio Scandurra
3d8e9a593e
Checkpoint
2023-10-19 15:44:02 +02:00
Antonio Scandurra
ffa3362e16
Checkpoint
2023-10-19 15:36:37 +02:00
Nate Butler
e34a488b55
WIP
2023-10-18 20:58:24 -04:00
Nate Butler
c22778bd92
Remove debugs
2023-10-18 19:15:17 -04:00
Nate Butler
65828c14fc
Use ui_size to build icon button
2023-10-18 19:12:02 -04:00
Nate Butler
7cb00aeb34
Update line heights, buttons to respond to UI scale
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-10-18 17:55:17 -04:00
Nate Butler
7b2782c0f6
Use ui_size
to set relative font sizes
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-10-18 17:02:57 -04:00
Nate Butler
3f076eeda6
Remove unused code from storybook 2
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-10-18 16:27:34 -04:00
Nate Butler
a35d350cbd
Update storybook2 to run the workspace by default
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-10-18 16:21:04 -04:00
Nate Butler
a6a50113da
Merge branch 'n/gpui2ui-settings' into gpui2
2023-10-18 16:17:57 -04:00
Nate Butler
8b637e194e
Update approach to settings
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-10-18 16:16:58 -04:00
Nate Butler
289255d67a
Update UI elements and implement user settings for customization
2023-10-18 15:42:10 -04:00
Marshall Bowers
549e78d7b3
Use SharedString
for Input
s
2023-10-18 14:28:28 -04:00
Marshall Bowers
5a42ca6772
Merge branch 'gpui2' of github.com:zed-industries/zed into gpui2
2023-10-18 14:19:29 -04:00
Marshall Bowers
8dad3ad8ea
Use SharedString
for List
s
2023-10-18 14:19:26 -04:00
Antonio Scandurra
159d798c34
Checkpoint
2023-10-18 20:13:19 +02:00
Marshall Bowers
856d23626f
Use SharedString
for Palette
and PaletteItem
s
2023-10-18 14:03:13 -04:00
Antonio Scandurra
8890636a56
Checkpoint
2023-10-18 19:30:53 +02:00
Antonio Scandurra
a0634fa79e
Checkpoint
2023-10-18 18:39:47 +02:00
Antonio Scandurra
03937a9f89
WIP
2023-10-18 18:39:47 +02:00
Marshall Bowers
24086191af
Split Label
and HighlightedLabel
2023-10-18 12:37:47 -04:00
Marshall Bowers
f0b9e9a89d
Use SharedString
for Keybinding
s
2023-10-18 12:26:51 -04:00
Marshall Bowers
6e3393c93f
Use SharedString
for Button
s
2023-10-18 10:59:42 -04:00
Marshall Bowers
aa41f97e38
Merge branch 'gpui2' of github.com:zed-industries/zed into gpui2
2023-10-18 10:58:54 -04:00
Marshall Bowers
2b53c67789
Use SharedString
for Label
s
2023-10-18 10:58:50 -04:00
Antonio Scandurra
731ce1721a
Checkpoint
2023-10-18 16:55:55 +02:00
Marshall Bowers
8321b9430e
Wire up hover styles on Button
s
2023-10-18 10:53:42 -04:00
Marshall Bowers
7f69350e4d
Fix typo in doc comment
2023-10-18 10:45:20 -04:00
Marshall Bowers
1a156c1060
Merge branch 'gpui2' of github.com:zed-industries/zed into gpui2
2023-10-18 10:44:43 -04:00
Antonio Scandurra
7149f99f02
Checkpoint
2023-10-18 16:43:20 +02:00
Marshall Bowers
5491398a64
Merge branch 'gpui2' into gpui2-ui
2023-10-18 10:43:15 -04:00
Antonio Scandurra
0e4bd485e0
Checkpoint
2023-10-18 16:36:48 +02:00
Antonio Scandurra
fecb27232e
Checkpoint
2023-10-18 16:30:48 +02:00
Antonio Scandurra
f58a9bad42
Checkpoint
2023-10-18 16:30:03 +02:00
Antonio Scandurra
f4d50c4dca
Checkpoint
2023-10-18 16:27:58 +02:00
Antonio Scandurra
036e266bae
Checkpoint
2023-10-18 16:21:52 +02:00
Antonio Scandurra
d98c347902
Checkpoint
2023-10-18 16:13:36 +02:00
Antonio Scandurra
1270bcc6ed
Checkpoint
2023-10-18 16:10:58 +02:00
Antonio Scandurra
8914b94577
Checkpoint
2023-10-18 15:46:17 +02:00
Antonio Scandurra
acca8ea786
Checkpoint
2023-10-18 15:24:35 +02:00
Antonio Scandurra
eaef1c8b8e
Checkpoint
2023-10-18 15:17:22 +02:00
Antonio Scandurra
0dfe70125b
Checkpoint
2023-10-18 14:41:46 +02:00
Antonio Scandurra
5afd83c883
Checkpoint
2023-10-18 14:36:16 +02:00
Antonio Scandurra
a61b34cab5
Checkpoint
2023-10-18 14:12:50 +02:00
Antonio Scandurra
ad1b96720a
Checkpoint
2023-10-18 13:36:26 +02:00
Antonio Scandurra
296a2b8e5d
Rename fill
to bg
2023-10-18 09:39:23 +02:00
Antonio Scandurra
597a9f9548
Use text color to paint SVGs
2023-10-18 09:39:20 +02:00
Antonio Scandurra
e031718747
Checkpoint
2023-10-18 09:22:49 +02:00
Antonio Scandurra
6452ff203e
Checkpoint
2023-10-18 09:15:44 +02:00
Marshall Bowers
79e0509bf9
Begin documenting flex styles
2023-10-17 17:32:30 -04:00
Marshall Bowers
218922d9f8
Document gap styles
2023-10-17 17:21:52 -04:00
Marshall Bowers
7a2b04a5d1
Document border width styles
2023-10-17 16:47:37 -04:00
Marshall Bowers
dc32e56a9c
Document rounded styles
2023-10-17 16:35:21 -04:00
Marshall Bowers
490cc7ded6
Add more placeholder doc strings
2023-10-17 16:24:36 -04:00
Antonio Scandurra
4db0350f06
Checkpoint
2023-10-17 22:16:48 +02:00
Marshall Bowers
edc52e5b28
Tweak grammar
2023-10-17 16:16:38 -04:00
Marshall Bowers
a1a1284696
Document top/right/bottom/left styles
2023-10-17 16:13:55 -04:00
Marshall Bowers
6f849e8f64
Document padding styles
2023-10-17 16:10:30 -04:00
Marshall Bowers
3e32504526
Document .size()
2023-10-17 16:07:52 -04:00
Marshall Bowers
6e84d3cce0
Document margin styles
2023-10-17 16:06:11 -04:00
Marshall Bowers
8c02de6c61
Document width and height styles
2023-10-17 16:06:07 -04:00
Marshall Bowers
f09df31480
Emit doc strings for custom value setters
2023-10-17 16:01:36 -04:00
Antonio Scandurra
a8697df9e3
Checkpoint
2023-10-17 21:54:28 +02:00
Marshall Bowers
6f30d6b4d0
Add placeholder doc strings for style prefixes
2023-10-17 15:53:54 -04:00
Antonio Scandurra
61490fbaa8
Checkpoint
2023-10-17 21:40:24 +02:00
Antonio Scandurra
4ce7f059c3
Checkpoint
2023-10-17 21:37:09 +02:00
Antonio Scandurra
deb0e57c49
Checkpoint
2023-10-17 21:11:52 +02:00
Antonio Scandurra
19c1a54fea
WIP
2023-10-17 18:45:01 +02:00
Antonio Scandurra
850d43c1e8
WIP
2023-10-17 18:37:53 +02:00
Antonio Scandurra
ec368c8102
WIP
2023-10-17 18:28:58 +02:00
Antonio Scandurra
c04171abf6
WIP
2023-10-17 13:32:49 +02:00
Antonio Scandurra
488d08b43c
WIP
2023-10-17 12:46:50 +02:00
Antonio Scandurra
18abb068b1
Checkpoint
2023-10-17 11:35:48 +02:00
Antonio Scandurra
cec5280013
Checkpoint
2023-10-17 11:31:13 +02:00
Antonio Scandurra
c126ff10a7
Checkpoint
2023-10-17 11:21:02 +02:00
Antonio Scandurra
bb348c1353
Checkpoint
2023-10-17 11:20:11 +02:00
Antonio Scandurra
fb1e7eef6b
Checkpoint
2023-10-17 11:08:48 +02:00
Antonio Scandurra
ac5b32c491
Checkpoint
2023-10-17 10:14:22 +02:00
Antonio Scandurra
b526fc070d
Merge branch 'gpui2-text-wrap' into gpui2
2023-10-17 09:03:16 +02:00
Antonio Scandurra
88ae4679d1
Checkpoint
2023-10-17 09:03:01 +02:00
Antonio Scandurra
9e7a579365
Checkpoint
2023-10-17 08:57:20 +02:00
Antonio Scandurra
b040ae8d4d
Checkpoint
2023-10-17 08:52:26 +02:00
Antonio Scandurra
c6e20aed9b
Checkpoint
2023-10-17 08:32:33 +02:00
Nathan Sobo
695a24d8a7
Checkpoint
2023-10-17 08:26:12 +02:00
Nathan Sobo
2472142532
Checkpoint
2023-10-17 06:09:03 +02:00
Nathan Sobo
bf49f55c95
Include length in run to not use tuples
2023-10-17 05:15:00 +02:00
Nathan Sobo
0df1eb71cb
Use cloned
2023-10-17 05:08:56 +02:00
Marshall Bowers
c8b452d411
Merge branch 'gpui2-ui' into gpui2
2023-10-16 16:54:40 -04:00
Marshall Bowers
708034d1d3
Call is_toggled
as a method
2023-10-16 15:55:43 -04:00
Nathan Sobo
3127c78bc7
Fix compile error
2023-10-16 20:19:04 +02:00
Nathan Sobo
938dd8b9ca
Checkpoint
2023-10-16 20:16:35 +02:00
Nathan Sobo
847376cd8f
WIP
2023-10-16 20:15:41 +02:00
Nathan Sobo
1a3650ef2a
Get everything rendering again
2023-10-16 20:15:24 +02:00
Nate Butler
129273036a
Add notifications panel to workspace UI structure
2023-10-16 13:11:52 -04:00
Nate Butler
97d77440e7
Simplify static panes for now
2023-10-16 13:07:15 -04:00
Marshall Bowers
5e43c332f1
Merge branch 'gpui2-ui' into gpui2
2023-10-13 17:44:28 -04:00
Marshall Bowers
6891e86621
Add state to BufferSearch
2023-10-13 17:44:21 -04:00
Marshall Bowers
3c1ec2e9ca
Add rudimentary UI for BufferSearch
2023-10-13 17:36:27 -04:00
Marshall Bowers
49caeeafce
Merge branch 'gpui2-ui' into gpui2
2023-10-13 17:20:54 -04:00
Marshall Bowers
349ad7858b
Add placeholder BufferSearch
2023-10-13 17:20:44 -04:00
Marshall Bowers
c70f220db3
Wire up buffer search toggle for EditorPane
2023-10-13 17:14:09 -04:00
Nate Butler
603765732e
Checkpoint
2023-10-13 14:50:37 -04:00
Nathan Sobo
297b6b282c
Make all geometry types Default to support movement-based refinement
2023-10-13 12:41:00 -06:00
Antonio Scandurra
fedb787b4f
WIP
2023-10-13 19:06:03 +02:00
Antonio Scandurra
90f226193c
Checkpoint
2023-10-13 19:06:03 +02:00
Marshall Bowers
e477fa7a93
Wire up call controls in the TitleBar
2023-10-13 12:46:35 -04:00
Marshall Bowers
f3679b37a2
Change TitleBar
to a view
2023-10-13 12:21:51 -04:00
Nate Butler
b30b1d145c
Refactor button rendering to use ThemeColor instead of direct theme calls
2023-10-13 11:47:13 -04:00
Nate Butler
e902d5d917
Add example NotificationToast to workspace
2023-10-13 11:47:05 -04:00
Nate Butler
8bd4107423
Fix toast contents not filling container
2023-10-13 11:46:48 -04:00
Nate Butler
7ba305e033
Hook up buttons in NotificationToast
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-10-13 11:03:59 -04:00
Nate Butler
caa0eb6e29
Add missing derive Element
...
Co-Authored-By: Marshall Bowers <1486634+maxdeviant@users.noreply.github.com>
2023-10-13 10:47:39 -04:00
Nate Butler
c6d831a564
Update NotificationToast implementation and use in Workspace component
2023-10-13 10:35:30 -04:00
Nate Butler
943c02bf79
Refactor NotificationToast structure to include primary and secondary actions
2023-10-13 10:20:26 -04:00
Nate Butler
c32b081029
Add notification toast component and remove ToastVariant from toast.rs
2023-10-13 10:05:50 -04:00
Marshall Bowers
44a30e269e
Restore elevation docs
2023-10-12 18:18:44 -04:00
Marshall Bowers
ef18aaa66f
Merge branch 'main' into gpui2
2023-10-12 17:43:05 -04:00
Marshall Bowers
45f3a98359
Remove old ui
and storybook
crates ( #3125 )
...
This PR deletes the old `ui` and `storybook` crates in favor of their
newer variants that we'll be landing to `main` in the near future.
### Motivation
These crates are based off the old version of GPUI 2 (the `gpui2`
crate).
At this point we have since transitioned to the new version of GPUI 2
(the `gpui3` crate, currently still on the `gpui2` branch).
Having both copies around is confusing, so the old ones are going the
way of the dinosaurs.
Release Notes:
- N/A
2023-10-12 17:40:20 -04:00
Marshall Bowers
36bca4f0d6
Restore click events on Button
s using on_mouse_down
2023-10-12 16:56:48 -04:00
Marshall Bowers
6e5ad75c5c
Use Workspace::view
to construct the view
2023-10-12 16:52:32 -04:00
Marshall Bowers
79a61c28d7
Remove global WorkspaceState
2023-10-12 16:23:10 -04:00
Marshall Bowers
e900ea20b7
Fix toggling of left panel
2023-10-12 16:12:09 -04:00
Marshall Bowers
8496d02fe1
Hold the story view in the StoryWrapper
2023-10-12 16:11:59 -04:00
Marshall Bowers
fc94c4ea40
Render stories as View
s
2023-10-12 16:06:54 -04:00
Marshall Bowers
c90d976d7a
Remove debug logging in Element
derive macro
2023-10-12 15:52:42 -04:00
Marshall Bowers
d320d3a8bf
Remove hacky children
2023-10-12 15:50:09 -04:00
Marshall Bowers
24bab48043
Use new children approach for Toolbar
2023-10-12 15:47:26 -04:00
Max Brunsfeld
f5d6d7caca
Mark channel notes as disconnected immediately upon explicitly signing out
2023-10-12 12:39:02 -07:00
Max Brunsfeld
85fe11ff11
Replace disconnected channel notes views when re-opening the notes
2023-10-12 12:38:23 -07:00
Marshall Bowers
30979caf25
Use new children approach for Pane
s and Toast
s
2023-10-12 15:37:50 -04:00
Nathan Sobo
ce8533f83b
Checkpoint
2023-10-12 13:27:46 -06:00
Max Brunsfeld
2e5461ee4d
Exclude disconnected channel views from following messages
2023-10-12 11:55:39 -07:00
Antonio Scandurra
2044ccdc0b
WIP
2023-10-12 19:40:13 +02:00
Antonio Scandurra
ca35573ad5
WIP
2023-10-12 19:30:00 +02:00
Marshall Bowers
6dbe983461
Checkpoint: Back to a compiling state
2023-10-12 12:22:23 -04:00
Marshall Bowers
262f5886a4
Checkpoint
2023-10-12 12:18:35 -04:00
Marshall Bowers
207d843aee
Fix issues in storybook2
2023-10-12 10:44:18 -04:00
Marshall Bowers
a6b872bb0c
Temporarily disable click handlers
2023-10-12 10:44:11 -04:00
Marshall Bowers
8cd112110e
Reconcile with upstream changes
2023-10-12 10:40:47 -04:00
Marshall Bowers
9581279919
Fix some merge errors
2023-10-12 10:27:50 -04:00
Marshall Bowers
002458f4c8
Merge branch 'gpui2' into gpui2-ui
2023-10-12 10:27:43 -04:00
Kirill Bulatov
a50977e0fd
Add prettier support ( #3122 )
2023-10-12 17:13:10 +03:00
Kirill Bulatov
ef73bf799c
Fix license issue
2023-10-12 16:26:28 +03:00
Kirill Bulatov
7aea95704e
Revert unnecessary style changes
2023-10-12 16:17:41 +03:00
Antonio Scandurra
564a8bdc19
Checkpoint
2023-10-12 14:58:31 +02:00
Kirill Bulatov
09ef3ccf67
Fix tailwind prettier plugin discovery
2023-10-12 15:58:00 +03:00
Antonio Scandurra
1f84cdb88c
Checkpoint
2023-10-12 14:49:06 +02:00
Kirill Bulatov
12d7d8db0a
Make all formatting to happen on the client's buffers, as needed
2023-10-12 15:29:57 +03:00
Kirill Bulatov
1bfde4bfa2
Add more tests
2023-10-12 15:14:51 +03:00
Antonio Scandurra
80c0a6ead3
Checkpoint
2023-10-12 13:25:49 +02:00
Kirill Bulatov
7f4ebf50d3
Make the first prettier test pass
2023-10-12 13:30:49 +03:00
Kirill Bulatov
a528c6c686
Prettier server style fixes
2023-10-12 12:31:30 +03:00
Antonio Scandurra
23f11fcd5e
Merge branch 'main' into gpui2
2023-10-12 10:55:17 +02:00
Nathan Sobo
3dad0d9811
Add group_active
2023-10-11 21:48:21 -06:00
Nathan Sobo
d920f7edc1
Add group hovers
2023-10-11 21:34:08 -06:00
Nathan Sobo
f37b83a0ea
WIP
2023-10-11 17:18:39 -06:00
Nate Butler
12573ed2e7
Refine project panel, list item
2023-10-11 19:15:27 -04:00
Conrad Irwin
be1800884e
Make collaboration warning more useful ( #3119 )
...
Release Notes:
- Fixed the titlebar upgrade UI to restart zed when an update is
available
2023-10-11 15:35:41 -06:00
Nathan Sobo
93c233b1cf
Checkpoint
2023-10-11 13:22:40 -06:00
Nathan Sobo
47b64a5074
Checkpoint
2023-10-11 12:51:56 -06:00
Joseph T. Lyons
d6fa06b3be
collab 0.24.0
2023-10-11 13:51:01 -04:00
Nathan Sobo
e2da2b232e
Checkpoint
2023-10-11 11:40:42 -06:00
Joseph T. Lyons
bdf1731db3
v0.109.x dev
2023-10-11 12:40:57 -04:00
Marshall Bowers
5477b87774
Hook up assistant panel
2023-10-11 12:38:06 -04:00
Marshall Bowers
7478e63ea0
Simplify state interactions
2023-10-11 12:32:05 -04:00
Marshall Bowers
922d1462a8
Merge branch 'gpui2-ui' of github.com:zed-industries/zed into gpui2-ui
2023-10-11 12:24:34 -04:00
Marshall Bowers
8f410d5e2e
Add support for switching between the project and collab panels
2023-10-11 12:24:33 -04:00
Nate Butler
0d8c743dfe
Refine project panel, list
2023-10-11 12:22:24 -04:00
Kirill Bulatov
e50f4c0ee5
Add prettier tests infrastructure
2023-10-11 19:13:28 +03:00
Marshall Bowers
b6a9c58994
Push language selector handler down into StatusBar
2023-10-11 12:11:22 -04:00
Marshall Bowers
382693a199
Adjust icon color based on whether the various components are open
2023-10-11 12:09:08 -04:00
Marshall Bowers
acf2c2c6a5
Add ability to toggle the terminal
2023-10-11 12:01:17 -04:00
Antonio Scandurra
006f840570
Checkpoint
2023-10-11 17:53:29 +02:00
Conrad Irwin
2d6725a41a
Make collaboration warning more useful
2023-10-11 09:50:22 -06:00
Antonio Scandurra
457df8d3f3
Start and stop display link on the main thread
2023-10-11 16:38:54 +02:00
Antonio Scandurra
b6e4208ea8
Checkpoint
2023-10-11 15:08:28 +02:00
Antonio Scandurra
56fba5541a
Checkpoint
2023-10-11 14:19:04 +02:00
Kirill Bulatov
4a88a9e253
Initialize prettier right after the buffer gets it language
2023-10-11 14:48:32 +03:00
Antonio Scandurra
a69dbafe3c
Checkpoint
2023-10-11 12:47:19 +02:00
Antonio Scandurra
a9c69bf774
Checkpoint
2023-10-11 12:45:09 +02:00
Kirill Bulatov
986a516bf1
Small style fixes
2023-10-11 12:56:29 +03:00
Kirill Bulatov
9bf22c56cd
Rebase fixes
2023-10-11 12:56:29 +03:00
Kirill Bulatov
b5705e079f
Draft remote prettier formatting
2023-10-11 12:56:29 +03:00
Kirill Bulatov
2ec2036c2f
Invoke remote Prettier commands
2023-10-11 12:56:29 +03:00
Kirill Bulatov
faf1d38a6d
Draft local and remote prettier separation
2023-10-11 12:56:29 +03:00
Kirill Bulatov
6c1c7eaf75
Better detect Svelte plugins
2023-10-11 12:56:29 +03:00
Kirill Bulatov
2d5741aef8
Better prettier format logging
2023-10-11 12:56:29 +03:00
Kirill Bulatov
a9f80a603c
Resolve prettier config before every formatting
2023-10-11 12:56:29 +03:00
Kirill Bulatov
658b58378e
Properly use WorktreeId
2023-10-11 12:56:29 +03:00
Kirill Bulatov
8a807102a6
Properly support prettier plugins
2023-10-11 12:56:29 +03:00
Kirill Bulatov
afee29ad3f
Do not clear cache for default prettiers
2023-10-11 12:56:29 +03:00
Kirill Bulatov
6ec3927dd3
Allow to configure default prettier
2023-10-11 12:56:29 +03:00
Kirill Bulatov
b109075bf2
Watch for prettier file changes
2023-10-11 12:56:29 +03:00
Kirill Bulatov
f4667cbc33
Resolve prettier config on server init
2023-10-11 12:56:29 +03:00
Kirill Bulatov
d021842fa1
Properly log pre-lsp prettier_server events
2023-10-11 12:56:29 +03:00
Kirill Bulatov
f42cb109a0
Improve prettier_server LSP names in the log panel
2023-10-11 12:56:29 +03:00
Kirill Bulatov
1b70e7d0df
Before server startup, log to stderr
2023-10-11 12:56:29 +03:00
Kirill Bulatov
b687270207
Implement missing prettier_server clear method
2023-10-11 12:56:29 +03:00
Kirill Bulatov
06cac18d78
Return message id in prettier_server error responses
2023-10-11 12:56:29 +03:00
Kirill Bulatov
6cac58b34c
Add prettier language servers to LSP logs panel
2023-10-11 12:56:29 +03:00
Kirill Bulatov
4b15a2bd63
Rebase fixes
2023-10-11 12:56:29 +03:00
Kirill Bulatov
e8409a0108
Even more generic header printing in prettier_server
2023-10-11 12:56:29 +03:00
Kirill Bulatov
39ad3a625c
Generify prettier properties, add tabWidth
2023-10-11 12:56:29 +03:00
Kirill Bulatov
2a5b9b635b
Better pass prettier options
2023-10-11 12:56:29 +03:00
Kirill Bulatov
e2056756ef
Calculate the diff
2023-10-11 12:56:29 +03:00
Kirill Bulatov
6a8e3fd02d
Add more parameters into prettier invocations
2023-10-11 12:56:29 +03:00
Kirill Bulatov
2a68f01402
Draft prettier_server formatting
2023-10-11 12:56:29 +03:00
Kirill Bulatov
dca93fb177
Initialize prettier_server.js wrapper along with default prettier
2023-10-11 12:56:29 +03:00
Kirill Bulatov
010bb73ac2
Use LSP-like protocol for prettier wrapper commands
2023-10-11 12:56:29 +03:00
Kirill Bulatov
bb2cc2d157
Async-ify prettier wrapper
2023-10-11 12:56:29 +03:00
Kirill Bulatov
86618a64c6
Require prettier argument and library in the wrapper
2023-10-11 12:56:29 +03:00
Kirill Bulatov
1ff17bd15d
Install default prettier and plugins on startup
2023-10-11 12:56:29 +03:00
Kirill Bulatov
12ea12e4e7
Make language adapters able to require certain bundled formatters
2023-10-11 12:56:29 +03:00
Kirill Bulatov
4f956d71e2
Slightly better prettier settings and discovery
2023-10-11 12:56:29 +03:00
Kirill Bulatov
ce6b31d938
Make NodeRuntime non-static for prettier runner
2023-10-11 12:56:29 +03:00
Kirill Bulatov
a8387b8b19
Use proper NodeRuntime in the formatter interface
2023-10-11 12:56:28 +03:00
Kirill Bulatov
a420d9cdc7
Add prettier search
2023-10-11 12:56:28 +03:00
Kirill Bulatov
a8dfa01362
Prepare prettier file lookup code infra
2023-10-11 12:56:28 +03:00
Kirill Bulatov
92f23e626e
Properly connect prettier lookup/creation methods
2023-10-11 12:56:28 +03:00
Kirill Bulatov
553abd01be
Draft a project part of the prettier
2023-10-11 12:56:28 +03:00
Julia
eced842dfc
Get started with a prettier server package
...
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
2023-10-11 12:56:28 +03:00
Antonio Scandurra
b6a3d9ce59
Checkpoint
2023-10-11 11:03:08 +02:00
Antonio Scandurra
eebbc807e5
Checkpoint
2023-10-11 10:45:57 +02:00
Antonio Scandurra
0fb7364235
Checkpoint
2023-10-11 09:17:25 +02:00
Nathan Sobo
f1cc62c21f
WIP
2023-10-10 22:49:47 -06:00
Nathan Sobo
f53b63eaf6
Checkpoint
2023-10-10 22:14:47 -06:00
Conrad Irwin
85b76b1143
Don't wrap on paragraphs ( #3094 )
...
Release Notes:
- vim: `{` and `}` will no longer wrap around end of file
([#2116 ](https://github.com/zed-industries/community/issues/2116 )).
2023-10-10 19:25:40 -06:00
Conrad Irwin
9004254fbf
vim: Add shift-y ( #3117 )
...
Release Notes:
- vim: Add `Y` to copy line-wise (this copies vim's behaviour, which
differs from nvim's)
2023-10-10 19:25:32 -06:00
Conrad Irwin
1de9add304
vim: Add shift-y
2023-10-10 18:46:49 -06:00
Max Brunsfeld
7a39455af9
Fix inclusion of spurious views from other projects in FollowResponse ( #3116 )
...
A logic error in https://github.com/zed-industries/zed/pull/2993 caused
follow responses to sometimes contain extra views for other unshared
projects 😱 . These views would generally fail to deserialize on the
other end. This would create a broken intermediate state, where the
following relationship was registered on the server (and on the leader's
client), but the follower didn't have the state necessary for following
into certain views.
Release Notes:
- Fixed a bug where following would sometimes fail if the leader had
another unshared project open.
2023-10-10 15:53:11 -07:00
Max Brunsfeld
96d60eff23
Fix inclusion of spurious views from other projects in FollowResponse
2023-10-10 15:40:40 -07:00
Marshall Bowers
a69f93d214
Wire up toggling of project and chat panels
2023-10-10 18:35:20 -04:00
Marshall Bowers
8e1638b773
Add working toggle for LanguageSelector
2023-10-10 18:21:44 -04:00
Marshall Bowers
95ef61bc45
Thread click handler through from workspace to language selector
2023-10-10 18:02:08 -04:00
Marshall Bowers
c142676b20
Add click handlers to some of the buttons in the StatusBar
2023-10-10 17:26:53 -04:00
Marshall Bowers
be843227a1
Add on_click
to IconButton
2023-10-10 17:26:33 -04:00
Marshall Bowers
48d9b49ada
Wire up click handlers on Button
s
2023-10-10 17:19:18 -04:00
Mikayla
d7d027bcf1
Rename release channel to enviroment
2023-10-10 13:23:03 -07:00
Marshall Bowers
f2ee61553f
Colocate element stories with their elements
2023-10-10 16:00:04 -04:00
Marshall Bowers
30088afa89
Colocate component stories with their components
2023-10-10 15:52:58 -04:00
Mikayla
40430cf01b
Update channel rooms to be ephemeral
...
Remove redundant live kit initialization code
Fix bug in recent channel links changes where channel rooms would have the incorrect release set
co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
co-authored-by: Max <max@zed.dev>
2023-10-10 12:39:16 -07:00
Marshall Bowers
b1d88ced61
Add an example of colocating a story for a UI component with its definition
2023-10-10 15:30:16 -04:00