Skip to content
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
2 changes: 1 addition & 1 deletion apps/mail/components/create/create-email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export function CreateEmail({
<div className="flex min-h-screen flex-col items-center justify-center gap-1">
<div className="flex w-[750px] justify-start">
<DialogClose asChild className="flex">
<button className="dark:bg-panelDark flex items-center gap-1 rounded-lg bg-[#F0F0F0] px-2 py-1.5">
<button className="dark:bg-panelDark flex items-center gap-1 rounded-lg bg-[#F0F0F0] px-2 py-1.5 cursor-pointer">
<X className="fill-muted-foreground mt-0.5 h-3.5 w-3.5 dark:fill-[#929292]" />
<span className="text-muted-foreground text-sm font-medium dark:text-white">
esc
Expand Down
2 changes: 1 addition & 1 deletion apps/mail/components/mail/mail-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ export const MailList = memo(
<p className="text-lg">It's empty here</p>
<p className="text-md text-muted-foreground dark:text-white/50">
Search for another email or{' '}
<button className="underline" onClick={clearFilters}>
<button type="button" className="underline cursor-pointer" onClick={clearFilters}>
clear filters
</button>
</p>
Expand Down
2 changes: 1 addition & 1 deletion apps/mail/components/mail/render-labels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const RenderLabels = ({ count = 1, labels }: { count?: number; labels: La
{hiddenLabels.length > 0 && (
<Tooltip>
<TooltipTrigger asChild>
<button className="text-foreground dark:bg-subtleBlack bg-subtleWhite inline-block overflow-hidden truncate rounded px-1.5 py-0.5 text-xs font-medium">
+ <button type="button" className="text-foreground dark:bg-subtleBlack bg-subtleWhite inline-block overflow-hidden truncate rounded px-1.5 py-0.5 text-xs font-medium cursor-pointer">
+{hiddenLabels.length}
</button>
</TooltipTrigger>
Expand Down
2 changes: 1 addition & 1 deletion apps/mail/components/mail/thread-display.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ export function ThreadDisplay() {

<DropdownMenu>
<DropdownMenuTrigger asChild>
<button className="inline-flex h-7 w-7 items-center justify-center gap-1 overflow-hidden rounded-lg bg-white focus:outline-none focus:ring-0 dark:bg-[#313131]">
<button type="button" aria-label="Thread actions" aria-haspopup="menu" className="inline-flex h-7 w-7 items-center justify-center gap-1 overflow-hidden rounded-lg bg-white cursor-pointer focus:outline-hidden focus:ring-0 dark:bg-[#313131]">
<ThreeDots className="fill-iconLight dark:fill-iconDark" />
</button>
</DropdownMenuTrigger>
Expand Down
2 changes: 1 addition & 1 deletion apps/mail/components/ui/app-sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function ComposeButton() {
<DialogDescription></DialogDescription>

<DialogTrigger asChild>
<button className="relative mb-1.5 inline-flex h-8 w-full items-center justify-center gap-1 self-stretch overflow-hidden rounded-lg border border-gray-200 bg-[#006FFE] text-black dark:border-none dark:text-white">
<button type="button" className="relative mb-1.5 inline-flex h-8 w-full items-center justify-center gap-1 self-stretch overflow-hidden rounded-lg border border-gray-200 bg-[#006FFE] text-black dark:border-none dark:text-white cursor-pointer">
{state === 'collapsed' && !isMobile ? (
<PencilCompose className="mt-0.5 fill-white text-black" />
) : (
Expand Down
2 changes: 1 addition & 1 deletion apps/mail/components/ui/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as React from 'react';
import { cn } from '@/lib/utils';

const buttonVariants = cva(
'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-lg text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 aria-busy:cursor-progress cursor-pointer',
'inline-flex items-center justify-center cursor-pointer gap-2 whitespace-nowrap rounded-lg text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 aria-busy:cursor-progress',
{
variants: {
variant: {
Expand Down
2 changes: 1 addition & 1 deletion apps/mail/components/ui/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ const SidebarMenuItem = React.forwardRef<HTMLLIElement, React.ComponentProps<'li
SidebarMenuItem.displayName = 'SidebarMenuItem';

const sidebarMenuButtonVariants = cva(
'peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-lg p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0',
'peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-lg p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 cursor-pointer',
{
variants: {
variant: {
Expand Down
4 changes: 2 additions & 2 deletions apps/mail/components/voice-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function VoiceButton() {
if (!isConnected) {
return (
<motion.div initial={{ scale: 0 }} animate={{ scale: 1 }} exit={{ scale: 0 }}>
<button type="button" onClick={handleStartConversation}>
<button type="button" onClick={handleStartConversation} className="cursor-pointer">
<div className="dark:bg[#141414] flex h-7 items-center justify-center rounded-sm bg-[#262626] px-2">
<Mic className="h-4 w-4 text-white dark:text-[#929292]" />
</div>
Expand All @@ -40,7 +40,7 @@ export function VoiceButton() {

return (
isConnected && (
<button type="button" onClick={endConversation}>
<button type="button" onClick={endConversation} className="cursor-pointer">
<div className="dark:bg[#141414] flex h-7 items-center justify-center rounded-sm bg-[#262626] px-2">
{isInitializing && (
<div className="flex items-center justify-center gap-2">
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
"typescript": "catalog:"
},
"dependencies": {
"zod-to-json-schema": "3.24.6",
"zod": "4.1.1"
"drizzle-kit": "catalog:",
"react-router": "^7.6.3",
"zod": "4.1.1",
"zod-to-json-schema": "3.24.6"
}
}
8 changes: 7 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ packages:
- scripts/*

catalog:
zod: ^3.25.42
better-auth: ^1.3.4
autumn-js: ^0.0.48
superjson: ^2.2.2
'@trpc/server': ^11.1.4
'@trpc/client': ^11.1.4
'@trpc/server': ^11.1.4
'@trpc/tanstack-react-query': ^11.1.4
wrangler: ^4.32.0
typescript: ^5.8.3
drizzle-orm: ^0.43.1
drizzle-kit: ^0.31.1
'@types/node': ^22.15.21
autumn-js: ^0.0.48
better-auth: ^1.3.4
drizzle-kit: 0.31.4
drizzle-orm: ^0.43.1
react: ^19.1.0
react-dom: ^19.1.0
superjson: ^2.2.2
typescript: ^5.8.3
wrangler: ^4.32.0
zod: ^3.25.42

onlyBuiltDependencies:
- '@sentry/cli'
Expand Down