Commit log
985788b
Allow uniform margins and paddings to be specified as single numbers
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
848dd5f
Add refreshing field to LayoutContext
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
894531d
Fix list's scrollwheel direction
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
82d1fb8
Clean up List::layout
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
bfdb0f3
Return correct scroll top from layout when list is not full
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
bc38baf
Get randomized test passing
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
,
Nathan Sobo
, and
Antonio Scandurra
created
4 years ago
6e91289
Adjust the stored scroll top during layout if it exceeds scroll max
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
Antonio Scandurra
created
4 years ago
c7a8972
Fix off-by-one error in `StateInner::visible_range`
Click to expand commit body
I even wonder if we should keep this function around, as it feels
like it can only be called at certain times (e.g. layout) and not
after a splice or a scroll where we may not have rendered the
elements we actually need.
Antonio Scandurra
created
4 years ago
0a22dee
Save last layout width in `List` to avoid unnecessary re-renders
Antonio Scandurra
created
4 years ago
4777403
Start work on partial rendering for List element
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld
,
Nathan Sobo
, and
Antonio Scandurra
created
4 years ago
2db49ce
Maintain logical scroll top when splicing `List` elements
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
d410ff8
Express scroll position with an element index and an offset
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
8edb214
Pass a closure to provide styling to `Select`
Click to expand commit body
This lets us obtain a new style when refreshing the theme.
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
73a8fda
Get the channel select looking good
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
ff01b52
WIP: start on Select
Antonio Scandurra
created
4 years ago
ef89cea
Take &mut self in `View::render`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
87cd668
Replace foreground layers with stacking contexts
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
171627b
Add a new zero-sized `Overlay` element and paint it in the foreground
Antonio Scandurra
created
4 years ago
2b39107
Introduce `Scene::push_foreground_layer`
Antonio Scandurra
created
4 years ago
18d175a
Don't allow empty chat messages
Max Brunsfeld
created
4 years ago
a98d293
Trim whitespace from chat messages and limit their length
Click to expand commit body
Add a way for the server to respond to any request with an error
Max Brunsfeld
created
4 years ago
b3d5f01
Drop the word 'recent' from get_channel_messages db method name
Max Brunsfeld
created
4 years ago
fbc88d5
Get the light theme loading again
Max Brunsfeld
created
4 years ago
936af9b
Avoid double borrow panic when resizing windows
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
bc63fca
Fetch older messages when scrolling up in the chat message list
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
and
Nathan Sobo
created
4 years ago
5262dcd
Don't change cursor on mouse move while mouse button is held down
Max Brunsfeld
created
4 years ago
5e6e0c6
Allow styling the cursor in `MouseEventHandler`
Click to expand commit body
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
,
Max Brunsfeld
, and
Nathan Sobo
created
4 years ago
53dc08d
Remove lock from element states
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
d5b7e2d
Pass a MutableAppContext in `render`
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
a9963f1
Synthesize a mouse moved event also when the mouse is dragged
Antonio Scandurra
created
4 years ago
2cd21d1
Ensure sidebar width never goes below 0
Antonio Scandurra
created
4 years ago
30ce7f6
Allow styling sidebar's resize handle
Antonio Scandurra
created
4 years ago
7f5cd01
Fix potential deadlock when using `FontCache::em_width`
Antonio Scandurra
created
4 years ago
bed9d9c
Add the ability to resize sidebar items
Antonio Scandurra
created
4 years ago
8a10234
Introduce `MouseEventHandler::on_drag`
Antonio Scandurra
created
4 years ago
386631d
Focus toggled elements when interacting with the sidebars
Click to expand commit body
Also, restore focus on the workspace when there is no active item
on the sidebar that was just toggled.
Antonio Scandurra
created
4 years ago
1489c86
Remove ui font fields from settings
Max Brunsfeld
created
4 years ago
38d0258
Add channel name header to chat panel
Max Brunsfeld
created
4 years ago
f810464
Send chat messages based on input buffer's unwrapped text
Max Brunsfeld
created
4 years ago
8861dea
Add zero padding when displaying timestamps
Max Brunsfeld
created
4 years ago
8c85bc2
Indicate the key-path to the error when failing to load a theme
Max Brunsfeld
created
4 years ago
3bb5610
Overhaul handling of font families
Click to expand commit body
* Specify font families in the theme.
* Load fonts eagerly when loading themes, instead of loading
them lazily when rendering.
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld
,
Antonio Scandurra
, and
Nathan Sobo
created
4 years ago
ee9ee29
Improve sender styling
Click to expand commit body
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo
and
Antonio Scandurra
created
4 years ago
381f249
Preserve scroll position of `List` when refreshing windows
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
4388c45
Re-render all list elements when refreshing windows
Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra
and
Nathan Sobo
created
4 years ago
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
Page 33 of 58