Commit log

f7e7a7c Use rocksdb to store project paths' public/private state

Max Brunsfeld created

724affc Upgrade deps to avoid multiple versions of transitive deps

Click to expand commit body
* env_logger
* prost-build
* bindgen

Max Brunsfeld created

d45db17 Style the contact panel while public/private operations are in-flight

Max Brunsfeld created

d11beb3 Change project registration RPC APIs to smooth out UI updates

Click to expand commit body
* Make `UnregisterProject` a request. This way the client-side project can wait
  to clear out its remote id until the request has completed, so that the
  contacts panel can avoid showing duplicate private/public projects in the
  brief time after unregistering a project, before the next UpdateCollaborators
  message is received.
* Remove the `RegisterWorktree` and `UnregisterWorktree` methods and replace
  them with a single `UpdateProject` method that idempotently updates the
  Project's list of worktrees.

Max Brunsfeld created

4d4ec79 Remove stray println

Max Brunsfeld created

b70396b Disconnect FakeServer when dropping it

Click to expand commit body
This prevents memory leak errors in tests, due to parked tasks waiting
for RPC responses.

Max Brunsfeld created

3ea061a Allow making projects private

Max Brunsfeld created

8f676e7 Fix mismatched client/context in integration test

Max Brunsfeld created

8d46edd Avoid holding RefCell borrow while calling TestAppContext::spawn callback

Max Brunsfeld created

7ef9de3 Show private projects in the contacts panel

Click to expand commit body
Introduce a ProjectStore that lets you iterate through all open projects.
Allow projects to be made public by clicking the lock.

Max Brunsfeld created

a60fef5 Start work on private projects

Max Brunsfeld created

3ffbd56 Merge pull request #1093 from zed-industries/fix-panic-version

Click to expand commit body
Report the correct app version when sending panics to server

Antonio Scandurra created

7ecc67b Report the correct app version when sending panics to server

Click to expand commit body
Previously, we were just relying on the `ZED_APP_VERSION` environment
variable without consulting `Platform::app_version`. That would always
report "dev" as the app version because `ZED_APP_VERSION` is only used
for testing.

Antonio Scandurra created

a8cde09 v0.36.1

Antonio Scandurra created

7beb194 Merge pull request #1091 from zed-industries/fix-project-diagnostics-panic

Click to expand commit body
Don't reuse the same diagnostic group id across buffers

Antonio Scandurra created

6baf8b0 Don't reuse the same diagnostic group id across buffers

Click to expand commit body
This lets us use the group id as the key for an `ElementState`, which
fixes a panic that would occur in project diagnostics when opening it
while there were multiple diagnostic groups with the same id.

Antonio Scandurra created

c34b30e Merge pull request #1090 from zed-industries/context-menu-polish

Click to expand commit body
Context menu polish

Antonio Scandurra created

1226730 Don't dismiss context menu when right-clicking project panel again

Antonio Scandurra created

701e209 Align context menu to fit within the window bounds

Antonio Scandurra created

f1964cf Merge pull request #1089 from zed-industries/jump-to-diagnostic

Click to expand commit body
Jump to diagnostic

Antonio Scandurra created

6979e67 Use anchors to jump to diagnostic whenever possible

Antonio Scandurra created

cc028cc Simplify usage of tooltip

Click to expand commit body
Now you simply specify a text, an action and a style and GPUI will
take of rendering it properly. This is simpler compared to always
providing a custom element and should make tooltip more consistent
across the UI.

Antonio Scandurra created

ba6be46 v0.36.0

Antonio Scandurra created

9ca9f63 Match figma styling for tooltips

Antonio Scandurra created

b9dc476 Avoid sending unnecessary messages for local projects that aren't shared

Max Brunsfeld created

0e1307f :memo:

Antonio Scandurra created

b63d965 Space out tooltip a little bit to ensure it doesn't overlap cursor

Antonio Scandurra created

2388276 Align tooltip based on the available window space

Antonio Scandurra created

b324241 Show tooltip when hovering over jump to diagnostic icon

Antonio Scandurra created

982de97 Introduce a new `Tooltip` element and a `with_tooltip` helper

Antonio Scandurra created

94fc28b WIP: start on tooltips

Antonio Scandurra created

d180f7a Jump to primary diagnostic when clicking on header's jump icon

Antonio Scandurra created

4f9c207 Show a clickable jump icon for each diagnostic group header

Antonio Scandurra created

aefdde6 Pass a `&mut BlockContext` when rendering blocks

Click to expand commit body
This wraps and derefs to `RenderContext<Editor>`, so that we can
easily use `MouseEventHandler`s in blocks.

Antonio Scandurra created

9fa03b2 Merge pull request #1086 from zed-industries/server-memory-improvements

Click to expand commit body
Improve server memory usage

Antonio Scandurra created

1ce8682 Clear language server and worktree statuses when unsharing on server

Antonio Scandurra created

339069b Cap `MessageStream` buffer size to 1MB

Click to expand commit body
We temporarily let it grow when the message size exceed the limit,
but restore the buffer's capacity shortly after. This ensures that,
for each connection in its entire lifetime, we only ever use 1MB.

Antonio Scandurra created

da46d78 Merge pull request #1081 from zed-industries/project-panel-with-new-mouse-events

Click to expand commit body
Introduce context menu to project panel

Antonio Scandurra created

34bf248 Avoid notifying views that have been removed

Antonio Scandurra created

e067212 Always re-render visible elements in `List`

Antonio Scandurra created

0fd47da Prevent mouse down events from piercing through overlays

Antonio Scandurra created

e4641da Don't show "add/remove folder to/from project" for remote projects

Antonio Scandurra created

1eb03f2 Bump protocol version

Antonio Scandurra created

354488e Don't eagerly populate copied subdirectory

Click to expand commit body
This can race anyway with snapshot updates, so we just eagerly refresh
the root entry and wait for updates to come in to populate it.

Antonio Scandurra created

7f292da Merge pull request #1082 from zed-industries/no-honeycomb

Click to expand commit body
Remove opentelemetry tracing subscriber

Max Brunsfeld created

365cda0 Remove opentelemetry tracing subscriber

Click to expand commit body
We'll see if this stops the server from leaking memory. We still
have spans in our logs.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Max Brunsfeld and Antonio Scandurra created

604b737 :lipstick:

Antonio Scandurra created

06ab2ac Don't steal focus from context menu when dispatching an action

Antonio Scandurra created

f832c00 Fix memory leak in `ListState`

Antonio Scandurra created

20e1044 Merge branch 'main' into project-panel-with-new-mouse-events

Antonio Scandurra created