Use design's omnibar placeholder copy
The design's TopBar.url placeholder reads `Search ELY or type a command…`. We were shipping `Search or enter address`, the generic URL-bar string from when the omnibar didn't yet host commands. Match the design copy so the empty-state on `ely://new-tab` matches home.jsx and command.jsx exactly.
This commit is contained in:
@@ -109,8 +109,9 @@ impl ElyShell {
|
|||||||
window: &mut Window,
|
window: &mut Window,
|
||||||
cx: &mut Context<Self>,
|
cx: &mut Context<Self>,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
let command_input =
|
let command_input = cx.new(|cx| {
|
||||||
cx.new(|cx| InputState::new(window, cx).placeholder("Search or enter address"));
|
InputState::new(window, cx).placeholder("Search ELY or type a command…")
|
||||||
|
});
|
||||||
let plugin_search_input =
|
let plugin_search_input =
|
||||||
cx.new(|cx| InputState::new(window, cx).placeholder("Search plugins…"));
|
cx.new(|cx| InputState::new(window, cx).placeholder("Search plugins…"));
|
||||||
let translucency_slider = cx.new(|_cx| {
|
let translucency_slider = cx.new(|_cx| {
|
||||||
|
|||||||
Reference in New Issue
Block a user