Commit Graph
25009 Commits
Author SHA1 Message Date
Joseph T. LyonsandJulia ad54d17b32 Update cpu and memory event code
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>
2023-10-03 13:29:08 -04:00
Nathan Sobo e98d92b78d Checkpoint 2023-10-03 11:16:42 -06:00
Antonio Scandurra 381cac9dfe Checkpoint 2023-10-03 18:04:45 +02:00
Antonio Scandurra 7546adc02e WIP 2023-10-03 17:53:44 +02:00
Antonio Scandurra 1466ec76a9 Checkpoint 2023-10-03 17:36:12 +02:00
Antonio Scandurra fafd2142b5 Checkpoint 2023-10-03 16:53:49 +02:00
Antonio Scandurra 4e1444c473 Checkpoint 2023-10-03 16:30:41 +02:00
KCaverly 91f867f653 add initial (non updating status) toast 2023-10-03 16:53:57 +03:00
KCaverly 205cf24268 add user prompt for permission to index the project, for context retrieval 2023-10-03 16:26:08 +03:00
Antonio Scandurra ede45bb631 Checkpoint 2023-10-03 15:23:49 +02:00
Antonio Scandurra 765bd1e461 Checkpoint 2023-10-03 14:48:08 +02:00
Nathan Sobo af2565901a Checkpoint 2023-10-03 05:57:15 -06:00
Nathan Sobo 83f3572fe9 Checkpoint 2023-10-03 05:51:59 -06:00
KCaverly c0c0763f5d start greedily indexing when inline assistant is started, if project has been previously indexed 2023-10-03 14:07:42 +03:00
KCaverly 63f923a4a4 only render retrieve context button if semantic index is enabled 2023-10-03 12:09:35 +03:00
KCaverly c77509e25b catching up with main 2023-10-03 12:05:00 +03:00
Kyle Caverly ff90cd07a3 Leverage embeddings query to collapse syntax nodes if not selected (#3067)
Reverts zed-industries/zed#3049
2023-10-03 12:02:47 +03:00
KCaverly 62710360eb move collapsed only matches outside item parent in embedding.scm 2023-10-03 11:56:45 +03:00
KCaverly e5e1c9e2c7 add retrieve context button to inline assistant 2023-10-03 11:19:54 +03:00
Conrad Irwin f886d26e3c Change channel join behavior
- Clicking on a channel name now joins the channel if you are not in it
- (or opens the notes if you are already there).
- When joining a channel, previously shared projects are opened
  automatically.
- If there are no previously shared projects, the notes are opened.
2023-10-02 23:20:06 -06:00
Conrad Irwin 9d3b755448 show host in titlebar (#3072)
Release Notes:

- show host in the titlebar of shared projects
- clicking on faces in the titlebar will now always follow the person
(it used to toggle)
- clicking on someone in the channel panel will follow that person
- highlight the currently open project in the channel panel

- fixes a bug where sometimes following between workspaces would not
work
2023-10-02 21:02:02 -06:00
Conrad Irwin b72c74227b Add/fix mouse interactions in current call sidebar 2023-10-02 19:38:45 -06:00
Marshall Bowers 788681f3d7 WIP: Panel 2023-10-02 20:16:55 -04:00
Mikayla 10496fabf5 Add message and operation ACK messages to protos 2023-10-02 17:10:03 -07:00
Joseph T. Lyons 12ee10d6e7 Add memory and cpu events (#3080)
Release Notes:

- N/A
2023-10-02 19:42:49 -04:00
Joseph T. LyonsandJulia 71b1bb2398 Add memory and cpu events
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com>
2023-10-02 19:35:31 -04:00
Max BrunsfeldandMikayla 2305497209 Avoid N+1 query for channels with new messages
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-10-02 16:22:28 -07:00
Marshall Bowers e4a9ea43fc Begin building out new ui crate in storybook2 2023-10-02 18:59:44 -04:00
Max BrunsfeldandMikayla 2e8040aeda Avoid N+1 query for channels with notes changes
Also, start work on new timing for recording observed notes edits.

Co-authored-by: Mikayla <mikayla@zed.dev>
2023-10-02 15:58:34 -07:00
Max BrunsfeldandMikayla 90373d87a7 Avoid spurious notifies in chat channel select
Co-authored-by: Mikayla <mikayla@zed.dev>
2023-10-02 15:57:59 -07:00
Conrad Irwin cbbbcdbf79 Refactor to remove toggle_follow 2023-10-02 16:51:02 -06:00
Marshall Bowers 1598a09381 Move Sized bound up onto StyleHelpers 2023-10-02 18:46:25 -04:00
Marshall Bowers d4b2d6c365 Merge branch 'gpui2' into marshall/gpui2-playground 2023-10-02 18:36:22 -04:00
Conrad Irwin 484ea0e8ee Fix bug in following
Prior to this change you could only follow across workspaces when you
were heading to the first window.
2023-10-02 16:29:42 -06:00
3353d919ac Mainline GPUI2 UI work (#3079)
This PR mainlines the current state of new GPUI2-based UI from the
`gpui2-ui` branch.

Release Notes:

- N/A

---------

Co-authored-by: Nate Butler <iamnbutler@gmail.com>
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
Co-authored-by: Nate <nate@zed.dev>
2023-10-02 18:20:47 -04:00
Marshall Bowers bef81efe1f Fix deadlock when obtaining the font ID 2023-10-02 16:10:41 -04:00
Nathan Sobo ad0f637082 WIP 2023-10-02 14:02:28 -06:00
Nathan Sobo b35a03041a Checkpoint 2023-10-02 13:34:07 -06:00
Nathan Sobo c5e3f1d8a9 Checkpoint 2023-10-02 13:16:10 -06:00
Nathan Sobo 9f590451aa Checkpoint 2023-10-02 12:47:45 -06:00
Julia 041f754188 Detach completion confirmation task when selecting with mouse (#3078)
Otherwise the spawn to resolve the additional edits never runs causing
autocomplete to never add imports automatically when clicking with the
mouse

Release Notes:

- Fixed auto-complete additional edits, such as auto-import, not
applying when selecting a completion with a mouse click.
2023-10-02 13:32:06 -04:00
Julia 83f32c91a3 Detach completion confirmation task when selecting with mouse
Otherwise the spawn to resolve the additional edits never runs causing
autocomplete to never add imports automatically when clicking with the
mouse
2023-10-02 13:18:49 -04:00
Conrad Irwin 88c5b7ce75 Remove unused function 2023-10-02 11:03:55 -06:00
Conrad Irwin 19bb02c50e Ensure notifications are dismissed
Before this change if you joined a project without clicking on the
notification it would never disappear.

Fix a related bug where if you have more than one monitor, the
notification was only dismissed from one of them.
2023-10-02 11:01:21 -06:00
KCaverly 7219206f35 add placeholder button for retrieving additional context 2023-10-02 19:50:57 +03:00
KCaverly 2ff420c7f6 searching the semantic index, and passing returned snippets to prompt generation 2023-10-02 19:15:59 +03:00
Conrad Irwin 5b30778967 Add a screen for gpui tests
Allows me to test notifications
2023-10-02 09:53:30 -06:00
Antonio Scandurra 70fca360bb Sort matches before processing them 2023-10-02 17:50:52 +02:00
Antonio Scandurra 0029a1e25f Summarize file in the background 2023-10-02 15:36:10 +02:00
Piotr Osiewicz f3dcf513cb auto-update: Link to the current release's changelog, not the latest one (#3076)
An user complained in zed-industries/community#2093 that we always link
to the latest release changelog, not the one that they've just updated
to.


Release Notes:
- Fixed changelog link in update notification always leading to the
latest release changelog, not the one that was updated to. Fixes
zed-industries/community#2093.
2023-10-02 15:24:09 +02:00