Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR refactors the renderer library build’s CSS layer post-processing and improves the drag-and-drop overlay UX, alongside a dependency/version bump.
Changes:
- Replace regex-based
@layerstripping/unwrapping in the library build with a PostCSS AST-based implementation. - Add a fade transition for the drag-and-drop overlay and add a subtle highlight background to the overlay component.
- Bump package versions and add
postcssas a dev dependency (plus lockfile updates).
Reviewed changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/renderer/vite.lib.config.ts |
Switch CSS @layer post-processing to PostCSS AST traversal in the library build. |
src/renderer/src/components/OpenCOR.vue |
Wrap drag-and-drop overlay in a Vue <Transition> and switch to conditional mount (v-if). |
src/renderer/src/components/DragNDropComponent.vue |
Add a highlight background via a new scoped CSS class. |
src/renderer/package.json |
Bump version and add postcss devDependency for renderer package tooling. |
src/renderer/bun.lock |
Lockfile updates reflecting new dependency and transitive changes. |
package.json |
Bump version and add postcss devDependency at repo root. |
bun.lock |
Lockfile updates reflecting new dependency and transitive changes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.