Skip to content

Remove some unused imports #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2025
Merged

Conversation

jamesscottbrown
Copy link
Contributor

No description provided.

Copy link

netlify bot commented May 22, 2025

Deploy Preview for svelteplot ready!

Name Link
🔨 Latest commit edba919
🔍 Latest deploy log https://app.netlify.com/projects/svelteplot/deploys/682f3bb02402c800089e582c
😎 Deploy Preview https://deploy-preview-52--svelteplot.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@gka gka requested a review from Copilot May 22, 2025 22:37
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes unused imports across various Svelte components and helper modules to clean up the codebase.

  • Removed redundant imports from Svelte, D3, and internal helper/type modules.
  • Simplified helper files by dropping unused functions from imports.
  • Updated test files to align with removed type imports.

Reviewed Changes

Copilot reviewed 35 out of 35 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/lib/marks/helpers/BaseAxisY.svelte Dropped unused tick import from Svelte
src/lib/marks/Rect.svelte Removed unused resolve and event helpers
src/lib/marks/GridY.svelte Removed unused DataRecord type import
src/lib/marks/Geo.svelte Dropped unused FacetContext and UsedScales types
src/lib/marks/Dot.svelte Removed unused testFilter import
src/lib/marks/DifferenceY.svelte Dropped unused ConstantAccessor import
src/lib/marks/ColorLegend.svelte Removed duplicate symbol import
src/lib/marks/CellX.svelte Dropped unused recordizeX import
src/lib/marks/AxisY.svelte Removed unused DataRecord and getBaseStyles imports
src/lib/marks/Arrow.svelte Dropped unused FacetContext import
src/lib/helpers/scales.ts Removed unused d3Range import
src/lib/helpers/resolve.ts Dropped unused pick import
src/lib/helpers/reduce.ts Removed unused quantile and type imports
src/lib/helpers/reduce.test.ts Removed unused RawValue type import
src/lib/helpers/projection.ts Dropped unused isValid import
src/lib/helpers/index.ts Removed unused BaseMarkProps type import
src/lib/helpers/index.test.ts Removed unused pick import
src/lib/helpers/facets.ts Removed unused PlotScale type import
src/lib/core/FacetGrid.svelte Dropped unused setContext import
src/lib/core/Facet.svelte Removed unused PlotScale import

Copy link
Contributor

@gka gka left a comment

Choose a reason for hiding this comment

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

thanks

@gka gka merged commit f55f704 into svelteplot:main May 22, 2025
5 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.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy