Skip to content
Source
Docs
Explore
Skills
MCP servers
For agents
Search or jump to…
Sign in
Sign up
fuko
/
trytanstackdb.com
Pull requests
fuko
trytanstackdb.com
Public
Synced with GitHub
Fork
0
0
0
0
1
2
3
4
5
6
7
8
9
Code
Architecture
Issues
Pull requests
Community
Assets
CI
Agents
Settings
Show the intro pages for first-time visitors
#26
Send to my agent
Merged
fuko
merged 2 commits into
main
from
refs/pull/26/head
·
merged by
fuko
11 months ago
View on GitHub
Conversation
3
Commits
2
Files changed
2
Impact
Showing
2 changed files
with
13 additions
and
7 deletions
.
x
0 of 2 viewed, 2 left
Files
Hide whitespace
Unified
Split
10 additions and 4 deletions
+10
-4
src/components/HomeIntro.tsx
Modified
Diff
Before/After
Viewed
src/components/HomeIntro.tsx
View file
Show all 14 lines
@@ -15,22 +15,28 @@
15
15
16
16
export
function
HomeIntro
({
17
17
activeStep,
18
-
show_home_intro,
18
+
intro,
19
19
}: {
20
20
activeStep
:
string
|
null
;
21
-
show_home_intro
:
"true"
|
"false"
|
undefined
;
21
+
intro
:
"true"
|
"false"
|
undefined
;
22
22
}) {
23
23
const
[open, setOpen] =
useState
(
24
24
activeStep ===
null
||
25
25
// used for debugging
26
-
show_home_intro ===
"true"
,
26
+
intro ===
"true"
,
27
27
);
28
28
29
29
const
navigate =
useNavigate
();
30
30
31
31
const
startTutorial =
useCallback
(() => {
32
32
setOpen
(
false
);
33
-
navigate
({
to
:
"."
,
search
: ({ show_home_intro, ...o }) => o });
33
+
navigate
({
34
+
to
:
"."
,
35
+
search
: (o) => ({
Home
Search
Explore
Menu