Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(console): update guide orders #6047

Merged
merged 1 commit into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
/packages/console @wangsijie @charIeszhao @gao-sun
/packages/ui @simeng-li @charIeszhao
/.changeset @gao-sun

# The file below should be generated by the script, just in case someone accidentally edits it
/packages/console/src/assets/docs/guides/index.ts @gao-sun
14 changes: 7 additions & 7 deletions packages/console/src/assets/docs/guides/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,6 @@ export const guides: Readonly<Guide[]> = Object.freeze([
Component: lazy(async () => import('./web-java-spring-boot/README.mdx')),
metadata: webJavaSpringBoot,
},
{
order: 1.5,
id: 'web-gpt-plugin',
Logo: lazy(async () => import('./web-gpt-plugin/logo.svg')),
Component: lazy(async () => import('./web-gpt-plugin/README.mdx')),
metadata: webGptPlugin,
},
{
order: 1.6,
id: 'spa-vue',
Expand Down Expand Up @@ -252,6 +245,13 @@ export const guides: Readonly<Guide[]> = Object.freeze([
Component: lazy(async () => import('./web-outline/README.mdx')),
metadata: webOutline,
},
{
order: 999,
id: 'web-gpt-plugin',
Logo: lazy(async () => import('./web-gpt-plugin/logo.svg')),
Component: lazy(async () => import('./web-gpt-plugin/README.mdx')),
metadata: webGptPlugin,
},
{
order: Number.POSITIVE_INFINITY,
id: 'api-express',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
repo: 'swift',
path: 'Demos/SwiftUI%20Demo',
},
isFeatured: true,
});

export default metadata;
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"order": 1.5
"order": 999
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
name: 'ChatGPT plugin',
description: 'Use Logto as an OAuth identity provider for ChatGPT plugins.',
target: ApplicationType.Traditional,
isFeatured: true,
});

export default metadata;
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ import { ApplicationType } from '@logto/schemas';
import { type GuideMetadata } from '../types';

const metadata: Readonly<GuideMetadata> = Object.freeze({
name: 'Java Spring Boot Web',
name: 'Java Spring Boot web',
description:
'Spring Boot is a web framework for Java that enables developers to build secure, fast, and scalable server applications with the Java programming language.',
target: ApplicationType.Traditional,
sample: {
repo: 'spring-boot-sample',
path: '',
},
isFeatured: true,
});

export default metadata;
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
description:
'Ruby is a dynamic, open-source programming language with a focus on simplicity and productivity.',
target: ApplicationType.Traditional,
isFeatured: true,
});

export default metadata;
Loading