Improve edit prediction button sign in copy (#54063)
Ben Kunkle
created
Self-Review Checklist:
- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable
Closes #ISSUE
Release Notes:
- N/A or Added/Fixed/Improved ...
@@ -374,7 +374,7 @@ impl Render for EditPredictionButton {
let tooltip_meta = if self.user_store.read(cx).current_user().is_some() {
"Choose a Plan"
} else {
- "Sign In To Use"
+ "Configure a Provider"
};
return div().child(
@@ -442,7 +442,7 @@ impl Render for EditPredictionButton {
if show_editor_predictions {
tooltip_meta
} else if user.is_none() {
- "Sign In To Use"
+ "Sign In Or Configure a Provider"
} else {
"Hidden For This File"
}