Nathan Sobo
aed075b43e
Checkpoint
2023-08-19 21:24:28 -06:00
Nathan Sobo
a9db2ade4f
Checkpoint
2023-08-19 20:29:55 -06:00
Nathan Sobo
e1034181ec
Compiling checkpoint
2023-08-19 19:51:22 -06:00
Mikayla
cd67d45258
Implement component test page
2023-08-19 16:29:24 -07:00
Mikayla
e24c757784
Finish building out adapters and names
...
Document core traits
Add start for a component storybook
2023-08-19 14:40:05 -07:00
Mikayla
8f0aa2b056
Add disclosable components into channels
...
Rename components to more closely match their purpose
2023-08-19 05:18:53 -07:00
Mikayla Maki
034edacac9
Update components.rs
2023-08-19 04:30:49 -07:00
Nathan Sobo
39eb2c88c1
WIP: Trying to find a composable approach to styling that plays nice with layout engine
2023-08-18 20:08:29 -06:00
Mikayla
7167bf969f
Actually get it compiling, omg
2023-08-18 19:02:27 -07:00
Mikayla
95e52600e2
WIP: Add disclosable channels
2023-08-18 18:11:05 -07:00
Mikayla Maki
5a238a5885
Revert "Remove semantic search UI" ( #2865 )
...
This reverts commit 63477cf1f1 , where I
deleted the semantic-search related UI code.
Apologies to @KCaverly for the misunderstanding
Release Notes:
- N/A
2023-08-18 18:05:19 -07:00
Mikayla Maki
c0bee782b6
Remove potential osascript hijacking attack ( #2867 )
...
Fixes
https://linear.app/zed-industries/issue/Z-2818/security-vulnerability-dylib-injection
Release Notes:
- Fixed a potential local code-injection if a user installs the Zed CLI
for the first time with a hijacked `osascript` in their path.
2023-08-18 18:00:39 -07:00
Mikayla
c7be49b560
Fix erorr in revert
2023-08-18 17:59:06 -07:00
Mikayla
bf9f66ef5b
Remove potential osascript hijacking
2023-08-18 17:40:08 -07:00
Max Brunsfeld
fb09001be5
Reorganize the structure of the collab crate's db module ( #2866 )
...
This PR just moves some code around, with the goal of making it easier
to find things in the `collab::db` module. That has become a large
module. Previously, most of the logic lived in one giant `impl Database`
item in `db.rs`.
I broke up this `impl` into several different `impl` blocks, grouped by
topic, each in a different file in a folder called `queries`.
I also pulled out the macro-generated id types into their own file,
moved the `TestDb` struct into its own file, and moved the `sea_orm`
entity declarations into a folder called `tables`.
New folder structure:
```
db
├── db_tests.rs
├── ids.rs
├── queries
│ ├── access_tokens.rs
│ ├── channels.rs
│ ├── contacts.rs
│ ├── projects.rs
│ ├── rooms.rs
│ ├── servers.rs
│ ├── signups.rs
│ └── users.rs
├── queries.rs
├── tables
│ ├── access_token.rs
│ ├── channel.rs
│ ├── channel_member.rs
│ ├── channel_path.rs
│ ├── contact.rs
│ ├── follower.rs
│ ├── language_server.rs
│ ├── project.rs
│ ├── project_collaborator.rs
│ ├── room.rs
│ ├── room_participant.rs
│ ├── server.rs
│ ├── signup.rs
│ ├── user.rs
│ ├── worktree.rs
│ ├── worktree_diagnostic_summary.rs
│ ├── worktree_entry.rs
│ ├── worktree_repository.rs
│ ├── worktree_repository_statuses.rs
│ └── worktree_settings_file.rs
├── tables.rs
└── test_db.rs
```
Release Notes:
- N/A
2023-08-18 17:29:15 -07:00
Max Brunsfeld
6af4f59286
Break up Database impl into multiple files, organized by topic
2023-08-18 17:03:34 -07:00
Max Brunsfeld
b4c5c9219d
Reorganize source files of collab::db
...
* Move all sea_orm tables into a 'tables' module
* Move TestDb into its own file
* Move id types into their own module
2023-08-18 16:23:33 -07:00
Mikayla
14c4034599
Revert "Remove semantic search UI"
...
This reverts commit 63477cf1f1 .
2023-08-18 16:18:28 -07:00
Nathan Sobo
ee2dc26e91
WIP
2023-08-18 17:14:29 -06:00
Mikayla Maki
8473085b77
Move the collab panel to the left by default ( #2864 )
...
Increase the indent size on channels
Switch font UI mono
Release Notes:
- Switch the collaboration panel font to Zed's sans-mono (preview only)
- Switch the default dock side to the left (preview-only)
- Increase the indent size on the channels panel (preview-only)
2023-08-18 16:06:10 -07:00
Mikayla Maki
db8ba5f680
Update bump-version.sh
2023-08-18 15:52:21 -07:00
Mikayla Maki
2de4740728
Update collab_panel.rs
2023-08-18 15:34:35 -07:00
Mikayla
64d964fee6
Finish rename correctly
2023-08-18 15:26:36 -07:00
Mikayla
ef53b26c61
Fix example compile erorr
2023-08-18 15:17:24 -07:00
Mikayla
89b38e35dc
Add pub
2023-08-18 15:12:56 -07:00
Mikayla
ac4dfa6c16
Move the collab panel to the left by default
...
Increase the indent size on channels
Switch font UI mono
2023-08-18 15:04:22 -07:00
Conrad Irwin
df282080d6
Don't show vim mode when disabled ( #2863 )
...
Fixes vim's mode indicator showing up when vim is disabled.
2023-08-18 16:00:46 -06:00
Conrad Irwin
9f03074d96
Don't show vim mode when disabled
2023-08-18 15:50:34 -06:00
Max Brunsfeld
4a734ef25f
Fix failure to detect string scope, and disable quote autoclose in Rust ( #2862 )
...
This regressed in https://github.com/zed-industries/zed/pull/2723
Fixes https://github.com/zed-industries/community/issues/684
Fixes
https://linear.app/zed-industries/issue/Z-1516/avoid-double-quotes-when-closing-a-string
Release Notes:
- Fixed a bug where auto-closing quotation marks were inserted
incorrectly in Rust.
2023-08-18 14:39:44 -07:00
Max Brunsfeld and Julia
c09b84178d
Fix regression in Buffer::language_scope_at
...
Co-authored-by: Julia <julia@zed.dev >
2023-08-18 12:58:09 -07:00
Joseph T. Lyons
398eefff02
Add more file icons ( #2861 )
...
Release Notes:
- Added file icons for Python and Elixir
2023-08-18 15:27:04 -04:00
Max Brunsfeld
d353ced8be
Upgrade Tree-sitter for error recovery bug fix ( #2860 )
...
Bumps Tree-sitter for
https://github.com/tree-sitter/tree-sitter/pull/2526 .
Release Notes:
- Fixed a bug where small syntax errors would mess up syntax
highlighting more than necessary when editing certain languages, like
Scheme and PHP.
2023-08-18 12:01:53 -07:00
Joseph T. Lyons
7ff77a3625
Add elixir icons
2023-08-18 14:54:53 -04:00
Conrad Irwin
f3105c9fbb
vim: Fix cursor adjustment on scroll ( #2859 )
...
Fixes: zed-industries/community#1929
Also preserves visual modes correctly.
[[PR Description]]
Release Notes:
- vim: Fix scroll offset on `ctrl-{e,y,u,b}`
([#1929 ](https://github.com/zed-industries/community/issues/1929 )).
2023-08-18 12:32:47 -06:00
Max Brunsfeld
7dd3b13932
Upgrade Tree-sitter for error recovery bug fix
2023-08-18 11:31:40 -07:00
Conrad Irwin
08aa9b95b9
Fix <Enter> to go to non-whitespace character
...
Fixes : zed-industries/community#831
2023-08-18 12:24:39 -06:00
Joseph T. Lyons
6c6c75a6e1
Alphabetize list
2023-08-18 14:07:55 -04:00
Joseph T. Lyons
0bab64bc59
Add python file icon
2023-08-18 14:07:17 -04:00
Conrad Irwin
299d529795
Add ctrl-q as an alias for ctrl-v
...
Fixes : zed-industries/community#871
2023-08-18 11:39:48 -06:00
Conrad Irwin
eb83265856
Fix cursor adjustment on scroll
...
Fixes : zed-industries/community#1929
Also preserves visual modes correctly.
2023-08-18 11:23:43 -06:00
Antonio Scandurra
120905f5ae
Start on a refactoring assistant
2023-08-18 17:58:22 +02:00
Julia
56fa89c8e4
Use updated lsp-types fork branch
2023-08-18 11:57:19 -04:00
Conrad Irwin
b855d248bd
vim visual block ( #2849 )
...
Release notes:
- vim: add Visual Block mode
([#984 ](https://github.com/zed-industries/community/issues/984 )),
([#1415 ](https://github.com/zed-industries/community/issues/1415 )).
- vim: add support for `a<object>` and `i<object>` in visual modes
- vim: fix scroll shortcuts (`ctrl-{f,b,d,u,e,y}`) in visual modes
- allow `shift-enter` to type a newline.
2023-08-18 09:55:40 -06:00
Piotr Osiewicz
a93d2fee6c
editor: Recognize '$' as a Word character.
...
This fixes PHP variable completion. When we were querying for completions, PHP LS returned proper matches for variables which we filtered out as our query did not include a `$` character.
Z-2819
2023-08-18 17:25:20 +02:00
Kirill Bulatov
32f9f0f0dd
Respect completion resolve server capabilities ( #2858 )
...
Only query for additional edits if the server supports it
Release Notes:
- N/A
2023-08-18 17:50:37 +03:00
Kirill Bulatov and Julia Risley
4eea7de73f
Respect completion resolve server capabilities
...
Only query for additional edits if the server supports it
Co-Authored-By: Julia Risley <julia@zed.dev >
2023-08-18 16:55:47 +03:00
Kyle Caverly
52db45d003
Project search design ( #2834 )
...
TODO before merging:
- [x] Re-run project search when options (case, word, regex) change
/cc @PixelJanitor
Release Notes:
- Revamped project & buffer search UI.
- Added "Cycle Mode" command for search
2023-08-18 14:38:01 +02:00
Nathan Sobo
3330227042
Still need to wire up MouseMove with the new regions
2023-08-18 02:23:06 -06:00
Nathan Sobo
ea297c002a
Compiling
2023-08-18 01:59:21 -06:00
Nathan Sobo
14368fd0b4
Introduce Refinement trait and derive macro
2023-08-18 01:03:46 -06:00