Skip to content

Commit

Permalink
Filter on Uncategorized
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Jul 3, 2024
1 parent c2d09ed commit 1c8d303
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preview-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
packageManager: bun
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
workingDirectory: "apps/engine"
wranglerVersion: "3.60.1"
wranglerVersion: "3.63.0"
command: deploy --minify src/index.ts --name=engine-staging
2 changes: 1 addition & 1 deletion .github/workflows/production-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
packageManager: bun
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
workingDirectory: "apps/engine"
wranglerVersion: "3.60.1"
wranglerVersion: "3.63.0"
command: deploy --minify src/index.ts --name=engine
4 changes: 2 additions & 2 deletions apps/dashboard/src/components/tables/transactions/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const columns: ColumnDef<Transaction>[] = [
header: "Description",
cell: ({ row }) => {
return (
<TooltipProvider delayDuration={0}>
<TooltipProvider delayDuration={20}>
<Tooltip>
<TooltipTrigger asChild>
<span
Expand All @@ -119,7 +119,7 @@ export const columns: ColumnDef<Transaction>[] = [
</TooltipTrigger>
{row.original?.description && (
<TooltipContent
className="px-3 py-1.5 text-xs"
className="px-3 py-1.5 text-xs max-w-[380px]"
side="left"
sideOffset={10}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ export function transactionSections({ categories, accounts }) {
icon: Archive,
type: SectionType.checkbox,
renderLabel: (value) => value.name,
options: categories.map((category) => ({
options: [
...categories,
{ slug: "uncategorized", name: "Uncategorized" },
].map((category) => ({
id: category.slug,
label: category.name,
})),
Expand Down
4 changes: 2 additions & 2 deletions apps/engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"@hono/swagger-ui": "^0.3.0",
"@hono/zod-openapi": "^0.14.7",
"@hono/zod-validator": "^0.2.2",
"hono": "^4.4.10",
"hono": "^4.4.11",
"xior": "^0.5.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240620.0",
"wrangler": "^3.62.0"
"wrangler": "^3.63.0"
}
}

0 comments on commit 1c8d303

Please sign in to comment.