* 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
Currently we don't have any concept of a true focus state. All states we currently use focus should actually be `active`.
Removing this token until we introduce a distinction between active and focused states.
Nate Butler
created
91257f3
Remove "They won't know if you decline" message
Nathan Sobo
created
ed6ed99
Show the reason why a join request was declined
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
740ec3d
WIP: decline pending join requests when project is unregistered
Antonio Scandurra
created
aa90c06
Display a temporary window while remote project is loading
Antonio Scandurra
created
e6576b3
Don't show "they won't know if you decline" when request is accepted
bf638af
Initialize `UserStore` before client connects in integration tests
Click to expand commit body
This fixes a failure in `test_contacts` where we were receiving the
initial `proto::UpdateContacts` message before `UserStore` had a chance
to register a message handler for it.
Antonio Scandurra
created
a7937f2
Merge pull request #997 from zed-industries/fix-outline-panic
Click to expand commit body
Make multibuffer read pub(crate) and replace with accessors
Keith Simmons
created
842bfae
WIP - update worktree's scan_id when mutating it in the foreground
Max Brunsfeld
created
a2fd411
Reduce accessibility of multibuffer read to reduce risk of borrowing snapshot and buffer refcells twice
Keith Simmons
created
2f7eb6d
Merge pull request #973 from zed-industries/selections-refactor
Click to expand commit body
Pull selections out of editor into selections collection