Commit log
5fe5685
Replace `notify_all` with an explicit `refresh_windows` effect
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
c865f8a
Fix retrieving recent channel messages
Antonio Scandurra
created
4 years ago
d77211c
Extract a `TestDb` to setup and tear down a database instance
Antonio Scandurra
created
4 years ago
Max Brunsfeld
created
4 years ago
8f86fa1
Associate messages with their sender, fetching senders if necessary
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
77c7fa5
Introduce Orientation concept to List
Click to expand commit body
When the Orientation is Bottom, we paint elements from the bottom of the list when underflowing and express scroll position relative to the bottom. In either orientation, when inserting elements outside the visible area, we adjust the scroll position as needed to keep the visible elements stable.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
,
Max Brunsfeld
, and
Antonio Scandurra
created
4 years ago
897826f
Run subscription/observation callbacks in the order they were added
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
1aa1e6c
Move pooling of line wrappers into `FontCache`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
0c9e72c
Support hard wraps in `Text` element
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
3d5cfb7
Use `Text` in chat panel
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
72f282e
Calculate current line width correctly when wrapping shaped lines
Antonio Scandurra
created
4 years ago
399ecaa
Wrap lines in `Text` element
Antonio Scandurra
created
4 years ago
463284f
Move `LineWrapper` into gpui
Antonio Scandurra
created
4 years ago
Max Brunsfeld
created
4 years ago
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
91c2b58
Add LineWrapper::wrap_shaped_line
Click to expand commit body
This allows us to perform wrapping based on
glyph positions in an already-shaped line. We
plan to use this in the new Text element,
because there we'll already need to do text
shaping as part of layout. This text isn't editable
so it won't need to be rewrapped with the same
frequency as the text editor's content.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
0187ac8
Share a single pool of LineWrappers across all threads
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
3ac489a
Fix panic when scrolling non-overflowing lists
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
a79b32c
Apply theme to chat messages
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
621203e
Group more elements under workspace theme struct
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
e69d1f9
Break up theme module
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
f8fb459
Avoid redundant notification after creating the ChannelList when not authenticated
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
ff966c8
Fix off-by-1 in Channel::messages_in_range
Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo
and
Max Brunsfeld
created
4 years ago
3ad894b
Hit the local server when debugging
Nathan Sobo
created
4 years ago
8559be9
Default unstyled text to be red instead of transparent
Nathan Sobo
created
4 years ago
8179f90
Add initial unit test for channel list
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
d9d52b8
When loggin in, send user id instead of creating a new watch channel
Max Brunsfeld
created
4 years ago
bb570d3
Init chat_panel
Antonio Scandurra
created
4 years ago
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
and
Antonio Scandurra
created
4 years ago
39ad7f6
Make RPC client's current user_id observable
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
and
Antonio Scandurra
created
4 years ago
9b636fb
Add "Zed > Sign" In menu item
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
and
Antonio Scandurra
created
4 years ago
e4a232a
Send messages on enter
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
and
Antonio Scandurra
created
4 years ago
d34f374
Beautify error logging
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
and
Antonio Scandurra
created
4 years ago
54b4a4b
Allow editor to be created in auto-height mode
Antonio Scandurra
created
4 years ago
405ff1d
Render chat messages in `ChatPanel`
Antonio Scandurra
created
4 years ago
baded7d
Start work on subscribing to model from ChatPanel
Max Brunsfeld
created
4 years ago
6df80d9
Allow subscription/notification to be cancelled by dropping the returned Subscription
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
f4847bd
Get light theme loading successfully
Max Brunsfeld
created
4 years ago
fa0739e
Remove model and view specific observe/subscribe methods
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
5ecedd8
Add ChannelList to AppState
Max Brunsfeld
created
4 years ago
43bb382
Add generic subscribe and observe methods to contexts
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
8e191f2
Simplify state associated with observations
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
d02eaf9
Fix scrolling in List element
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
a182db8
WIP: Render dummy chat messages to test `List`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
94e9a83
Give up on entities being `Send` and `Sync`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
3543ace
Implement scrolling and painting for `List`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
bd89dc4
Perform a full layout of `List` when width changes
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
03b7c3c
Implement and test `splice` for `ListState`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
2c3ba00
Remove vestiges of `after_layout`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
Page 7 of 31