Nate Butler
0dc4475f7f
Unify icons using multiple variants, remove all unused icons
2023-09-15 12:50:49 -04:00
Piotr Osiewicz
c4e0bcb99e
Z 1200/replace in buffer ( #2922 )
...
This is still WIP, mostly pending styling. I added a pretty rudimentary
text field and no buttons whatsoever other than that. I am targeting a
Preview of 09.13, as I am gonna be on PTO for the next week.
I dislike the current implementation slightly because of `regex`'s crate
syntax and lack of support of backreferences. What strikes me as odd wrt
to syntax is that it will just replace a capture name with empty string
if that capture is missing from the regex. While this is perfectly fine
behaviour for conditionally-matched capture groups (e.g. `(foo)?`), I
think it should still error out if there's no group with a given name
(conditional or not).
Release Notes:
- Added "Replace" functionality to buffer search.
2023-09-12 18:46:54 +02:00
Max Brunsfeld
6db70de9f7
Make toolbar horizontal padding more consistent
...
* increase horizontal padding of toolbar itself, remove padding
that was added to individual toolbar items like feedback button.
* make feedback info text and breadcrumbs have the same additional padding as
quick action buttons.
2023-09-07 12:53:46 -07:00
Nathan Sobo
ec9bebc7f4
Merge branch 'main' into divs
2023-08-22 16:35:56 -06:00
Mikayla
feb8444c32
Merge branch 'main' into collab-panel
2023-08-15 03:25:45 -07:00
Mikayla
ec2490269d
Add components example
...
Re-arrange generics on mouse event handler
Add TypeTag struct for dynamically tagged components
2023-08-15 03:06:43 -07:00
Nate Butler
eec64e7e2d
Update some status bar icons and states
2023-08-14 17:15:25 -04:00
Nathan Sobo and Mikayla Maki
64f61d293a
Merge branch 'main' into taffy
...
Co-Authored-By: Mikayla Maki <mikayla@zed.dev >
2023-08-14 13:50:21 -06:00
Piotr Osiewicz
625ac1c1ed
chore: use Cow instead of String for tooltips ( #2838 )
...
A QoL change to align `Tooltip` with other elements like `Label`
Release Notes:
- N/A
2023-08-11 15:29:55 +02:00
Nathan Sobo
bb9591415f
WIP
2023-08-10 10:26:48 -06:00
Joseph T. Lyons and Julia
f1099ed9cc
Prevent multiple submissions of the same feedback text
...
Co-Authored-By: Julia <30666851+ForLoveOfCats@users.noreply.github.com >
2023-07-17 16:10:34 -04:00
Kirill Bulatov
9a9be65585
Preserve serach index for multicaret selection editor events
2023-07-14 14:47:12 +03:00
Kirill Bulatov
a050e82102
Allow selecting all search matches in buffer
2023-07-14 14:47:12 +03:00
Piotr Osiewicz
406e160730
Split out Interactive<T> into Toggle<T> and Interactive<T>
2023-06-20 16:05:20 -07:00
Joseph Lyons
f188617f61
Add additional panic information to panic events
2023-06-01 23:34:39 -04:00
Joseph Lyons
85e8064f05
Scrape email from feedback editor
2023-05-30 15:06:35 -04:00
Antonio Scandurra
8f56c80d68
Merge branch 'main' into panels
2023-05-22 14:10:17 +02:00
Max Brunsfeld
c261a01c7f
Define theme/ui text style settings in theme crate
2023-05-17 14:44:59 -07:00
Nathan Sobo
b9d92fce56
Rename DockItem to Panel
2023-05-09 10:18:11 +02:00
Nathan Sobo
a978561ff7
Rename Sidebar to Dock
2023-05-09 10:18:10 +02:00
Max Brunsfeld
54815f70ed
Merge branch 'main' into copilot-disabled-globs
2023-05-03 10:53:28 -07:00
Joseph T. Lyons
b3309b0f56
use installation_id over device_id
2023-05-01 16:29:51 -04:00
Antonio Scandurra
2742f1cb76
Remove ViewContext::dispatch_action
2023-05-01 16:27:36 +02:00
Joseph Lyons and Max Brunsfeld
deae3db26b
Rework telemetry code to support sending events to Clickhouse
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2023-04-28 16:06:55 -04:00
Antonio Scandurra and Nathan Sobo
fa65ca0628
Don't allow strong view handles to be read/updated with an AsyncAppContext
...
This avoids an invitation to hold strong view handles across async await
points, which is a common source of leaks.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-04-26 13:36:13 +02:00
Nathan Sobo and Max Brunsfeld
52d4cc5349
Refine naming of element-related types and traits
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2023-04-21 13:06:37 -06:00
2bd56ab6f0
Rename Drawable::boxed to into_element and make containers generic
...
Multi-element are now generic over any drawable child, which can be converted
into an element.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2023-04-21 12:43:19 -06:00
Antonio Scandurra
64ef8b76d3
Take a target view when marking an element as draggable
2023-04-21 15:52:05 +02:00
Antonio Scandurra
8421d816a8
Merge branch 'main' into window_context_2
2023-04-20 16:01:47 +02:00
Joseph Lyons
64711628de
Remove unnecessary lifetimes from tab_tooltip_text
2023-04-18 14:03:02 -04:00
Antonio Scandurra
9254219f16
Fix warnings/errors now that AsyncAppContext::update returns Result
2023-04-18 14:58:57 +02:00
Antonio Scandurra
41134f0ebb
Make production code compile again
2023-04-17 12:33:33 +02:00
Joseph Lyons
74848c2912
Add tab tooltips
2023-04-15 06:46:14 -04:00
Antonio Scandurra
028d254caa
Fix formatting for the entire workspace
2023-04-14 12:08:33 +02:00
Nathan Sobo
f5a86aecdc
WIP
2023-04-12 12:13:35 -06:00
Nathan Sobo
d8eb1ac343
WIP
2023-04-12 10:07:17 -06:00
Antonio Scandurra
5f04261450
WIP
2023-04-12 15:55:43 +02:00
Nathan Sobo
fabf89a1b1
WIP
2023-04-11 18:21:56 -06:00
Nathan Sobo
45c1106140
Don't export platform::* from gpui
...
I'd like to avoid cluttering the top-level namespace with all the platform-
specific types.
2023-04-07 11:45:53 -06:00
Nathan Sobo
5839c594d8
Fix formatting
2023-04-06 15:54:44 -06:00
Nathan Sobo
d937660683
Merge MutableAppContext into AppContext
...
There may have been a good reason for the difference at some point, or I was
still learning Rust. But now it's just &mut AppContext vs &AppContext.
2023-04-06 15:49:03 -06:00
Nathan Sobo
d0a267eaa4
Store AnyViewHandle inside ViewHandle and Deref to it
2023-04-02 14:59:55 -06:00
Nathan Sobo
01a2484955
Use an envelope as the feedback icon
...
This makes room to use the speech bubble for discussion threads.
2023-03-20 09:04:30 -06:00
Petros Amoiridis
a1241fb767
Show tooltip for Give Feedback icon
2023-03-11 17:40:47 +02:00
Mikayla Maki
cf5114b193
Align feedback button styles with other sidebar buttons
...
Make feedback button reflect whether you're in a feedback buffer
2023-03-10 16:19:33 -08:00
Antonio Scandurra and Nathan Sobo
5d0e209edc
Replace "Give Feedback" with an icon and move it to the left
...
This is so we can show the current language in the status bar on
the right, and having two pieces of text sitting next to each other
felt too busy.
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-03-10 17:02:52 +01:00
Antonio Scandurra
28df591385
Allow waiting for language to be loaded in LanguageRegistry APIs
2023-03-10 12:17:47 +01:00
Joseph Lyons
65792585be
Merge branch 'main' into add-link-to-community-repo-in-feedback-editor
2023-02-27 13:56:01 -05:00
Joseph Lyons
1f72b31b1d
Tweak code to remove duplication
2023-02-24 08:53:58 -05:00
Joseph Lyons
9e52137a63
Unify text style names
2023-02-24 08:46:28 -05:00