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

feat: new empty placeholder component #2792

Merged
merged 40 commits into from
Jan 16, 2025
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
89962d1
first draft
MichaelUnkey Jan 7, 2025
6d7930d
Empty component and styled
MichaelUnkey Jan 7, 2025
4bad5c8
missing import
MichaelUnkey Jan 7, 2025
2ac7e0f
Merge branch 'main' of https://github.com/unkeyed/unkey into eng-1606…
MichaelUnkey Jan 7, 2025
19c2ce9
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 7, 2025
b3c14ef
small chages
MichaelUnkey Jan 7, 2025
543e379
styling fixes
MichaelUnkey Jan 8, 2025
3804973
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 8, 2025
f856e8e
reverted colors
MichaelUnkey Jan 8, 2025
b75ed45
typo
MichaelUnkey Jan 8, 2025
27d13d9
Merge branch 'main' of https://github.com/unkeyed/unkey into eng-1606…
MichaelUnkey Jan 8, 2025
c9ab08c
revert color file
MichaelUnkey Jan 8, 2025
bd3310c
revert experiment
MichaelUnkey Jan 8, 2025
850cb8b
icon size
MichaelUnkey Jan 8, 2025
5abbdf6
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 8, 2025
fd854f3
pr changes
MichaelUnkey Jan 9, 2025
a97882d
wording
MichaelUnkey Jan 9, 2025
79cf10a
remove children from icon
MichaelUnkey Jan 9, 2025
c09cf6b
fmt
MichaelUnkey Jan 9, 2025
a017ae3
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 9, 2025
4061e16
[autofix.ci] apply automated fixes (attempt 2/3)
autofix-ci[bot] Jan 9, 2025
e356e5d
[autofix.ci] apply automated fixes (attempt 3/3)
autofix-ci[bot] Jan 9, 2025
3e5ecad
Merge branch 'main' of https://github.com/unkeyed/unkey into eng-1606…
MichaelUnkey Jan 9, 2025
8d39f26
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 9, 2025
242bbd5
missed
MichaelUnkey Jan 9, 2025
d2c920d
Merge branch 'eng-1606-overhaul-emptyplaceholder' of https://github.c…
MichaelUnkey Jan 9, 2025
b5daf97
[autofix.ci] apply automated fixes
autofix-ci[bot] Jan 9, 2025
561b24e
icon changes
MichaelUnkey Jan 9, 2025
21d3111
Merge branch 'eng-1606-overhaul-emptyplaceholder' of https://github.c…
MichaelUnkey Jan 9, 2025
78a5c35
small change
MichaelUnkey Jan 9, 2025
9cc00e1
Merge branch 'main' of https://github.com/unkeyed/unkey into eng-1606…
MichaelUnkey Jan 10, 2025
86ce284
small changes
MichaelUnkey Jan 10, 2025
e165c58
Update apps/engineering/content/design/components/empty.mdx
MichaelUnkey Jan 14, 2025
5312970
Update apps/dashboard/app/(app)/ratelimits/[namespaceId]/logs/page.tsx
MichaelUnkey Jan 14, 2025
9cfb7ff
Merge branch 'main' of https://github.com/unkeyed/unkey into eng-1606…
MichaelUnkey Jan 14, 2025
ff6cd4f
removed empty added loading
MichaelUnkey Jan 14, 2025
d290e96
Merge branch 'main' of https://github.com/unkeyed/unkey into eng-1606…
MichaelUnkey Jan 14, 2025
eead2f8
corrected loading import
MichaelUnkey Jan 14, 2025
152f95c
centered loading
MichaelUnkey Jan 14, 2025
62013ff
Merge branch 'main' into eng-1606-overhaul-emptyplaceholder
MichaelUnkey Jan 15, 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
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { Empty } from "@unkey/ui";
import { Check, X } from "lucide-react";
import { parseAsArrayOf, parseAsBoolean, parseAsIsoDateTime, parseAsString } from "nuqs/server";
import { Suspense } from "react";
import Loading from "../../loading";
MichaelUnkey marked this conversation as resolved.
Show resolved Hide resolved
import { navigation } from "../constants";
import { Filters } from "./filter";
import { Menu } from "./menu";
Expand Down Expand Up @@ -99,15 +100,7 @@ export default async function AuditPage(props: Props) {

<div className="flex flex-col gap-8 mt-8">
<Filters />
<Suspense
fallback={
<Empty>
<Empty.Icon />
<Empty.Title>Loading</Empty.Title>
<Empty.Description>Loading logs.</Empty.Description>
</Empty>
}
>
<Suspense fallback={<Loading />}>
<AuditLogTable
workspaceId={namespace.workspace.id}
namespaceId={namespace.id}
Expand Down
Loading