Max Brunsfeld
2b7509a3ca
Clear go-to-def link when deactivating the window
2022-08-15 17:30:41 -07:00
K Simmons
3dce18540e
clippy fixes for focus change
2022-08-10 16:51:01 -07:00
ForLoveOfCats and Mikayla
fbea44bc5c
One big cleanup pass of clippy lints
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2022-08-10 16:51:01 -07:00
K Simmons
562d389301
Fix workspace
2022-08-10 16:27:45 -07:00
K Simmons
07cab9f3c1
Fix failing tests
2022-08-10 16:26:53 -07:00
K Simmons
78244cf28a
Address picker issues
2022-08-09 17:15:54 -07:00
K Simmons
9fcea3e805
Pane focus working. Modals seem broken now
2022-08-09 17:15:54 -07:00
K Simmons
b76bd98ed8
WIP compiling but failing with circular reference
2022-08-09 17:15:52 -07:00
K Simmons
98499db694
Switch action dispatch to use MutableAppContext parent utilities and delete parent map from presenter
2022-08-09 17:09:28 -07:00
K Simmons
20770e7240
Event dispatch moved to MutableAppContext. No longer dispatches from presenter. Not currently handling key presses properly
2022-08-09 17:09:16 -07:00
ForLoveOfCats and Mikayla
f2ed63f6a3
Jankily adjust left padding on workspace title in fullscreen
...
This could seriously be done better
Co-authored-by: Mikayla <mikayla@zed.dev >
2022-08-09 19:03:32 -04:00
ForLoveOfCats and Mikayla
67baec6641
Invalidate view when entering/exiting fullscreen
...
This is required for `render_titlebar` to eventually adapt to
fullscreen status to affect the size of left padding on workspace
name to account for the traffic lights presence/absence
Co-authored-by: Mikayla <mikayla@zed.dev >
2022-08-09 19:03:32 -04:00
Mikayla Maki
ab4c242507
update icon
2022-08-04 11:58:55 -07:00
Mikayla Maki
eb4be2e11d
Removed icons
2022-08-04 08:42:42 -07:00
Mikayla Maki
7f255e6ec0
Added icons to context menu
2022-08-03 16:47:41 -07:00
Mikayla Maki
4e4d390783
New button
2022-08-03 15:59:25 -07:00
Antonio Scandurra
f4b11c0612
Allow signing in again if authentication is pending or was unsuccessful
...
The local server that we spin up to receive OAuth callbacks isn't
called when an error occurs and it is non-trivial to do so with
next-auth. Besides, there could be cases where the user explicitly
closes the browser window before the callback can be invoked.
With this commit, the user can sign in even while an authentication
is still in progress. As opposed to waiting for at most 10 minutes
before killing the local HTTP server if we haven't received the callback,
we will repeatedly check for a response every second for 100 seconds.
This gives us a chance to determine whether a new authentication has started
in the meantime and, if so, abort the current authentication flow.
2022-08-02 14:16:14 +02:00
Antonio Scandurra
7628977349
Open both old and new log files, but just retain the last 1000 lines
2022-07-28 10:25:40 +02:00
Keith Simmons
cf1b62de8f
Merge pull request #1414 from zed-industries/fix-theme-issues
...
Fix tab bar themes
2022-07-26 11:55:17 -07:00
K Simmons
cbf0722591
Extract tab bar from workspace
2022-07-26 10:41:02 -07:00
Antonio Scandurra
dcd12f677b
Show symbols located in visible paths before ones located externally
2022-07-26 14:48:18 +02:00
Julia
9399e640f0
Merge pull request #1409 from zed-industries/middle-mouse-close-tabs
...
Allow closing tabs with the middle mouse button
2022-07-25 17:05:00 -04:00
ForLoveOfCats
00a8de31e3
Allow closing tabs with the middle mouse button
2022-07-25 14:23:38 -04:00
Antonio Scandurra
47fce17ff8
Merge branch 'main' into ime-support-2
2022-07-25 10:47:49 +02:00
Mikayla Maki
ae5e4ce659
Merge pull request #1393 from zed-industries/graceful-exit
...
Polishing the terminal
2022-07-22 13:59:13 -07:00
Antonio Scandurra
bfa490c35d
Merge branch 'main' into ime-support-2
2022-07-22 16:03:38 +02:00
K Simmons
ba17408e36
Minor naming improvements and revert empty pane background color change
2022-07-21 14:56:17 -07:00
Mikayla Maki
b960af3cb0
Finished erorr terminal refactoring
2022-07-21 12:37:15 -07:00
Antonio Scandurra
379f8887ba
Position IME input according to where the selection is rendered
2022-07-21 17:35:40 +02:00
K Simmons
2e0f73ff3a
fix test failure
2022-07-20 19:13:16 -07:00
K Simmons
66bb6b75fb
Fix warning
2022-07-20 19:02:12 -07:00
K Simmons
b31b867200
Address some issues where panes don't get focused properly, make the focused pane more obvious, and prevent splitting of the pane with no items
2022-07-20 18:52:32 -07:00
Nate Butler
958a9bd730
Merge branch 'main' into theme-improvements
2022-07-19 20:12:02 -04:00
Nate Butler
5a3eba5a0a
Add icon sets for sizes 8, 12 and 16, remove old icons
2022-07-19 17:11:15 -04:00
K Simmons
d264ba8e16
Rework presenter and MouseRegion to use Handler hashmap rather than individual fields
2022-07-17 23:19:32 -07:00
Nate Butler
76f4712d6a
Update icons in rust
...
Updated icons
- Diagnostic states
- Sidebar icons (project, contacts)
- Navigation arrows
2022-07-16 11:51:10 -04:00
Antonio Scandurra
d4304a1a51
Merge pull request #1356 from zed-industries/differentiate-same-tab-titles
...
Differentiate among tabs with the same name
2022-07-15 08:30:22 +02:00
Antonio Scandurra
55363864f9
Add test for tab disambiguation
2022-07-14 16:42:30 +02:00
Antonio Scandurra
9de9d517fd
Differentiate among tabs with the same name
...
This commit introduces a new, optional `Item::tab_description` method
that lets implementers define a description for the tab with a certain
`detail`. When two or more tabs match the same description, we will
increase the `detail` until tabs don't match anymore or increasing the
`detail` doesn't disambiguate tabs any further.
As soon as we find a valid `detail` that disambiguates tabs enough, we
will pass it to `Item::tab_content`. In `Editor`, this is implemented by
showing more and more of the path's suffix as `detail` is increased.
2022-07-14 11:54:11 +02:00
K Simmons
08f662a49c
When tab closed, move to previous tab, and when opening an existing tab, reorder it to be after the current active tab
2022-07-13 20:14:44 -07:00
Antonio Scandurra
1c9ada48b8
Deploy context menu when clicking on split icon
2022-07-13 12:15:36 +02:00
Antonio Scandurra
87682af77f
Show split button at the right edge of the tab bar
2022-07-13 11:44:33 +02:00
Antonio Scandurra
985d005da4
Don't prompt guest to save when closing window after disconnection
2022-07-12 09:05:39 +02:00
Mikayla Maki
b34849c6dd
Merge branch 'main' into gpui-changes
2022-07-07 16:08:32 -07:00
Mikayla Maki
68b468482f
Updated drag API to pass old,new, instead of delta,new
2022-07-07 16:07:24 -07:00
Max Brunsfeld
6e3d5975d2
Add tooltips to pane nav buttons and make them trigger on click
2022-07-07 13:36:08 -07:00
Mikayla Maki
7ea0d2c443
GPUI change proposals
2022-07-06 17:52:20 -07:00
Max Brunsfeld
2fb2545b48
Give nav buttons a background on hover
2022-07-06 16:33:44 -07:00
Max Brunsfeld
4259f51c73
Add test for pane nav history covering notification of pane's toolbar
2022-07-06 16:29:11 -07:00
Max Brunsfeld
4adcffcc9f
Enable and disable nav buttons based on pane's navigation stack
...
Also, make the `NavHistory` type private to the `workspace` crate.
Expose only the `ItemNavHistory` type, via a method on Pane called
`nav_history_for_item`.
2022-07-06 15:46:43 -07:00