Replace "Give Feedback" with an icon and move it to the left
This is so we can show the current language in the status bar on the right, and having two pieces of text sitting next to each other felt too busy. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
f08685f65f
commit
6e37ff880f
5 changed files with 24 additions and 11 deletions
|
@ -342,10 +342,10 @@ pub fn initialize_workspace(
|
|||
let feedback_button =
|
||||
cx.add_view(|_| feedback::deploy_feedback_button::DeployFeedbackButton {});
|
||||
workspace.status_bar().update(cx, |status_bar, cx| {
|
||||
status_bar.add_left_item(feedback_button, cx);
|
||||
status_bar.add_left_item(diagnostic_summary, cx);
|
||||
status_bar.add_left_item(activity_indicator, cx);
|
||||
status_bar.add_right_item(cursor_position, cx);
|
||||
status_bar.add_right_item(feedback_button, cx);
|
||||
});
|
||||
|
||||
auto_update::notify_of_any_new_update(cx.weak_handle(), cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue