Commit Graph
16839 Commits
Author SHA1 Message Date
Max Brunsfeld 44cb55fbe9 Fix scrolling to messages on clicking of notifications 2023-10-19 14:04:34 -07:00
Antonio Scandurra dd7e1c505c Checkpoint 2023-10-19 23:00:19 +02:00
Marshall Bowers 94f0140f62 Assign each IconButton an ID based on the icon 2023-10-19 16:50:33 -04:00
Marshall Bowers 28b29d0985 Give each Tab its own ID 2023-10-19 16:42:21 -04:00
Marshall Bowers 52f2521f6a Wire up active style for Tab 2023-10-19 16:37:54 -04:00
Marshall Bowers e1e8b63eb5 Remove Clone bound from IconElement 2023-10-19 16:37:15 -04:00
Marshall Bowers a1aba32209 Remove Clone bound from Button and Details 2023-10-19 16:35:44 -04:00
Marshall Bowers fa3916d1bf Remove Clone bound for HighlightedLabel 2023-10-19 16:34:08 -04:00
Marshall Bowers 3ac7ef90ef Remove Clone bound for Input 2023-10-19 16:32:48 -04:00
Marshall Bowers 4050bf43c4 Remove Clone bound for Label 2023-10-19 16:31:24 -04:00
Max Brunsfeld 851d7d0bc4 Rename NewNotification proto message to AddNotification 2023-10-19 13:29:14 -07:00
Antonio Scandurra 0fbf84e6bc Checkpoint 2023-10-19 22:28:42 +02:00
Marshall Bowers d91b423a45 Remove unused Interactive impl for FakeSettings 2023-10-19 16:16:09 -04:00
Marshall Bowers 2bbce2f0fd Merge branch 'gpui2' of github.com:zed-industries/zed into gpui2 2023-10-19 16:14:39 -04:00
Marshall Bowers 1be1bffb29 Wire up active style for Breadcrumb 2023-10-19 16:13:25 -04:00
Marshall Bowers 92542e6b94 Identify IconButton 2023-10-19 16:12:21 -04:00
Kyle Caverly 9c49191031 decrease temperature for inline assist on code content (#3145)
"Temperature" is a parameter in OpenAI GPT models, to control for
randomess in the generated content. To decrease the probability of
either escaping the markdown blocks and creating invalid code, we
decreased temperature for all Non-Prose files. For Markdown or Plain
Text, in which more creativity may be a good thing, we increase the
temperature to allow for more randomness. Along with this, we ask the
generate inline prompt to include only the code and not markdown blocks,
as it appears that lower temperature may decrease the probability of
introducing random markdown blocks.

Release Notes (Internal Only):
- Decrease temperature for inline assist on code content.
2023-10-19 16:11:29 -04:00
Marshall Bowers 3932c1064e Merge branch 'gpui2' into gpui2-theme-to-color 2023-10-19 16:10:44 -04:00
Antonio Scandurra d446b91117 Checkpoint 2023-10-19 22:10:39 +02:00
Antonio Scandurra 673257bbbc Checkpoint 2023-10-19 22:05:01 +02:00
Antonio Scandurra 180ed7da81 Checkpoint 2023-10-19 22:05:01 +02:00
Antonio Scandurra 38d8ab2285 Checkpoint 2023-10-19 22:05:01 +02:00
Antonio Scandurra c17a4d8453 Checkpoint 2023-10-19 22:05:01 +02:00
Antonio Scandurra e74285f6d2 Checkpoint 2023-10-19 22:05:01 +02:00
Max Brunsfeld 33f06d3104 Index notifications to allow faster lookup by kind, entity id 2023-10-19 13:03:27 -07:00
Max Brunsfeld 841cfac1f8 Fix filtering when providing non-admins info about channel members 2023-10-19 12:54:47 -07:00
KCaverly 71fb23f769 decrease temperature for inline assist on code content 2023-10-19 15:44:49 -04:00
Max Brunsfeld 150ed641ae Render read notifications in a different color 2023-10-19 12:40:10 -07:00
Max Brunsfeld 5b90507310 Navigate to chat messages when clicking them in the notification panel 2023-10-19 12:31:45 -07:00
Conrad Irwin 0eff7c6ca9 Add read-only channel notes support
Fix some bugs where ChannelNotes and ChannelChat had old cached channel
instances
2023-10-19 13:20:49 -06:00
Marshall Bowers 2189983323 Add missing Clone bounds 2023-10-19 15:02:00 -04:00
Kyle Caverly e45491d2f8 Introduction of PromptTemplate and PromptChains (#3139)
(This PR was written 100% by the Inline Assistant)

This PR brings in new components into our ai and assistant crates namely
PromptTemplate and PromptChains. They offer a new way to generate
prompts that allow for a more flexible and dynamic approach than before.

Release Notes:
- Introduced PromptTemplate: an abstract base for individual parts of
the prompt.
- Added PromptChains: manage multiple PromptTemplates, sort them based
on priority and regulate the output size based on tokens.
- Provided new PromptArguments structure to encapsulate arguments needed
for PromptTemplate.
    - Extended repository_context to include PromptCodeSnippet.
2023-10-19 14:44:43 -04:00
Nate Butler 58650b7d2d Checkpoint - Still Broken 2023-10-19 14:38:01 -04:00
KCaverly 19c2df4822 outlined when truncation is taking place in the prompt 2023-10-19 14:33:52 -04:00
Marshall Bowers d5fc831321 Restore more active styles 2023-10-19 14:23:45 -04:00
Marshall Bowers 743949753a Fix mutual-exclusivity of right panels 2023-10-19 14:19:10 -04:00
Marshall Bowers 184f5f2397 Restore active styles for Inputs 2023-10-19 14:17:35 -04:00
Marshall Bowers 597aa0475e Remove unused import 2023-10-19 14:10:13 -04:00
Marshall Bowers 70984faee2 Merge branch 'gpui2' of github.com:zed-industries/zed into gpui2 2023-10-19 14:06:35 -04:00
Marshall Bowers e657e4d1d1 Wire up livestream debug toggle 2023-10-19 14:06:31 -04:00
Max BrunsfeldandPiotr d62f114c02 Create notifications for mentioned users
Co-authored-by: Piotr <piotr@zed.dev>
2023-10-19 10:52:40 -07:00
Antonio Scandurra 9e20ccc01a Checkpoint 2023-10-19 19:51:05 +02:00
Antonio Scandurra 1343ea66c9 Checkpoint 2023-10-19 19:51:05 +02:00
Antonio Scandurra 2b90b8d6b7 Checkpoint 2023-10-19 19:51:05 +02:00
Antonio Scandurra 90d34c1251 Checkpoint 2023-10-19 19:51:05 +02:00
Antonio Scandurra 93ff79febf Checkpoint 2023-10-19 19:51:05 +02:00
Antonio Scandurra 7fef03a7db Checkpoint 2023-10-19 19:51:05 +02:00
Antonio Scandurra 30269381e8 Checkpoint 2023-10-19 19:51:05 +02:00
Antonio Scandurra 9985f388ac Checkpoint 2023-10-19 19:51:05 +02:00
Marshall Bowers a869de3b1f Add ability to toggle user settings 2023-10-19 13:38:19 -04:00