Skip to content

Commit de12d6d

Browse files
committed
chore: updated text for guidede tour for ai
1 parent 978c8a6 commit de12d6d

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/extensionsIntegrated/Phoenix/phoenix-tour.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ define(function (require, exports, module) {
123123

124124
function _setText(text) {
125125
if ($overlay) {
126+
// `text` may include `\n` for multi-line steps; CSS uses
127+
// `white-space: pre-line` to render those line breaks.
126128
$overlay.find(".phoenix-tour-text").text(text);
127129
}
128130
}

src/nls/root/strings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1670,7 +1670,7 @@ define({
16701670
"GUIDED_LIVE_PREVIEW_POPOUT": "Click this button to popout live preview to a new tab. </br> <a href='#' style='float:right;'>ok</a>",
16711671
// Phoenix onboarding tour (one-shot, app-lifetime)
16721672
"PHOENIX_TOUR_DESIGN_MODE": "Click here to enter Design Mode. Go full-screen and edit your page visually.",
1673-
"PHOENIX_TOUR_AI_PANEL": "Click here to open the AI panel",
1673+
"PHOENIX_TOUR_AI_PANEL": "Design layouts, fix bugs, and build faster with AI. Click here to open the AI panel",
16741674
"PHOENIX_TOUR_NEW_PROJECT": "Open or create a new project from here",
16751675
"PHOENIX_TOUR_STEP_OF": "{0} of {1}",
16761676
"PHOENIX_TOUR_NEXT_BTN": "Next",

src/styles/Extn-PhoenixTour.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@
117117

118118
.phoenix-tour-text {
119119
display: block;
120+
white-space: pre-line;
120121
}
121122

122123
.phoenix-tour-actions {

0 commit comments

Comments
 (0)