From 3627ac0ef8d7313253e5527a981ddfe9c230e1ab Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Tue, 9 Dec 2025 22:32:22 +0100 Subject: [PATCH] style: :art: Format code with Biome --- app/app.vue | 17 +- app/components/composer/composer.vue | 96 +- app/components/composer/dialog.vue | 2 +- app/components/composer/file-preview.vue | 29 +- app/components/composer/files.vue | 10 +- app/components/composer/visibility-picker.vue | 15 +- app/components/editor/bubble-menu.vue | 19 +- app/components/editor/content.vue | 8 +- app/components/editor/emojis-list.vue | 19 +- app/components/editor/mentions-list.vue | 23 +- app/components/errors/NoPosts.vue | 4 +- app/components/errors/NotFound.vue | 4 +- app/components/errors/ReachedEnd.vue | 4 +- app/components/errors/noscript.vue | 32 +- app/components/form/switch.vue | 13 +- app/components/form/text.vue | 12 +- app/components/graphics/spinner.vue | 2 +- app/components/graphics/square-pattern.vue | 33 +- app/components/instance/small-card.vue | 8 +- app/components/modals/confirm-inline.vue | 38 +- app/components/modals/confirm.vue | 29 +- app/components/modals/drawer-content.vue | 4 +- app/components/navigation/mobile-navbar.vue | 8 +- app/components/navigation/timelines.vue | 10 +- app/components/notes/action-button.vue | 4 +- app/components/notes/actions.vue | 52 +- app/components/notes/attachment.vue | 17 +- app/components/notes/attachments.vue | 10 +- .../{base.vue => attachment-base.vue} | 52 +- app/components/notes/attachments/audio.vue | 12 +- app/components/notes/attachments/file.vue | 12 +- app/components/notes/attachments/image.vue | 8 +- app/components/notes/attachments/video.vue | 14 +- app/components/notes/content-warning.vue | 14 +- app/components/notes/content.vue | 22 +- app/components/notes/header.vue | 61 +- app/components/notes/menu.vue | 48 +- app/components/notes/note.vue | 7 +- app/components/notes/overflow-guard.vue | 27 +- app/components/notes/prose.vue | 8 +- app/components/notes/reactions/index.vue | 8 +- .../reactions/picker/category-header.vue | 4 +- .../notes/reactions/picker/display.vue | 17 +- .../notes/reactions/picker/emoji.vue | 23 +- .../notes/reactions/picker/index.vue | 56 +- .../notes/reactions/picker/sidebar.vue | 21 +- app/components/notes/reactions/reaction.vue | 41 +- app/components/notes/reblog-header.vue | 12 +- .../notifications/follow-request.vue | 52 +- app/components/notifications/notification.vue | 4 +- app/components/preferences/category.vue | 46 +- app/components/preferences/developer.vue | 16 +- app/components/preferences/dialog.vue | 112 ++- .../preferences/emojis/batch-dropdown.vue | 6 +- .../preferences/emojis/dropdown.vue | 15 +- app/components/preferences/emojis/index.vue | 6 +- app/components/preferences/emojis/table.vue | 82 +- .../preferences/emojis/uploader.vue | 31 +- app/components/preferences/index.vue | 2 +- app/components/preferences/page.vue | 6 +- app/components/preferences/profile.vue | 98 +- app/components/preferences/profile/fields.vue | 62 +- .../preferences/profile/image-uploader.vue | 30 +- app/components/preferences/stats.vue | 16 +- app/components/preferences/types/boolean.vue | 8 +- app/components/preferences/types/code.vue | 32 +- .../preferences/types/multiselect.vue | 36 +- app/components/preferences/types/number.vue | 20 +- app/components/preferences/types/select.vue | 13 +- app/components/preferences/types/text.vue | 12 +- .../types/{base.vue => type-base.vue} | 20 +- app/components/preferences/types/url.vue | 32 +- app/components/profiles/avatar.vue | 6 +- app/components/profiles/profile-actions.vue | 48 +- app/components/profiles/profile-badge.vue | 4 +- app/components/profiles/profile-badges.vue | 4 +- app/components/profiles/profile-fields.vue | 20 +- app/components/profiles/profile-header.vue | 8 +- .../profiles/profile-relationship-actions.vue | 10 +- app/components/profiles/profile-stats.vue | 14 +- app/components/profiles/profile.vue | 44 +- app/components/profiles/small-card.vue | 6 +- app/components/profiles/tiny-card.vue | 8 +- .../sidebars/account/account-manager.vue | 37 +- .../sidebars/footer/footer-actions.vue | 48 +- .../sidebars/instance/instance-header.vue | 5 +- app/components/sidebars/left-sidebar.vue | 12 +- .../sidebars/navigation/nav-group.vue | 2 +- .../sidebars/navigation/nav-items.vue | 2 +- app/components/sidebars/right-sidebar.vue | 2 +- app/components/sidebars/sidebar.vue | 11 +- app/components/timelines/account.vue | 14 +- app/components/timelines/global.vue | 14 +- app/components/timelines/home.vue | 14 +- app/components/timelines/local.vue | 14 +- app/components/timelines/notifications.vue | 14 +- app/components/timelines/public.vue | 14 +- app/components/timelines/timeline-item.vue | 9 +- .../timelines/timeline-scroller.vue | 4 +- app/components/timelines/timeline.vue | 24 +- app/components/typography/bold.vue | 2 +- app/components/typography/headings/large.vue | 2 +- app/components/typography/headings/medium.vue | 2 +- app/components/typography/headings/small.vue | 2 +- app/components/typography/html.vue | 2 +- app/components/typography/layout/col.vue | 2 +- app/components/typography/layout/row.vue | 2 +- app/components/typography/small.vue | 2 +- app/components/typography/text.vue | 2 +- .../ui/alert-dialog/AlertDialog.vue | 6 +- .../ui/alert-dialog/AlertDialogAction.vue | 9 +- .../ui/alert-dialog/AlertDialogCancel.vue | 12 +- .../ui/alert-dialog/AlertDialogContent.vue | 26 +- .../alert-dialog/AlertDialogDescription.vue | 14 +- .../ui/alert-dialog/AlertDialogFooter.vue | 12 +- .../ui/alert-dialog/AlertDialogHeader.vue | 12 +- .../ui/alert-dialog/AlertDialogTitle.vue | 14 +- .../ui/alert-dialog/AlertDialogTrigger.vue | 6 +- app/components/ui/alert/Alert.vue | 14 +- app/components/ui/alert/AlertDescription.vue | 12 +- app/components/ui/alert/AlertTitle.vue | 12 +- app/components/ui/avatar/Avatar.vue | 12 +- app/components/ui/avatar/AvatarFallback.vue | 14 +- app/components/ui/avatar/AvatarImage.vue | 14 +- app/components/ui/badge/Badge.vue | 14 +- app/components/ui/button/Button.vue | 16 +- app/components/ui/card/Card.vue | 9 +- app/components/ui/card/CardAction.vue | 12 +- app/components/ui/card/CardContent.vue | 9 +- app/components/ui/card/CardDescription.vue | 12 +- app/components/ui/card/CardFooter.vue | 12 +- app/components/ui/card/CardHeader.vue | 12 +- app/components/ui/card/CardTitle.vue | 12 +- app/components/ui/checkbox/Checkbox.vue | 30 +- app/components/ui/collapsible/Collapsible.vue | 14 +- .../ui/collapsible/CollapsibleContent.vue | 9 +- .../ui/collapsible/CollapsibleTrigger.vue | 9 +- app/components/ui/command/Command.vue | 14 +- app/components/ui/command/CommandDialog.vue | 22 +- app/components/ui/command/CommandEmpty.vue | 15 +- app/components/ui/command/CommandGroup.vue | 27 +- app/components/ui/command/CommandInput.vue | 26 +- app/components/ui/command/CommandItem.vue | 22 +- app/components/ui/command/CommandList.vue | 18 +- .../ui/command/CommandSeparator.vue | 14 +- app/components/ui/command/CommandShortcut.vue | 12 +- app/components/ui/dialog/Dialog.vue | 9 +- app/components/ui/dialog/DialogClose.vue | 9 +- app/components/ui/dialog/DialogContent.vue | 34 +- .../ui/dialog/DialogDescription.vue | 14 +- app/components/ui/dialog/DialogFooter.vue | 12 +- app/components/ui/dialog/DialogHeader.vue | 12 +- app/components/ui/dialog/DialogOverlay.vue | 14 +- .../ui/dialog/DialogScrollContent.vue | 38 +- app/components/ui/dialog/DialogTitle.vue | 14 +- app/components/ui/dialog/DialogTrigger.vue | 9 +- app/components/ui/drawer/Drawer.vue | 9 +- app/components/ui/drawer/DrawerClose.vue | 9 +- app/components/ui/drawer/DrawerContent.vue | 24 +- .../ui/drawer/DrawerDescription.vue | 14 +- app/components/ui/drawer/DrawerFooter.vue | 12 +- app/components/ui/drawer/DrawerHeader.vue | 12 +- app/components/ui/drawer/DrawerOverlay.vue | 10 +- app/components/ui/drawer/DrawerTitle.vue | 14 +- app/components/ui/drawer/DrawerTrigger.vue | 9 +- .../ui/dropdown-menu/DropdownMenu.vue | 9 +- .../DropdownMenuCheckboxItem.vue | 26 +- .../ui/dropdown-menu/DropdownMenuContent.vue | 18 +- .../ui/dropdown-menu/DropdownMenuGroup.vue | 9 +- .../ui/dropdown-menu/DropdownMenuItem.vue | 18 +- .../ui/dropdown-menu/DropdownMenuLabel.vue | 16 +- .../dropdown-menu/DropdownMenuRadioGroup.vue | 12 +- .../dropdown-menu/DropdownMenuRadioItem.vue | 26 +- .../dropdown-menu/DropdownMenuSeparator.vue | 10 +- .../ui/dropdown-menu/DropdownMenuShortcut.vue | 12 +- .../ui/dropdown-menu/DropdownMenuSub.vue | 6 +- .../dropdown-menu/DropdownMenuSubContent.vue | 14 +- .../dropdown-menu/DropdownMenuSubTrigger.vue | 16 +- .../ui/dropdown-menu/DropdownMenuTrigger.vue | 12 +- app/components/ui/form/FormControl.vue | 16 +- app/components/ui/form/FormDescription.vue | 14 +- app/components/ui/form/FormItem.vue | 9 +- app/components/ui/form/FormLabel.vue | 16 +- app/components/ui/form/FormMessage.vue | 14 +- app/components/ui/hover-card/HoverCard.vue | 9 +- .../ui/hover-card/HoverCardContent.vue | 18 +- .../ui/hover-card/HoverCardTrigger.vue | 9 +- app/components/ui/input-group/InputGroup.vue | 14 +- .../ui/input-group/InputGroupAddon.vue | 18 +- .../ui/input-group/InputGroupButton.vue | 14 +- .../ui/input-group/InputGroupInput.vue | 8 +- .../ui/input-group/InputGroupText.vue | 10 +- .../ui/input-group/InputGroupTextarea.vue | 8 +- app/components/ui/input/Input.vue | 10 +- app/components/ui/input/url.vue | 7 +- app/components/ui/label/Label.vue | 14 +- .../ui/number-field/NumberField.vue | 9 +- .../ui/number-field/NumberFieldContent.vue | 8 +- .../ui/number-field/NumberFieldDecrement.vue | 14 +- .../ui/number-field/NumberFieldIncrement.vue | 14 +- .../ui/number-field/NumberFieldInput.vue | 8 +- app/components/ui/popover/Popover.vue | 9 +- app/components/ui/popover/PopoverAnchor.vue | 9 +- app/components/ui/popover/PopoverContent.vue | 18 +- app/components/ui/popover/PopoverTrigger.vue | 9 +- app/components/ui/select/Select.vue | 9 +- app/components/ui/select/SelectContent.vue | 28 +- app/components/ui/select/SelectGroup.vue | 9 +- app/components/ui/select/SelectItem.vue | 30 +- app/components/ui/select/SelectItemText.vue | 9 +- app/components/ui/select/SelectLabel.vue | 12 +- .../ui/select/SelectScrollDownButton.vue | 18 +- .../ui/select/SelectScrollUpButton.vue | 18 +- app/components/ui/select/SelectSeparator.vue | 10 +- app/components/ui/select/SelectTrigger.vue | 22 +- app/components/ui/select/SelectValue.vue | 9 +- app/components/ui/separator/Separator.vue | 10 +- app/components/ui/sheet/Sheet.vue | 9 +- app/components/ui/sheet/SheetClose.vue | 9 +- app/components/ui/sheet/SheetContent.vue | 32 +- app/components/ui/sheet/SheetDescription.vue | 14 +- app/components/ui/sheet/SheetFooter.vue | 12 +- app/components/ui/sheet/SheetHeader.vue | 12 +- app/components/ui/sheet/SheetOverlay.vue | 14 +- app/components/ui/sheet/SheetTitle.vue | 14 +- app/components/ui/sheet/SheetTrigger.vue | 9 +- app/components/ui/sidebar/Sidebar.vue | 105 +- app/components/ui/sidebar/SidebarContent.vue | 14 +- app/components/ui/sidebar/SidebarFooter.vue | 14 +- app/components/ui/sidebar/SidebarGroup.vue | 14 +- .../ui/sidebar/SidebarGroupAction.vue | 18 +- .../ui/sidebar/SidebarGroupContent.vue | 14 +- .../ui/sidebar/SidebarGroupLabel.vue | 18 +- app/components/ui/sidebar/SidebarHeader.vue | 14 +- app/components/ui/sidebar/SidebarInput.vue | 16 +- app/components/ui/sidebar/SidebarInset.vue | 12 +- app/components/ui/sidebar/SidebarMenu.vue | 14 +- .../ui/sidebar/SidebarMenuAction.vue | 18 +- .../ui/sidebar/SidebarMenuBadge.vue | 14 +- .../ui/sidebar/SidebarMenuButton.vue | 43 +- .../ui/sidebar/SidebarMenuButtonChild.vue | 24 +- app/components/ui/sidebar/SidebarMenuItem.vue | 14 +- .../ui/sidebar/SidebarMenuSkeleton.vue | 32 +- app/components/ui/sidebar/SidebarMenuSub.vue | 14 +- .../ui/sidebar/SidebarMenuSubButton.vue | 22 +- .../ui/sidebar/SidebarMenuSubItem.vue | 14 +- app/components/ui/sidebar/SidebarProvider.vue | 20 +- app/components/ui/sidebar/SidebarRail.vue | 22 +- .../ui/sidebar/SidebarSeparator.vue | 14 +- app/components/ui/sidebar/SidebarTrigger.vue | 22 +- app/components/ui/skeleton/Skeleton.vue | 8 +- app/components/ui/sonner/Sonner.vue | 10 +- app/components/ui/spinner/Spinner.vue | 10 +- app/components/ui/switch/Switch.vue | 22 +- app/components/ui/table/Table.vue | 13 +- app/components/ui/table/TableBody.vue | 12 +- app/components/ui/table/TableCaption.vue | 12 +- app/components/ui/table/TableCell.vue | 12 +- app/components/ui/table/TableEmpty.vue | 20 +- app/components/ui/table/TableFooter.vue | 12 +- app/components/ui/table/TableHead.vue | 12 +- app/components/ui/table/TableHeader.vue | 9 +- app/components/ui/table/TableRow.vue | 12 +- app/components/ui/tabs/Tabs.vue | 14 +- app/components/ui/tabs/TabsContent.vue | 14 +- app/components/ui/tabs/TabsList.vue | 14 +- app/components/ui/tabs/TabsTrigger.vue | 14 +- app/components/ui/textarea/Textarea.vue | 10 +- .../ui/toggle-group/ToggleGroup.vue | 20 +- .../ui/toggle-group/ToggleGroupItem.vue | 20 +- app/components/ui/toggle/Toggle.vue | 14 +- app/components/ui/tooltip/Tooltip.vue | 9 +- app/components/ui/tooltip/TooltipContent.vue | 22 +- app/components/ui/tooltip/TooltipProvider.vue | 6 +- app/components/ui/tooltip/TooltipTrigger.vue | 9 +- app/layouts/app.vue | 8 +- app/layouts/auth.vue | 10 +- app/layouts/default.vue | 4 +- app/pages/[username]/[uuid].vue | 10 +- app/pages/[username]/index.vue | 12 +- app/pages/callback.vue | 4 +- app/pages/global.vue | 2 +- app/pages/home.vue | 2 +- app/pages/index.vue | 4 +- app/pages/loader.vue | 4 +- app/pages/local.vue | 2 +- app/pages/notifications.vue | 2 +- app/pages/oauth/authorize.vue | 114 ++- app/pages/oauth/code.vue | 9 +- app/pages/oauth/consent.vue | 76 +- app/pages/public.vue | 2 +- app/pages/register/index.vue | 133 ++- app/pages/register/success.vue | 7 +- app/spa-loading-template.html | 65 +- biome.json | 11 +- bun.lock | 926 +++++------------- 296 files changed, 3257 insertions(+), 2808 deletions(-) rename app/components/notes/attachments/{base.vue => attachment-base.vue} (56%) rename app/components/preferences/types/{base.vue => type-base.vue} (58%) diff --git a/app/app.vue b/app/app.vue index afaee3d..606d868 100644 --- a/app/app.vue +++ b/app/app.vue @@ -1,15 +1,13 @@ @@ -91,7 +89,10 @@ body { html.theme-changing * { /* Stroke and fill aren't animatable */ - transition: background-color 1s ease, border 1s ease, color 1s ease, + transition: + background-color 1s ease, + border 1s ease, + color 1s ease, box-shadow 1s ease !important; } diff --git a/app/components/composer/composer.vue b/app/components/composer/composer.vue index 293b437..c375cf0 100644 --- a/app/components/composer/composer.vue +++ b/app/components/composer/composer.vue @@ -1,69 +1,105 @@ \ No newline at end of file + diff --git a/app/components/form/switch.vue b/app/components/form/switch.vue index cc84b2b..45adc41 100644 --- a/app/components/form/switch.vue +++ b/app/components/form/switch.vue @@ -1,18 +1,23 @@ diff --git a/app/components/form/text.vue b/app/components/form/text.vue index eff9e81..283a984 100644 --- a/app/components/form/text.vue +++ b/app/components/form/text.vue @@ -1,15 +1,11 @@ diff --git a/app/components/graphics/spinner.vue b/app/components/graphics/spinner.vue index c7bfa27..ea6752f 100644 --- a/app/components/graphics/spinner.vue +++ b/app/components/graphics/spinner.vue @@ -1,6 +1,6 @@ diff --git a/app/components/graphics/square-pattern.vue b/app/components/graphics/square-pattern.vue index 451a78a..d2f9991 100644 --- a/app/components/graphics/square-pattern.vue +++ b/app/components/graphics/square-pattern.vue @@ -1,19 +1,34 @@ diff --git a/app/components/instance/small-card.vue b/app/components/instance/small-card.vue index 305dc75..4babaf7 100644 --- a/app/components/instance/small-card.vue +++ b/app/components/instance/small-card.vue @@ -1,8 +1,11 @@