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
8179f90
Add initial unit test for channel list
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
d9d52b8
When loggin in, send user id instead of creating a new watch channel
Max Brunsfeld created
bb570d3
Init chat_panel
Antonio Scandurra created
2701abd
WIP
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
39ad7f6
Make RPC client's current user_id observable
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
9b636fb
Add "Zed > Sign" In menu item
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
e4a232a
Send messages on enter
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
d34f374
Beautify error logging
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
54b4a4b
Allow editor to be created in auto-height mode
Antonio Scandurra created
405ff1d
Render chat messages in `ChatPanel`
Antonio Scandurra created
baded7d
Start work on subscribing to model from ChatPanel
Max Brunsfeld created
6df80d9
Allow subscription/notification to be cancelled by dropping the returned Subscription
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
f4847bd
Get light theme loading successfully
Max Brunsfeld created
fa0739e
Remove model and view specific observe/subscribe methods
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
5ecedd8
Add ChannelList to AppState
Max Brunsfeld created
43bb382
Add generic subscribe and observe methods to contexts
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
8e191f2
Simplify state associated with observations
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
d02eaf9
Fix scrolling in List element
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
a182db8
WIP: Render dummy chat messages to test `List`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
94e9a83
Give up on entities being `Send` and `Sync`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
3543ace
Implement scrolling and painting for `List`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
bd89dc4
Perform a full layout of `List` when width changes
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
03b7c3c
Implement and test `splice` for `ListState`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
2c3ba00
Remove vestiges of `after_layout`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
6dddb72
WIP: Create infrastructure for testing element layout
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
6129bda
Fix boxed cloning of `AnyAction`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
ab2977c
Pass action instead of action argument to handlers
Antonio Scandurra created
86effd6
Get project compiling with type-safe actions
Nathan Sobo created
638b533
WIP
Nathan Sobo created
24639ec
WIP
Nathan Sobo created
030de80
WIP: Start on List::layout
Perform layout on any elements that we haven't yet laid out.
Nathan Sobo created
d68e0b0
Remove after_layout from Element trait
Now that layout takes a MutableAppContext we don't need an after_layout phase.
Nathan Sobo created
d0a5bc6
WIP
Nathan Sobo created
c3dda14
WIP: Move sum_tree module into gpui so we can use it in List
Nathan Sobo created
2507f9b
Stub in a ChatPanel
Max Brunsfeld created
b88b3e7
Add sidebars
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
a7ac37a
Make titlebar_height available during render
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld and Antonio Scandurra created
5cfb948
Make the default window size non-zero
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld and Antonio Scandurra created
c7c7a19
Merge remote-tracking branch 'origin/sexy' into chat-theme-prep
Max Brunsfeld created
9ff7649
Flatten theme styles by eliminating top-level ui key
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
9b7756f
Use singular names in theme and number surfaces from 0
Nathan Sobo created
7a5ecae
Merge remote-tracking branch 'origin/main' into chat
Antonio Scandurra created
f463b2e
Forbid parking earlier in server integration tests
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
98f691d
Make database interactions deterministic in test
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
3ba530b
:lipstick:
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
b13da81
Extract a `Db::close` method and remove deref to `PgPool`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
0b97676
Provide a consistent ordering for channel messages based on their ID
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
5f3e6f3
Implement and test channel cleanup as clients leave
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
9ed4176
Save messages received from the server
Antonio Scandurra created
10868cf
Start work on sending channel messages
Max Brunsfeld created