refactor: swap out radix with reka (#1271)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Refactor**
- Improved type safety and consistency across UI components by
leveraging centralized type definitions.

- **Chores**
- Updated and consolidated UI component dependencies by migrating from a
previous library to a new one and refining package configurations.

- **Style**
- Standardized code formatting for uniform syntax and improved
readability.

- **Tests**
- Expanded testing configuration to include additional file types for
enhanced test coverage.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: mdatelle <mike@datelle.net>
This commit is contained in:
Michael Datelle
2025-03-26 14:56:43 -04:00
committed by GitHub
parent 49f636541b
commit b0099421f3
32 changed files with 163 additions and 548 deletions

View File

@@ -39,7 +39,7 @@ import {
const { mutate: archiveAll, loading: loadingArchiveAll } = useMutation(archiveAllNotifications);
const { mutate: deleteArchives, loading: loadingDeleteAll } = useMutation(deleteArchivedNotifications);
const { mutate: recalculateOverview } = useMutation(resetOverview);
const { teleportTarget, determineTeleportTarget } = useTeleport();
const { determineTeleportTarget } = useTeleport();
const importance = ref<Importance | undefined>(undefined);
const confirmAndArchiveAll = async () => {
@@ -127,7 +127,6 @@ const prepareToViewNotifications = () => {
<NotificationsIndicator :overview="overview" :seen="haveSeenNotifications" />
</SheetTrigger>
<SheetContent
:to="teleportTarget as HTMLElement"
side="right"
class="w-full max-w-[100vw] sm:max-w-[540px] max-h-screen h-screen min-h-screen px-0 flex flex-col gap-5 pb-0"
>

View File

@@ -67,6 +67,7 @@
"terser": "^5.37.0",
"typescript": "^5.7.3",
"vite-plugin-remove-console": "^2.2.0",
"vite-plugin-vue-tracer": "^0.1.3",
"vitest": "^3.0.0",
"vue-tsc": "^2.1.10",
"vuetify-nuxt-module": "0.18.4"
@@ -103,8 +104,6 @@
"marked": "^15.0.0",
"marked-base-url": "^1.1.6",
"pinia": "^3.0.1",
"radix-vue": "^1.9.13",
"reka-ui": "^2.0.2",
"semver": "^7.6.3",
"tailwind-merge": "^2.5.5",
"vue-i18n": "^11.0.0",
@@ -115,10 +114,7 @@
"@rollup/rollup-linux-x64-gnu": "^4.30.1"
},
"overrides": {
"vue": "latest",
"radix-vue": {
"@floating-ui/vue": "^1.1.5"
}
"vue": "latest"
},
"packageManager": "pnpm@10.6.5"
}