From 73c080d1d32616fbe853debe5b5c4071f4456191 Mon Sep 17 00:00:00 2001 From: abose Date: Thu, 23 Jan 2025 15:33:50 +0530 Subject: [PATCH] chore: rephrase default project bubble note to better understand what it is about --- src/assets/new-project/assets/css/style.css | 7 +++++++ src/assets/new-project/assets/js/code-editor.js | 2 +- src/nls/root/strings.js | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/assets/new-project/assets/css/style.css b/src/assets/new-project/assets/css/style.css index 6379f5f285..1b16c0bfd0 100644 --- a/src/assets/new-project/assets/css/style.css +++ b/src/assets/new-project/assets/css/style.css @@ -1126,8 +1126,15 @@ img { opacity: 0; font-size: 13px; font-weight: 500; + max-width: 300px; font-style: normal; font-stretch: normal; + a { + color: #333; + } + a:hover { + color: white; + } } .notification-ui-hidden { opacity: 0; diff --git a/src/assets/new-project/assets/js/code-editor.js b/src/assets/new-project/assets/js/code-editor.js index 7629cea98d..64b82987bf 100644 --- a/src/assets/new-project/assets/js/code-editor.js +++ b/src/assets/new-project/assets/js/code-editor.js @@ -121,7 +121,7 @@ function _showFirstTimeExperience() { createNotificationFromTemplate(Strings.DEFAULT_PROJECT_NOTIFICATION, "defaultProjectButton", { allowedPlacements: ["left", "right"], - autoCloseTimeS: 15, + autoCloseTimeS: 600, dismissOnClick: true }); PhStore.setItem('notification.defaultProject.Shown', 'true'); diff --git a/src/nls/root/strings.js b/src/nls/root/strings.js index bebda033fd..4f508f28ca 100644 --- a/src/nls/root/strings.js +++ b/src/nls/root/strings.js @@ -1220,7 +1220,7 @@ define({ "VIEW_MORE": "View More...", "NEW_PROJECT_NOTIFICATION": "Click this icon to open the `Start Project` window again.
See Recent Projects, Open Folder or start projects from templates.
", "BEAUTIFY_CODE_NOTIFICATION": "Click here or press `{0}` to beautify code.
", - "DEFAULT_PROJECT_NOTIFICATION": "Click here to open the
default project in {APP_NAME}.
ok", + "DEFAULT_PROJECT_NOTIFICATION": "Open the Default Project in {APP_NAME} to get started quickly (ideal as a scratch pad).

Or, open a folder from your computer with the Open Folder icon below.
ok", "DIRECTORY_REPLACE_MESSAGE": "The selected folder {0} is not empty. Are you sure you want to replace the folder contents with the project?", "DEFAULT_PROJECT_HTML_CLICK_HERE": "Click here to locate this <span> in the HTML file", "BUILD_WEBSITE_SECTION": "Build Website",