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:
@@ -33,7 +33,15 @@ export const AppWelcomeScreen: React.FC<{
|
|||||||
return bit;
|
return bit;
|
||||||
});
|
});
|
||||||
} else {
|
} 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 (
|
return (
|
||||||
|
|||||||
@@ -50,7 +50,11 @@ exports[`Test MobileMenu > should initialize with welcome screen and hide once u
|
|||||||
<div
|
<div
|
||||||
class="welcome-screen-center__heading welcome-screen-decor excalifont"
|
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>
|
||||||
<div
|
<div
|
||||||
class="welcome-screen-menu"
|
class="welcome-screen-menu"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
.welcome-screen-decor-hint {
|
.welcome-screen-decor-hint {
|
||||||
@media (max-height: 599px) {
|
@media (max-height: 780px) {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -148,6 +148,7 @@
|
|||||||
.welcome-screen-center__heading {
|
.welcome-screen-center__heading {
|
||||||
font-size: 1.125rem;
|
font-size: 1.125rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
line-height: 1.35rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.welcome-screen-menu {
|
.welcome-screen-menu {
|
||||||
|
|||||||
@@ -557,7 +557,9 @@
|
|||||||
},
|
},
|
||||||
"welcomeScreen": {
|
"welcomeScreen": {
|
||||||
"app": {
|
"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?",
|
"center_heading_plus": "Did you want to go to the Excalidraw+ instead?",
|
||||||
"menuHint": "Export, preferences, languages, ..."
|
"menuHint": "Export, preferences, languages, ..."
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user