Skip to content

Restructure Lab docs & Lab 3.2 #1182

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

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1a383a0
Add v1
katarinasupe Mar 7, 2025
b14acba
add getting started content
matea16 Mar 13, 2025
0eb5eef
update getting started
katarinasupe Mar 31, 2025
be9325a
update deployment and installation (#1209)
matea16 Mar 31, 2025
47eaa1b
Update connection types page (#1213)
katarinasupe Mar 31, 2025
f6407da
Update data import (#1217)
matea16 Apr 3, 2025
c7fc547
Add collections feature (#1214)
katarinasupe Apr 3, 2025
e0ab4eb
Add layout feature (#1219)
katarinasupe Apr 3, 2025
ebcfa9a
Add run history (#1220)
katarinasupe Apr 3, 2025
4845060
update data migration
katarinasupe Apr 4, 2025
cdfec26
Add configuration (#1223)
katarinasupe Apr 4, 2025
b513d6e
update features overview
katarinasupe Apr 4, 2025
5a2b6bf
update features overview
katarinasupe Apr 4, 2025
4682ba2
Update querying (#1222)
matea16 Apr 7, 2025
02d9b41
update features table
katarinasupe Apr 7, 2025
ecedd72
add callouts on sharing features
katarinasupe Apr 7, 2025
0ac6a31
update features table
katarinasupe Apr 7, 2025
2bbe84c
Merge branch 'main' into restructure-lab-docs
katarinasupe Apr 7, 2025
bb2d68c
Update query modules (#1225)
matea16 Apr 7, 2025
80488f6
Add monitoring page (#1226)
katarinasupe Apr 7, 2025
95c59fd
add fundamentals (#1228)
matea16 Apr 8, 2025
323cd62
Add streaming page (#1227)
katarinasupe Apr 8, 2025
ba0d9d5
remove fundamentals
katarinasupe Apr 8, 2025
0216383
Update lab docs (#1230)
matea16 Apr 9, 2025
1567a89
Add Lab fixes/todos (#1229)
katarinasupe Apr 9, 2025
9559175
update
matea16 Apr 9, 2025
b467997
Add redirects and update wrong links
katarinasupe Apr 9, 2025
5819384
typo fix
katarinasupe Apr 10, 2025
74842d1
add suggestions
katarinasupe Apr 14, 2025
8c3cc06
new: Add Lab custom SSO and new env variables (#1235)
tonilastre Apr 17, 2025
a51e580
update
katarinasupe Apr 17, 2025
bb1c95f
update visuals
katarinasupe Apr 17, 2025
39dcb5f
add query status bar images
katarinasupe Apr 17, 2025
75d8f8c
add daily builds
katarinasupe Apr 18, 2025
bc7581d
Merge branch 'main' into restructure-lab-docs
katarinasupe Apr 18, 2025
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 components/social-card/CommunityLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,21 @@ export function CommunityLinks() {
title="Discord"
body="Join the community"
href="https://discord.gg/memgraph"
is_external={true}
/>
<SocialCard
icon={<GitHub />}
title="GitHub"
body="Ask a question"
href="https://github.com/memgraph/memgraph/discussions"
is_external={true}
/>
<SocialCard
icon={<Calendar />}
title="Office hours"
body="Talk with Memgraph engineers"
href="https://memgraph.com/office-hours"
is_external={true}
/>
</SocialCards>
</div>
Expand Down
33 changes: 33 additions & 0 deletions components/social-card/LabOverview.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import { SocialCards } from './SocialCards';
import { SocialCard } from './SocialCard';

// TODO: Make this customizable - forward a list of icon?, title and body and create social cards
export function LabOverview() {
return (
<div>
<SocialCards>
<SocialCard
title="Getting started →"
body="Learn the Memgraph Lab installation and deployment best practices."
href="/docs/memgraph-lab/getting-started"
/>
<SocialCard
title="Querying →"
body="Discover how to execute Cypher queries, explore query results, and optimize performance."
href="/docs/memgraph-lab/querying"
/>
<SocialCard
title="Features →"
body="Explore features such as GraphChat, monitoring, sharing features, and more."
href="/docs/memgraph-lab/features"
/>
<SocialCard
title="Configuration →"
body="Learn how to configure Memgraph Lab in Docker environment using environment variables."
href="/docs/memgraph-lab/configuration"
/>
</SocialCards>
</div>
);
}

16 changes: 11 additions & 5 deletions components/social-card/SocialCard.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
import type { ReactNode } from 'react';

interface SocialCardProps {
icon: ReactNode;
icon?: ReactNode;
title: string;
href: string;
body: string;
body?: string;
is_external?: boolean;
}

export function SocialCard({ icon, title, href, body }: SocialCardProps) {
export function SocialCard({ icon, title, href, body, is_external }: SocialCardProps) {
let target = is_external ? "_blank" : "";
return (
<a
href={href}
target='_blank'
target={target}
className="social-card group flex flex-col justify-start overflow-hidden rounded-lg border border-gray-200 text-current no-underline dark:shadow-none hover:shadow-gray-100 dark:hover:shadow-none shadow-gray-100 active:shadow-sm active:shadow-gray-200 transition-all duration-200 hover:border-gray-300 bg-transparent shadow-sm dark:border-neutral-800 hover:bg-slate-50 hover:shadow-md dark:hover:border-neutral-700 dark:hover:bg-neutral-900"
>
<div className="p-4 flex flex-col gap-2 dark:bg-[#3a3436]">
<div className="flex font-semibold items-start gap-2 text-gray-700 dark:text-gray-100 items-center">
{icon}
<span>{title}</span>
</div>
<p className="mt-2 text-sm font-medium text-gray-600 dark:text-gray-300">{body}</p>
{body && (
<p className="mt-2 text-sm font-medium text-gray-600 dark:text-gray-300">
{body}
</p>
)}
</div>
</a>
);
Expand Down
Loading