Skip to content

feat: frontend improvements#520

Draft
luxass wants to merge 24 commits intomainfrom
frontend-improvements
Draft

feat: frontend improvements#520
luxass wants to merge 24 commits intomainfrom
frontend-improvements

Conversation

@luxass
Copy link
Member

@luxass luxass commented Feb 19, 2026

🔗 Linked issue

📚 Description

@github-actions
Copy link
Contributor

github-actions bot commented Feb 19, 2026

🌏 Preview Deployments

Application Status Preview URL
API ⏳ In Progress N/A
Store ⏳ In Progress N/A
Website ⏳ In Progress N/A
Documentation ⏳ In Progress N/A

Built from commit: 913fb7eee0b345ba045f364411488617bb00de48


🤖 This comment will be updated automatically when you push new commits to this PR.

@codecov
Copy link

codecov bot commented Feb 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 20, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch frontend-improvements

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@luxass luxass force-pushed the frontend-improvements branch from eef9438 to 4eb726c Compare February 20, 2026 08:01
…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.
@luxass luxass force-pushed the frontend-improvements branch from 4eb726c to 37efd26 Compare February 20, 2026 08:04
- 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";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant