chore: Add Storybook preview links for celebration screens

This commit is contained in:
Florian Zia 2023-11-17 18:14:28 +01:00
Родитель f2b1efa86d
Коммит eb3a161915
Не найден ключ, соответствующий данной подписи
1 изменённых файлов: 29 добавлений и 3 удалений

Просмотреть файл

@ -159,7 +159,7 @@ const preview: Preview = {
) {
linkTo(
"Pages/Guided resolution/2. High-risk data breaches",
"2e. Done",
"2e IV. Done (Next step: None)",
)();
}
@ -182,8 +182,24 @@ const preview: Preview = {
)();
}
if (path === "/redesign/user/dashboard/fix/leaked-passwords/done") {
linkTo("Pages/Guided resolution/3. Leaked passwords", "3c. Done")();
if (
path ===
"/redesign/user/dashboard/fix/leaked-passwords/passwords-done"
) {
linkTo(
"Pages/Guided resolution/3. Leaked passwords",
"3b I. Done (Next step: Security questions)",
)();
}
if (
path ===
"/redesign/user/dashboard/fix/leaked-passwords/security-questions-done"
) {
linkTo(
"Pages/Guided resolution/3. Leaked passwords",
"3d II. Done (Next step: None)",
)();
}
if (
@ -214,6 +230,16 @@ const preview: Preview = {
"4c. IP address",
)();
}
if (
path ===
"/redesign/user/dashboard/fix/security-recommendations/done"
) {
linkTo(
"Pages/Guided resolution/4. Security recommendations",
"4d. Done",
)();
}
},
},
},