ea85473
Enable and disable application menu items based on the active view
Max Brunsfeld
created
c4554c1
Replace build_workspace fn with an initialize function that takes a workspace
Click to expand commit body
This makes it clearer that the function is not providing necessary
dependencies to a workspace, but rather configuring it with all of
the panels and widgets which are defined in downstream crates.
Max Brunsfeld
created
9e47e19
Pass UserStore to ContactsPanel instead of AppState
* Generate the themes on build
* In debug builds, watch the theme sources. When they change, re-generate
the themes and reload the current theme, removing the need for the
`theme_selector::Reload` command.
Co-authored-by: Keith Simmons <keith@zed.dev>
- Allow themes to have only a light or dark variant
- Added a commented template file
- Run formatter
Nate Butler
created
610812e
Merge pull request #1010 from zed-industries/fix-stale-wrap-snapshot
Click to expand commit body
Bump `FoldSnapshot` version if excerpt gets edited outside of its bounds
Antonio Scandurra
created
c0bf4a5
Bump FoldSnapshot version if excerpt gets edited outside of its bounds
Click to expand commit body
This will cause layers above `FoldMap` to grab a fresh snapshot of the `FoldMap`
and, as a result, of the underlying `MultiBufferSnapshot`. It is a necessary change
because, even though the coordinate space is not affected, a buffer edit taking place
*before* an excerpt range could cause the excerpt buffer rows to change, e.g. if
lines were added or removed. This manifested itself in a randomized test.
Antonio Scandurra
created
efd9563
Merge pull request #1007 from zed-industries/dedup-contact-notifications
If you set LOG_JSON=true, we'll output JSON from the tracing subscriber instead of pretty-printing trace output.
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
and
Antonio Scandurra
created
ad94b4c
Merge pull request #1001 from zed-industries/request-to-join-project
Click to expand commit body
Request to join projects instead of sharing/unsharing
Antonio Scandurra
created
2d986c7
Show guest only once even if they joined on two different windows
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
692be10
Dynamically load all themes listed under `styles/src/themes/*.ts`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
8f88803
Automatically follow host when joining a project
Antonio Scandurra
created
225536a
Merge branch 'main' into request-to-join-project
Antonio Scandurra
created
8393bfe
Ensure join request reaches the server before disconnecting host in test
Antonio Scandurra
created
a828282
Fix `Store::remove_connection` not removing guests from projects
Antonio Scandurra
created
7b161b8
WIP: accept to join requests if user is already participating
Click to expand commit body
There's a panic caused by `Store::check_invariants` that we still
need to figure out.
Antonio Scandurra
created
e0c772d
Hold a weak handle to `Presenter` when dispatching events
Click to expand commit body
This ensures that the only strong reference to the presenter is held
by `App`. This is important because we want to call `flush_effects`
when removing a window and implicit drops of the `Presenter` would
make that hard.
Before this commit, if a rendered view contained strong handles to
views and models, we would only drop them on the next `flush_effects`.
This was manifesting itself in `Project`s not being released when
closing their containing window.
Antonio Scandurra
created
cc598a6
Send `LeaveProject` when waiting room is dismissed while waiting
Antonio Scandurra
created
d821e7a
Cancel join requests when the requester closes the window
Nathan Sobo
created
7c3eebf
Refine messages on waiting to join screen and include host avatar
Nathan Sobo
created
25427f0
Merge pull request #999 from zed-industries/update-theme-system