0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

refactor(console): update get-started content (#3464)

This commit is contained in:
Xiao Yijun 2023-03-17 16:44:33 +08:00 committed by GitHub
parent 209c232140
commit 29590c6981
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 64 additions and 72 deletions

View file

@ -72,17 +72,6 @@ const useGetStartedMetadata = () => {
navigate('/applications/create');
},
},
{
id: 'configurePasswordless',
title: 'get_started.passwordless_title',
subtitle: 'get_started.passwordless_subtitle',
icon: isLightMode ? Passwordless : PasswordlessDark,
buttonText: 'general.enable',
isComplete: configs?.passwordlessConfigured,
onClick: () => {
navigate(`/connectors/${ConnectorsTabs.Passwordless}`);
},
},
{
id: 'customizeSignInExperience',
title: 'get_started.custom_sie_title',
@ -94,6 +83,17 @@ const useGetStartedMetadata = () => {
navigate('/sign-in-experience');
},
},
{
id: 'configurePasswordless',
title: 'get_started.passwordless_title',
subtitle: 'get_started.passwordless_subtitle',
icon: isLightMode ? Passwordless : PasswordlessDark,
buttonText: 'general.enable',
isComplete: configs?.passwordlessConfigured,
onClick: () => {
navigate(`/connectors/${ConnectorsTabs.Passwordless}`);
},
},
],
[
configs?.applicationCreated,
@ -153,10 +153,10 @@ const useGetStartedMetadata = () => {
title: 'get_started.management_api_title',
subtitle: 'get_started.management_api_subtitle',
icon: isLightMode ? MachineToMachine : MachineToMachineDark,
buttonText: 'general.create',
buttonText: 'general.check_out',
isComplete: configs?.m2mApplicationCreated,
onClick: () => {
navigate('/applications/create');
navigate('/api-resources');
},
},
{
@ -164,10 +164,10 @@ const useGetStartedMetadata = () => {
title: 'get_started.add_rbac_title',
subtitle: 'get_started.add_rbac_subtitle',
icon: isLightMode ? CreateRole : CreateRoleDark,
buttonText: 'general.create',
buttonText: 'general.check_out',
isComplete: configs?.roleCreated,
onClick: () => {
navigate('/roles/create');
navigate('/roles');
},
},
],

View file

@ -128,7 +128,7 @@ describe('smoke testing for cloud', () => {
// Wait for the admin console to load
const mainContent = await page.waitForSelector('div[class$=main]:has(div[class$=title])');
await expect(mainContent).toMatchElement('div[class$=title]', {
text: 'How do you want to get started with Logto?',
text: 'Something to explore to help you succeed',
});
expect(new URL(page.url()).pathname.endsWith('/get-started')).toBeTruthy();

View file

@ -1,7 +1,7 @@
const get_started = {
progress: 'Erste Schritte: {{completed}}/{{total}}',
progress_dropdown_title: 'Was du machen kannst...',
title: 'Wie willst du mit Logto loslegen?',
title: 'Something to explore to help you succeed', // UNTRANSLATED
subtitle_part1: 'Ein paar Dinge, die du tun kannst, um schnell von Logto zu profitieren',
subtitle_part2: 'Ich bin fertig mit der Einrichtung.',
hide_this: 'Ausblenden',
@ -10,19 +10,18 @@ const get_started = {
check_preview_title: 'Check the live preview', // UNTRANSLATED
check_preview_subtitle:
'Probiere die Logto-Anmeldung jetzt aus, um zu sehen, wie sie funktioniert',
integration_title: 'Create and integrate the your own application', // UNTRANSLATED
integration_title: 'Create and integrate your application', // UNTRANSLATED
integration_subtitle:
'Setup a native, single page or traditional application to use Logto for authentication', // UNTRANSLATED
custom_sie_title: 'Customize your sign-in experience with advanced options', // UNTRANSLATED
custom_sie_subtitle: 'Unlock a vast range of business scenarios with advanced settings', // UNTRANSLATED
'Set up Logto authentication for your native, single page, machine to machine, or traditional application', // UNTRANSLATED
custom_sie_title: 'Customize sign-in experience', // UNTRANSLATED
custom_sie_subtitle: 'Unlock a vast range of scenarios with advanced settings', // UNTRANSLATED
passwordless_title: 'Scale passwordless sign in by adding your own connectors', // UNTRANSLATED
passwordless_subtitle:
'Try passwordless sign in and enable a secure and frictionless experience for your customer', // UNTRANSLATED
community_title: 'Join our discord community', // UNTRANSLATED
community_subtitle: 'Join our public channel to chat with other developers', // UNTRANSLATED
management_api_title: 'Interact with Management API', // UNTRANSLATED
management_api_subtitle:
'Build a machine to machine app for API access and your product tech infrastructure setup', // UNTRANSLATED
management_api_subtitle: 'Directly connect your authentication system to our management API', // UNTRANSLATED
further_readings_title: 'Further readings', // UNTRANSLATED
further_readings_subtitle:
'Check out our step-by-step, scenario-based docs without tedious concepts', // UNTRANSLATED

View file

@ -1,26 +1,25 @@
const get_started = {
progress: 'Get started guide: {{completed}}/{{total}}',
progress_dropdown_title: 'A few things you can do...',
title: 'How do you want to get started with Logto?',
title: 'Something to explore to help you succeed',
subtitle_part1: 'A few things you can do to quickly get value of Logto',
subtitle_part2: 'Im a pro and have completed all steps. ',
hide_this: 'Hide this',
confirm_message: 'Are you sure you want to hide this page? This action cannot be undone.',
check_preview_title: 'Check the live preview',
check_preview_subtitle: 'Try Logto sign-in experience now to see how it works',
integration_title: 'Create and integrate the your own application',
integration_title: 'Create and integrate your application',
integration_subtitle:
'Setup a native, single page or traditional application to use Logto for authentication',
custom_sie_title: 'Customize your sign-in experience with advanced options',
custom_sie_subtitle: 'Unlock a vast range of business scenarios with advanced settings',
'Set up Logto authentication for your native, single page, machine to machine, or traditional application',
custom_sie_title: 'Customize sign-in experience',
custom_sie_subtitle: 'Unlock a vast range of scenarios with advanced settings',
passwordless_title: 'Scale passwordless sign in by adding your own connectors',
passwordless_subtitle:
'Try passwordless sign in and enable a secure and frictionless experience for your customer',
community_title: 'Join our discord community',
community_subtitle: 'Join our public channel to chat with other developers',
management_api_title: 'Interact with Management API',
management_api_subtitle:
'Build a machine to machine app for API access and your product tech infrastructure setup',
management_api_subtitle: 'Directly connect your authentication system to our management API',
further_readings_title: 'Further readings',
further_readings_subtitle:
'Check out our step-by-step, scenario-based docs without tedious concepts',

View file

@ -1,7 +1,7 @@
const get_started = {
progress: 'Guide de démarrage : {{completed}}/{{total}}',
progress_dropdown_title: 'Il y a quelques choses que vous pouvez faire...',
title: 'Comment voulez-vous démarrer avec Logto ?',
title: 'Something to explore to help you succeed', // UNTRANSLATED
subtitle_part1:
'Voici quelques mesures que vous pouvez prendre pour tirer rapidement profit de Logto',
subtitle_part2: "J'en ai fini avec cette installation. ",
@ -11,19 +11,18 @@ const get_started = {
check_preview_title: 'Check the live preview', // UNTRANSLATED
check_preview_subtitle:
"Essayez maintenant l'expérience de connexion Logto pour voir comment elle fonctionne.",
integration_title: 'Create and integrate the your own application', // UNTRANSLATED
integration_title: 'Create and integrate your application', // UNTRANSLATED
integration_subtitle:
'Setup a native, single page or traditional application to use Logto for authentication', // UNTRANSLATED
custom_sie_title: 'Customize your sign-in experience with advanced options', // UNTRANSLATED
custom_sie_subtitle: 'Unlock a vast range of business scenarios with advanced settings', // UNTRANSLATED
'Set up Logto authentication for your native, single page, machine to machine, or traditional application', // UNTRANSLATED
custom_sie_title: 'Customize sign-in experience', // UNTRANSLATED
custom_sie_subtitle: 'Unlock a vast range of scenarios with advanced settings', // UNTRANSLATED
passwordless_title: 'Scale passwordless sign in by adding your own connectors', // UNTRANSLATED
passwordless_subtitle:
'Try passwordless sign in and enable a secure and frictionless experience for your customer', // UNTRANSLATED
community_title: 'Join our discord community', // UNTRANSLATED
community_subtitle: 'Join our public channel to chat with other developers', // UNTRANSLATED
management_api_title: 'Interact with Management API', // UNTRANSLATED
management_api_subtitle:
'Build a machine to machine app for API access and your product tech infrastructure setup', // UNTRANSLATED
management_api_subtitle: 'Directly connect your authentication system to our management API', // UNTRANSLATED
further_readings_title: 'Further readings', // UNTRANSLATED
further_readings_subtitle:
'Check out our step-by-step, scenario-based docs without tedious concepts', // UNTRANSLATED

View file

@ -1,26 +1,25 @@
const get_started = {
progress: '시작 가이드: {{completed}}/{{total}}',
progress_dropdown_title: '해야할 것들...',
title: 'Logto를 어떻게 시작할까요?',
title: 'Something to explore to help you succeed', // UNTRANSLATED
subtitle_part1: 'Logto의 가치를 얻기 위해 해야 할 것들이 있어요.',
subtitle_part2: '설정을 마칠게요 ',
hide_this: '가리기',
confirm_message: '정말로 이 페이지를 가릴까요? 이 행동은 취소할 수 없어요.',
check_preview_title: 'Check the live preview', // UNTRANSLATED
check_preview_subtitle: 'Logto 로그인 경험을 체험해 보세요.',
integration_title: 'Create and integrate the your own application', // UNTRANSLATED
integration_title: 'Create and integrate your application', // UNTRANSLATED
integration_subtitle:
'Setup a native, single page or traditional application to use Logto for authentication', // UNTRANSLATED
custom_sie_title: 'Customize your sign-in experience with advanced options', // UNTRANSLATED
custom_sie_subtitle: 'Unlock a vast range of business scenarios with advanced settings', // UNTRANSLATED
'Set up Logto authentication for your native, single page, machine to machine, or traditional application', // UNTRANSLATED
custom_sie_title: 'Customize sign-in experience', // UNTRANSLATED
custom_sie_subtitle: 'Unlock a vast range of scenarios with advanced settings', // UNTRANSLATED
passwordless_title: 'Scale passwordless sign in by adding your own connectors', // UNTRANSLATED
passwordless_subtitle:
'Try passwordless sign in and enable a secure and frictionless experience for your customer', // UNTRANSLATED
community_title: 'Join our discord community', // UNTRANSLATED
community_subtitle: 'Join our public channel to chat with other developers', // UNTRANSLATED
management_api_title: 'Interact with Management API', // UNTRANSLATED
management_api_subtitle:
'Build a machine to machine app for API access and your product tech infrastructure setup', // UNTRANSLATED
management_api_subtitle: 'Directly connect your authentication system to our management API', // UNTRANSLATED
further_readings_title: 'Further readings', // UNTRANSLATED
further_readings_subtitle:
'Check out our step-by-step, scenario-based docs without tedious concepts', // UNTRANSLATED

View file

@ -1,7 +1,7 @@
const get_started = {
progress: 'Rrimeiros passos: {{completed}}/{{total}}',
progress_dropdown_title: 'Algumas coisas que você pode fazer...',
title: 'Como você deseja começar a usar o Logto?',
title: 'Something to explore to help you succeed', // UNTRANSLATED
subtitle_part1: 'Algumas coisas que você pode fazer para utilizar rapidamente o Logto',
subtitle_part2: 'Já finalizei os passos. ',
hide_this: 'Esconder isso',
@ -9,19 +9,18 @@ const get_started = {
'Tem certeza de que deseja ocultar esta página? Essa ação não pode ser desfeita.',
check_preview_title: 'Check the live preview', // UNTRANSLATED
check_preview_subtitle: 'Experimente a experiência de Logto agora para ver como funciona',
integration_title: 'Create and integrate the your own application', // UNTRANSLATED
integration_title: 'Create and integrate your application', // UNTRANSLATED
integration_subtitle:
'Setup a native, single page or traditional application to use Logto for authentication', // UNTRANSLATED
custom_sie_title: 'Customize your sign-in experience with advanced options', // UNTRANSLATED
custom_sie_subtitle: 'Unlock a vast range of business scenarios with advanced settings', // UNTRANSLATED
'Set up Logto authentication for your native, single page, machine to machine, or traditional application', // UNTRANSLATED
custom_sie_title: 'Customize sign-in experience', // UNTRANSLATED
custom_sie_subtitle: 'Unlock a vast range of scenarios with advanced settings', // UNTRANSLATED
passwordless_title: 'Scale passwordless sign in by adding your own connectors', // UNTRANSLATED
passwordless_subtitle:
'Try passwordless sign in and enable a secure and frictionless experience for your customer', // UNTRANSLATED
community_title: 'Join our discord community', // UNTRANSLATED
community_subtitle: 'Join our public channel to chat with other developers', // UNTRANSLATED
management_api_title: 'Interact with Management API', // UNTRANSLATED
management_api_subtitle:
'Build a machine to machine app for API access and your product tech infrastructure setup', // UNTRANSLATED
management_api_subtitle: 'Directly connect your authentication system to our management API', // UNTRANSLATED
further_readings_title: 'Further readings', // UNTRANSLATED
further_readings_subtitle:
'Check out our step-by-step, scenario-based docs without tedious concepts', // UNTRANSLATED

View file

@ -1,7 +1,7 @@
const get_started = {
progress: 'Guia de primeiros passos: {{completed}}/{{total}}',
progress_dropdown_title: 'Algumas coisas que pode fazer...',
title: 'Como deseja começar a usar o Logto?',
title: 'Something to explore to help you succeed', // UNTRANSLATED
subtitle_part1: 'Algumas coisas que pode fazer para obter rapidamente o valor do Logto',
subtitle_part2: 'Acabei com esta configuração. ',
hide_this: 'Ocultar isto',
@ -9,19 +9,18 @@ const get_started = {
check_preview_title: 'Check the live preview', // UNTRANSLATED
check_preview_subtitle:
'Experimente a experiência de login do Logto agora para ver como funciona',
integration_title: 'Create and integrate the your own application', // UNTRANSLATED
integration_title: 'Create and integrate your application', // UNTRANSLATED
integration_subtitle:
'Setup a native, single page or traditional application to use Logto for authentication', // UNTRANSLATED
custom_sie_title: 'Customize your sign-in experience with advanced options', // UNTRANSLATED
custom_sie_subtitle: 'Unlock a vast range of business scenarios with advanced settings', // UNTRANSLATED
'Set up Logto authentication for your native, single page, machine to machine, or traditional application', // UNTRANSLATED
custom_sie_title: 'Customize sign-in experience', // UNTRANSLATED
custom_sie_subtitle: 'Unlock a vast range of scenarios with advanced settings', // UNTRANSLATED
passwordless_title: 'Scale passwordless sign in by adding your own connectors', // UNTRANSLATED
passwordless_subtitle:
'Try passwordless sign in and enable a secure and frictionless experience for your customer', // UNTRANSLATED
community_title: 'Join our discord community', // UNTRANSLATED
community_subtitle: 'Join our public channel to chat with other developers', // UNTRANSLATED
management_api_title: 'Interact with Management API', // UNTRANSLATED
management_api_subtitle:
'Build a machine to machine app for API access and your product tech infrastructure setup', // UNTRANSLATED
management_api_subtitle: 'Directly connect your authentication system to our management API', // UNTRANSLATED
further_readings_title: 'Further readings', // UNTRANSLATED
further_readings_subtitle:
'Check out our step-by-step, scenario-based docs without tedious concepts', // UNTRANSLATED

View file

@ -1,7 +1,7 @@
const get_started = {
progress: 'Başlangıç Kılavuzu: {{completed}}/{{total}}',
progress_dropdown_title: 'Yapabileceğiniz bazı şeyler...',
title: 'Logtoyla nasıl başlamak istersiniz?',
title: 'Something to explore to help you succeed', // UNTRANSLATED
subtitle_part1: 'Logto değerini hızlı bir şekilde elde etmek için yapabileceğiniz birkaç şey',
subtitle_part2: 'Bu kurulumla işim bitti. ',
hide_this: 'Bunu gizle',
@ -9,19 +9,18 @@ const get_started = {
check_preview_title: 'Check the live preview', // UNTRANSLATED
check_preview_subtitle:
'Nasıl çalıştığını görmek için şimdi Logto oturum açma deneyimini deneyiniz',
integration_title: 'Create and integrate the your own application', // UNTRANSLATED
integration_title: 'Create and integrate your application', // UNTRANSLATED
integration_subtitle:
'Setup a native, single page or traditional application to use Logto for authentication', // UNTRANSLATED
custom_sie_title: 'Customize your sign-in experience with advanced options', // UNTRANSLATED
custom_sie_subtitle: 'Unlock a vast range of business scenarios with advanced settings', // UNTRANSLATED
'Set up Logto authentication for your native, single page, machine to machine, or traditional application', // UNTRANSLATED
custom_sie_title: 'Customize sign-in experience', // UNTRANSLATED
custom_sie_subtitle: 'Unlock a vast range of scenarios with advanced settings', // UNTRANSLATED
passwordless_title: 'Scale passwordless sign in by adding your own connectors', // UNTRANSLATED
passwordless_subtitle:
'Try passwordless sign in and enable a secure and frictionless experience for your customer', // UNTRANSLATED
community_title: 'Join our discord community', // UNTRANSLATED
community_subtitle: 'Join our public channel to chat with other developers', // UNTRANSLATED
management_api_title: 'Interact with Management API', // UNTRANSLATED
management_api_subtitle:
'Build a machine to machine app for API access and your product tech infrastructure setup', // UNTRANSLATED
management_api_subtitle: 'Directly connect your authentication system to our management API', // UNTRANSLATED
further_readings_title: 'Further readings', // UNTRANSLATED
further_readings_subtitle:
'Check out our step-by-step, scenario-based docs without tedious concepts', // UNTRANSLATED

View file

@ -1,26 +1,25 @@
const get_started = {
progress: '开始上手: {{completed}}/{{total}}',
progress_dropdown_title: '一些快速上手的操作',
title: '还不知道如何使用 Logto?',
title: 'Something to explore to help you succeed', // UNTRANSLATED
subtitle_part1: '下列是一些可以快速上手的操作,通过这些,你可以更好地感受 Logto 的价值',
subtitle_part2: '我已经完成了这些设置。 ',
hide_this: '隐藏引导',
confirm_message: '你确认要隐藏该页面吗? 本操作将无法恢复。',
check_preview_title: 'Check the live preview', // UNTRANSLATED
check_preview_subtitle: '来体验 Logto 登录吧',
integration_title: 'Create and integrate the your own application', // UNTRANSLATED
integration_title: 'Create and integrate your application', // UNTRANSLATED
integration_subtitle:
'Setup a native, single page or traditional application to use Logto for authentication', // UNTRANSLATED
custom_sie_title: 'Customize your sign-in experience with advanced options', // UNTRANSLATED
custom_sie_subtitle: 'Unlock a vast range of business scenarios with advanced settings', // UNTRANSLATED
'Set up Logto authentication for your native, single page, machine to machine, or traditional application', // UNTRANSLATED
custom_sie_title: 'Customize sign-in experience', // UNTRANSLATED
custom_sie_subtitle: 'Unlock a vast range of scenarios with advanced settings', // UNTRANSLATED
passwordless_title: 'Scale passwordless sign in by adding your own connectors', // UNTRANSLATED
passwordless_subtitle:
'Try passwordless sign in and enable a secure and frictionless experience for your customer', // UNTRANSLATED
community_title: 'Join our discord community', // UNTRANSLATED
community_subtitle: 'Join our public channel to chat with other developers', // UNTRANSLATED
management_api_title: 'Interact with Management API', // UNTRANSLATED
management_api_subtitle:
'Build a machine to machine app for API access and your product tech infrastructure setup', // UNTRANSLATED
management_api_subtitle: 'Directly connect your authentication system to our management API', // UNTRANSLATED
further_readings_title: 'Further readings', // UNTRANSLATED
further_readings_subtitle:
'Check out our step-by-step, scenario-based docs without tedious concepts', // UNTRANSLATED