Conversation
- Introduced `toMatchError` matcher for enhanced error assertions. - Updated `vitest-setup.ts` to include the new matcher. - Modified `tsdown.config.ts` and `base.json` to reference new matcher files. - Adjusted `vitest.config.ts` to include the new matcher setup file.
delete obsolete .cta.json file as it is no longer needed for the web application configuration.
Updated the header constant to better reflect its purpose and ensure consistency across the codebase. Adjusted all relevant imports and usages in the API routes and tests.
Introduce `FetchSchemaValidationError` to handle schema validation errors specifically. Update `createCustomFetch` to throw this error when response validation fails, preserving context and issues for better debugging. Update type definitions to accommodate the new error type.
- Introduced `FetchSchemaValidationError` for better error categorization. - Added tests for various error response scenarios to ensure robust validation. - Updated existing tests to reflect changes in error handling logic.
- Changed the default `BASE_URL` for the HTTP fs-bridge to point to `ucd-store.ucdjs.dev`. - Modified path handling in test cases to ensure correct directory structure during listing operations.
- Introduced `ucd.open-in-remote-explorer`, `ucd.open-on-unicode`, and `ucd.open-explorer-entry` commands. - Updated command titles and descriptions in `README.md`. - Enhanced `package.json` with new command configurations. - Added `frontend-url` configuration option for better URL handling. - Refactored `useUCDExplorer` to include `filePath` in UCD item structure.
- Added `useUCDClient` composable to manage UCD client lifecycle. - Updated `UCDContentProvider` to utilize the UCD client for fetching content. - Registered `useUCDClient` in the extension activation process.
- Replaced `ucd.visualize-file` with `ucd.inspect-file` in the command structure. - Implemented the `useInspectFileCommand` to allow inspection of UCD files. - Created `useInspectorView` for displaying inspection results. - Added HTML generation for displaying UCD statistics. - Introduced new pickers for selecting Unicode versions and files. - Removed the unused `visualize-file` command.
Added functions to generate Markdown hover messages for code points, ranges, properties, names, values, and comments in the UCD decorations. This improves the user experience by providing more context and information directly in the editor.
- Implemented `ucd.generate-override` command to facilitate the creation of parser overrides. - Updated command registration and README documentation. - Introduced `useOverrideGenerator` composable for managing selection and generating overrides. - Added HTML generation for user interface during heading selection. - Created schema types for parser overrides to ensure type safety and validation.
- Removed `applyMockDecorations` and replaced it with `useAutoDecorations` for automatic decoration application based on file type. - Introduced new hover information for Unicode properties, code points, ranges, and metadata. - Enhanced the inspector view with improved HTML structure and styling for better readability. - Added support for selection mode in the override generator, allowing users to set start and end lines interactively. - Created a new syntax highlighting file for UCD to improve code readability. This update enhances the user experience by providing contextual information and visual cues directly in the editor.
- Introduced `ucd-selection` view for enhanced selection capabilities. - Updated command execution to focus on the new selection view. - Removed unused selection HTML generation code and refactored related components.
- Added `routeTree.gen.ts` for automatic route generation. - Created `router.tsx` to initialize the router with context and scroll restoration. - Developed dynamic route handling in `routes/$` for Fumadocs integration. - Established root route in `routes/__root.tsx` with meta tags and devtools. - Implemented API search functionality in `routes/api/search.ts`. - Set up index route redirection in `routes/index.tsx`. - Configured TypeScript settings in `tsconfig.json`. - Integrated Vite configuration in `vite.config.ts` for enhanced development experience. - Added `wrangler.jsonc` for Cloudflare Workers configuration. - Updated package dependencies in `package.json` and `pnpm-lock.yaml`.
- Added new entries to `.gitignore` for `.output` and `.tanstack`. - Removed unused `.cta.json` and `.gitignore` files from `apps/docs`. - Introduced a new `eslint.config.js` file for linting configuration. - Updated `package.json` to include `@luxass/eslint-config` and `eslint` dependencies. - Modified documentation links in `not-found.tsx` to point to the new documentation site.
This will be changed a bit, this code is pretty much written by AI.
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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 |
🌏 Preview DeploymentsNote No deployable apps affected by changes in this PR. Built from commit: 🤖 This comment will be updated automatically when you push new commits to this PR. |
| import type { SectionId, SectionState } from "../lib/override-schema"; | ||
| import { computed, createSingletonComposable, useWebviewView, watchEffect } from "reactive-vscode"; | ||
| import { env, window } from "vscode"; | ||
| import { getSectionDefinition, SECTION_DEFINITIONS } from "../lib/override-schema"; |
| import { | ||
| createInitialSectionStates, | ||
| createParserOverride, | ||
| getSectionDefinition, | ||
| isSectionSelectionValid, | ||
| SECTION_DEFINITIONS, | ||
| serializeOverride, | ||
| } from "../lib/override-schema"; |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
🔗 Linked issue
📚 Description