Skip to content

Commit 73c080d

Browse files
committed
chore: rephrase default project bubble note to better understand what it is about
1 parent 3dadcc4 commit 73c080d

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

src/assets/new-project/assets/css/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,8 +1126,15 @@ img {
11261126
opacity: 0;
11271127
font-size: 13px;
11281128
font-weight: 500;
1129+
max-width: 300px;
11291130
font-style: normal;
11301131
font-stretch: normal;
1132+
a {
1133+
color: #333;
1134+
}
1135+
a:hover {
1136+
color: white;
1137+
}
11311138
}
11321139
.notification-ui-hidden {
11331140
opacity: 0;

src/assets/new-project/assets/js/code-editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function _showFirstTimeExperience() {
121121
createNotificationFromTemplate(Strings.DEFAULT_PROJECT_NOTIFICATION,
122122
"defaultProjectButton", {
123123
allowedPlacements: ["left", "right"],
124-
autoCloseTimeS: 15,
124+
autoCloseTimeS: 600,
125125
dismissOnClick: true
126126
});
127127
PhStore.setItem('notification.defaultProject.Shown', 'true');

src/nls/root/strings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ define({
12201220
"VIEW_MORE": "View More...",
12211221
"NEW_PROJECT_NOTIFICATION": "Click this icon to open the `Start Project` window again.</br> See Recent Projects, Open Folder or start projects from templates.</br> <img src=\"styles/images/new_project.png\">",
12221222
"BEAUTIFY_CODE_NOTIFICATION": "Click here or press <b>`{0}`</b> to beautify code. </br> <img src=\"styles/images/beautify.gif\">",
1223-
"DEFAULT_PROJECT_NOTIFICATION": "Click here to open the <br/><b>default project</b> in {APP_NAME}. </br> <a href='#' style='float:right;'>ok</a>",
1223+
"DEFAULT_PROJECT_NOTIFICATION": "Open the <b>Default Project</b> in {APP_NAME} to get started quickly (ideal as a scratch pad).</br></br>Or, open a folder from your computer with the <strong>Open Folder</strong> icon below.<br><a href='#' style='float:right;'>ok</a>",
12241224
"DIRECTORY_REPLACE_MESSAGE": "The selected folder <span class='dialog-filename'>{0}</span> is not empty. Are you sure you want to replace the folder contents with the project?",
12251225
"DEFAULT_PROJECT_HTML_CLICK_HERE": "Click here to locate this &lt;span&gt; in the HTML file",
12261226
"BUILD_WEBSITE_SECTION": "Build Website",

0 commit comments

Comments
 (0)