Conversation
🌏 Preview Deployments
Built from commit: 🤖 This comment will be updated automatically when you push new commits to this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
eef9438 to
4eb726c
Compare
…loading - Updated `getBadgeLabel` to include draft status in badge labels. - Modified version selection logic to prioritize stable versions. - Added `VersionSwitcherSkeleton` component for loading state representation.
- Added a new `GlobalSearchPage` component that utilizes the `searchCharactersQueryOptions` for fetching character data. - Introduced a search input with debounced navigation to update the search query. - Enhanced the UI with a responsive layout, breadcrumbs, and search results display. - Implemented a skeleton loader for search results and improved user experience with clear search functionality. - Updated various routes to ensure consistency in layout and navigation. This change significantly enhances the search functionality, allowing users to search for Unicode characters effectively.
- Replaced `fetchUnicodeFile` with `getUnicodeAsset` for improved clarity and consistency. - Introduced `getRawUnicodeAsset` for direct fetching of Unicode assets. - Updated type definitions for better type safety and clarity in handling file options. - Enhanced error handling and logging for better debugging and monitoring.
4eb726c to
37efd26
Compare
- Added a new `VersionsToolbar` component for filtering versions by query, type, and age. - Refactored `VersionsCardList` to utilize the new toolbar and manage filters in state. - Introduced lazy loading for version-related routes, improving performance. - Created new lazy-loaded components for `BidiLinebreak`, `FontGlyphView`, `GraphemeVisualizer`, and `NormalizationPreview`. - Updated the home page to include a suspense fallback for loading states.
Deleted the `index.tsx` and `u/$hex.tsx` files from the version routes, simplifying the codebase. This change reduces complexity and improves maintainability by removing unused components and their associated logic. Also updated the sidebar width in `sidebar.tsx` for better UI consistency and made adjustments in the `use-sync-external-store-shim.ts` for improved performance and clarity.
- Added detailed statistics display for Unicode versions, including total characters, blocks, and scripts. - Integrated a file explorer route to navigate through Unicode files. - Implemented a new layout for file viewing with support for large and non-renderable files. - Improved user interface with badges for version status and new items.
- Refactored `FileViewer` to accept `html` content for rendering. - Integrated `StaticCodeBlock` for displaying highlighted code. - Removed `ParentDirectory` component and replaced its functionality with a direct link in the file explorer. - Added new API route for fetching highlighted content using `shiki`. - Removed unused `viewMode` from search schema and related components. - Introduced `useClipboard` hook for clipboard operations. This update enhances the file viewing experience by providing syntax highlighting for code files and streamlining the directory navigation.
| } from "@ucdjs-internal/shared-ui/ui/breadcrumb"; | ||
| import { Button } from "@ucdjs-internal/shared-ui/ui/button"; | ||
| import { ChevronRight, Copy, CopyCheck, CopyX, FolderOpen } from "lucide-react"; | ||
| import { Fragment, useState } from "react"; |
| import { EntryList } from "#components/file-explorer/entry-list"; | ||
| import { ExplorerNotFound } from "#components/not-found"; | ||
| import { filesQueryOptions, getFileHeadInfo } from "#functions/files"; | ||
| import { createFileRoute, Link, redirect, retainSearchParams, useSearch } from "@tanstack/react-router"; |
🔗 Linked issue
📚 Description