fix: Clarify welcome screen message about browser storage limitations (#10721)

* fix: Clarify welcome screen message about browser storage limitations

* css tweaks

* update snaps

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
Yash
2026-01-31 21:45:14 +05:30
committed by GitHub
parent dfa1ce572b
commit 94364af68f
4 changed files with 19 additions and 4 deletions
@@ -33,7 +33,15 @@ export const AppWelcomeScreen: React.FC<{
return bit;
});
} else {
headingContent = t("welcomeScreen.app.center_heading");
headingContent = (
<>
{t("welcomeScreen.app.center_heading")}
<br />
{t("welcomeScreen.app.center_heading_line2")}
<br />
{t("welcomeScreen.app.center_heading_line3")}
</>
);
}
return (
@@ -50,7 +50,11 @@ exports[`Test MobileMenu > should initialize with welcome screen and hide once u
<div
class="welcome-screen-center__heading welcome-screen-decor excalifont"
>
All your data is saved locally in your browser.
Your drawings are saved in your browser's storage.
<br />
Browser storage can be cleared unexpectedly.
<br />
Save your work to a file regularly to avoid losing it.
</div>
<div
class="welcome-screen-menu"
@@ -29,7 +29,7 @@
// ---------------------------------------------------------------------------
.welcome-screen-decor-hint {
@media (max-height: 599px) {
@media (max-height: 780px) {
display: none !important;
}
@@ -148,6 +148,7 @@
.welcome-screen-center__heading {
font-size: 1.125rem;
text-align: center;
line-height: 1.35rem;
}
.welcome-screen-menu {
+3 -1
View File
@@ -557,7 +557,9 @@
},
"welcomeScreen": {
"app": {
"center_heading": "All your data is saved locally in your browser.",
"center_heading": "Your drawings are saved in your browser's storage.",
"center_heading_line2": "Browser storage can be cleared unexpectedly.",
"center_heading_line3": "Save your work to a file regularly to avoid losing it.",
"center_heading_plus": "Did you want to go to the Excalidraw+ instead?",
"menuHint": "Export, preferences, languages, ..."
},