Skip to content

Conversation

@JerryWu1234
Copy link
Collaborator

What is it?

  • Feature / enhancement
  • Bug
  • Docs / tests / types / typos
  • Infra

Description

fix(plugin): preserve Qwik lazy render metadata when wrapping components

  • Keep wrapper callable without breaking component execution
  • Copy function own properties (including symbols) from the original export
  • Avoid touching special function props (name/length/prototype/etc.)

Checklist

  • My code follows the developer guidelines of this project
  • I performed a self-review of my own code
  • I added a changeset with pnpm change
  • I added new tests to cover the fix / functionality

JerryWu1234 and others added 30 commits May 22, 2025 15:48
…uration

Simplify the global CSS and Tailwind configuration by removing unused variables and consolidating theme-related settings. This improves maintainability and reduces redundancy in the codebase.
The host, port, and allowedHosts configurations were removed from the dev server settings to simplify the configuration and rely on Vite's default behavior. This change reduces unnecessary customization and aligns with standard Vite practices.
- Add theme script for initial theme detection and application
- Update global.css with theme variables and dark mode selector
- Refactor ThemeToggle component to use localStorage for theme persistence
- Modify vite config to handle build-specific alias configuration
- Add type definitions path to package.json
```

The commit message follows the guidelines by:
1. Using "feat" type since it introduces new theme functionality
2. Including "(theme)" scope as it's clearly theme-related
3. Keeping description under 50 chars and starting with lowercase
4. Adding a body that summarizes the key changes without repeating the subject
5. Using imperative mood throughout
6. Focusing on the significant functional changes rather than every detail
- Normalize quotes from single to double quotes
- Fix missing semicolons and newlines
- Reorder tailwind classes consistently
- Remove unused useDark hook
- Update theme script to be more reliable
- Apply prettier formatting across the codebase
- Remove ThemeScript component and inline theme script logic in devtools
- Remove unused useDark hook from ThemeToggle
- Simplify theme toggle logic by removing dark state check
…ity condition

- Remove unused ThemeScript import to clean up dependencies
- Fix devtools panel visibility to only show when state.isOpen.value is true
Update all double quotes to single quotes across the codebase for consistency. Added 'singleQuote: true' to prettier configuration to enforce this style. This change improves code style consistency and aligns with the project's linting rules.
- Rename theme storage key for compatibility with vite-plugin-inspect
- Extract theme script logic into separate component
- Remove unused imports and simplify ThemeToggle component
- Replace inline script with ThemeScript component in devtools
- Add 'auto' theme option that follows system preference
- Replace button with select dropdown for theme selection
- Improve theme script to handle auto theme case
- Fix extra space in search input styling
…pgrade rollup to 4.41.1, and update peer dependencies
JerryWu1234 and others added 11 commits October 9, 2025 14:31
…ik DevTools

- Updated context management in `context.ts` for better type safety.
- Introduced new performance tracking interfaces and types in `globals.ts`.
- Added performance monitoring capabilities in the UI, including a new `Performance` component.
- Implemented data handling for performance metrics in `computePerfViewModel.ts` and `transformPerformanceData.ts`.
- Enhanced the `RenderTree` component to support performance data visualization.
- Updated the `package.json` for development server configuration.
- Removed deprecated `HookDataStore` and related utilities to streamline codebase.
- Introduced `getDependenciesStatus` and `refreshDependencies` methods to track and manage the state of dependencies.
- Enhanced `ServerFunctions` interface with new methods for dependency management.
- Updated the `QwikDevtools` component to improve data loading and error handling for assets, components, routes, and Qwik packages.
- Refactored dependency preloading logic to support better concurrency and error handling.
- Adjusted the `QwikRouterProvider` to disable view transitions for improved stability.
@changeset-bot
Copy link

changeset-bot bot commented Dec 19, 2025

🦋 Changeset detected

Latest commit: 3d99707

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@qwik.dev/devtools Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@JerryWu1234 JerryWu1234 changed the title New feature fix(plugin): preserve Qwik lazy render metadata when wrapping components Dec 19, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 19, 2025

Open in StackBlitz

npm i https://pkg.pr.new/QwikDev/devtools/@qwik.dev/devtools@81

commit: 3d99707

Copy link
Member

@gioboa gioboa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's great 👏 @JerryWu1234

@gioboa gioboa merged commit 9265c38 into QwikDev:main Dec 19, 2025
2 checks passed
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.

4 participants