Skip to content
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

chore: remove unused legacy code (lineage and query panel) #1608

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

saravmajestic
Copy link
Collaborator

@saravmajestic saravmajestic commented Mar 18, 2025

Overview

Problem

new_lineage_panel and query_panel webviews are deprecated and code is not used anymore.
current webview_panels build is slow because of 2 builds

Solution

Deleted directory new_lineage_panel, query_panel and its references
Run both builds in webview_panels in parallel

Screenshot/Demo

A picture is worth a thousand words. Please highlight the changes if applicable.

How to test

  • Steps to be followed to verify the solution or code changes
  • Mention if there is any settings configuration added/changed/deleted

Checklist

  • I have run this code and it appears to resolve the stated issue
  • README.md updated and added information about my change

Summary by CodeRabbit

  • Chores
    • Streamlined build, deployment, and testing processes with updated configuration settings.
  • Refactor
    • Removed outdated and redundant interface components and assets to simplify the codebase.
  • Style
    • Harmonized formatting and styling across configuration and internal setup files.

These improvements help maintain stability and performance by eliminating legacy code and ensuring a more efficient development workflow.

Copy link
Contributor

coderabbitai bot commented Mar 18, 2025

Walkthrough

This pull request updates several configuration files while removing legacy lineage features. The GitHub Actions workflow and test configurations have been reformatted and streamlined. The .vscodeignore file has been updated to stop ignoring certain directories, and the root package scripts have been modified to remove unused commands and run builds concurrently. In addition, a large number of files related to the legacy new_lineage_panel and query_panel features—including configuration, components, assets, utilities, and TypeScript definitions—have been removed.

Changes

File(s) Change Summary
.github/actions/common-build/action.yml Changed cache configuration for actions/setup-node (switched from single to double quotes for "npm"), removed an entry for new_lineage_panel/package-lock.json, and eliminated the redundant npm ci step.
.github/workflows/tests.yml Reformatted YAML for branch specifications and corrected indentation; logic remains unchanged.
.vscodeignore Removed entries for new_lineage_panel, query_panel, and the exception for !new_lineage_panel/dist.
new_lineage_panel/* (configuration, src, assets, components, etc.) Removed all files related to legacy lineage functionality, including ESLint configs, Git ignore, HTML entry, package configuration, React components, utilities, TypeScript configs, and styling files.
query_panel/* (assets, index.html, main.js, style.css, etc.) Deleted all files associated with the query runner interface and related assets (e.g., Perspective, Prism, Tabulator files).
tsconfig.json (root) Modified the "exclude" property by removing the new_lineage_panel directory from the list.
package.json (root) Updated scripts: removed calls to npm run panel:lineage from vscode:prepublish and webpack-dev, and revised the install:panels script.
webview_panels/package.json Changed the "build" script to run two Vite build commands concurrently using the concurrently package.

Suggested reviewers

  • mdesmet

Warning

Review ran into problems

🔥 Problems

Errors were encountered while retrieving linked issues.

Errors (1)
  • JIRA integration encountered authorization issues. Please disconnect and reconnect the integration in the CodeRabbit UI.

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 29dc959 and cde5cf1.

📒 Files selected for processing (1)
  • package.json (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (8)
  • GitHub Check: build (windows-latest)
  • GitHub Check: test (windows-latest)
  • GitHub Check: test (ubuntu-latest)
  • GitHub Check: test (macos-latest)
  • GitHub Check: test (windows-latest)
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: test (ubuntu-latest)
  • GitHub Check: test (macos-latest)
🔇 Additional comments (3)
package.json (3)

2020-2020: Streamlined Prepublish Script.
The "vscode:prepublish" script now runs only "npm run panel:webviews", followed by the production webpack build and the build preparation script. This removal of legacy panel commands (such as those for the removed new_lineage_panel) helps simplify and speed up the prepublish process.


2022-2022: Simplified Webpack Development Command.
The "webpack-dev" script has been updated to run only "npm run panel:webviews" before invoking webpack in development watch mode. This change ensures that only the currently maintained webview panels are built, removing any dependency on legacy code.


2031-2031: Updated Panel Installation Command.
The "install:panels" script now installs only the webview panels by using the path "./webview_panels", effectively removing any reference to the deprecated new_lineage_panel. Please confirm that all configurations and dependency references to the legacy panels have been cleaned up elsewhere in the codebase.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@saravmajestic saravmajestic self-assigned this Mar 18, 2025
@saravmajestic saravmajestic changed the title chore: remove unused lineage panel chore: remove unused legacy code (lineage and query panel) Mar 18, 2025
@saravmajestic saravmajestic marked this pull request as ready for review March 18, 2025 02:25
Copy link
Contributor

ellipsis-dev bot commented Mar 18, 2025

⚠️ This PR is too big for Ellipsis, but support for larger PRs is coming soon. If you want us to prioritize this feature, let us know at [email protected]


Generated with ❤️ by ellipsis.dev

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (4)
webview_panels/package.json (1)

14-14: Parallel Build Script Updated
The updated "build" script on line 14 now leverages concurrently to run both renderer and main builds simultaneously, which should help improve build performance. Please verify that the command options (e.g. disabling the empty out directory for the renderer build) are intended and work as expected across environments.

.github/actions/common-build/action.yml (1)

16-20: Review of NPM CI Steps
There are two separate npm ci steps: one for the project root and one scoped to ./webview_panels. Since the PR objective includes removing legacy build steps (for example, the redundant npm ci for the legacy new_lineage_panel), please double-check that both of these steps are still necessary. Consolidating or clarifying their purpose might be beneficial for build performance and clarity.

.github/workflows/tests.yml (2)

17-24: Outdated Actions Versions – Checkout and Setup-Node
Static analysis recommends updating the versions of actions used here. For example, updating actions/checkout@v3 and actions/setup-node@v3 to more recent versions (e.g. actions/[email protected] and actions/setup-node@v4) may address potential issues and leverage improvements by GitHub.

The following diff is a suggestion for the setup-node update:

-      - uses: actions/setup-node@v3
+      - uses: actions/setup-node@v4

Consider a similar update for actions/checkout.

🧰 Tools
🪛 actionlint (1.7.4)

17-17: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


20-20: the runner of "actions/setup-node@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


64-66: Outdated Codecov Action Version
The static analysis also flags the codecov/codecov-action@v3 as outdated. Updating to a newer major version (such as @v4 if available) could resolve potential compatibility or performance issues.

A possible diff might be:

-        uses: codecov/codecov-action@v3
+        uses: codecov/codecov-action@v4
🧰 Tools
🪛 actionlint (1.7.4)

65-65: the runner of "codecov/codecov-action@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ddcf8b1 and 6d0adb4.

⛔ Files ignored due to path filters (76)
  • new_lineage_panel/package-lock.json is excluded by !**/package-lock.json
  • new_lineage_panel/src/assets/icons/alert-circle.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/alert-error.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/analysis.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/arrow-left-double.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/arrow-left.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/arrow-right-double.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/arrow-right.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/boolean.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/chevron-down.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/chevron-up.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/code.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/datetime.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt_node_cte_dark.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt_node_cte_light.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt_node_exposure_dark.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt_node_exposure_light.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt_node_metrics_dark.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt_node_metrics_light.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt_node_model_dark.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt_node_model_light.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt_node_seed_dark.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt_node_seed_light.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt_node_snapshot_dark.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt_node_snapshot_light.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt_node_source_dark.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/dbt_node_source_light.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/edit.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/ephemeral.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/expand-lineage.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/expand.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/exposure.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/external-project.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/feedback.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/gear.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/geospatial.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/help.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/macros.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/metrics.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/model.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/number.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/object.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/play-circle.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/preview.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/processing_screen.gif is excluded by !**/*.gif
  • new_lineage_panel/src/assets/icons/reset.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/robot1.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/rotate.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/seed.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/snapshot.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/source.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/sql_filter.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/sql_group_by.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/sql_inner_join.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/sql_left_join.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/sql_limit.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/sql_order_by.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/sql_outer_join.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/sql_right_join.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/sql_select.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/sql_union.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/tests.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/text.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/thumbsdown-selected.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/thumbsdown.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/thumbsup-selected.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/thumbsup.svg is excluded by !**/*.svg
  • new_lineage_panel/src/assets/icons/x-close.svg is excluded by !**/*.svg
  • query_panel/assets/copy-regular.svg is excluded by !**/*.svg
  • query_panel/assets/perspective.cpp.wasm is excluded by !**/*.wasm
  • query_panel/assets/perspective_bg.wasm is excluded by !**/*.wasm
  • query_panel/assets/preview.svg is excluded by !**/*.svg
  • query_panel/assets/spinner.gif is excluded by !**/*.gif
  • query_panel/assets/tabulator.min.js is excluded by !**/*.min.js
  • query_panel/assets/toolkit.min.js is excluded by !**/*.min.js
📒 Files selected for processing (65)
  • .github/actions/common-build/action.yml (1 hunks)
  • .github/workflows/tests.yml (2 hunks)
  • .vscodeignore (0 hunks)
  • new_lineage_panel/.eslintrc.cjs (0 hunks)
  • new_lineage_panel/.gitignore (0 hunks)
  • new_lineage_panel/index.html (0 hunks)
  • new_lineage_panel/package.json (0 hunks)
  • new_lineage_panel/src/ActionWidget.tsx (0 hunks)
  • new_lineage_panel/src/CustomNodes.tsx (0 hunks)
  • new_lineage_panel/src/Demo.tsx (0 hunks)
  • new_lineage_panel/src/ExposureDetails.tsx (0 hunks)
  • new_lineage_panel/src/Feedback.tsx (0 hunks)
  • new_lineage_panel/src/Help.tsx (0 hunks)
  • new_lineage_panel/src/Lineage.tsx (0 hunks)
  • new_lineage_panel/src/Modals.tsx (0 hunks)
  • new_lineage_panel/src/MoreTables.tsx (0 hunks)
  • new_lineage_panel/src/Settings.tsx (0 hunks)
  • new_lineage_panel/src/StaticLineage.tsx (0 hunks)
  • new_lineage_panel/src/TableDetails.tsx (0 hunks)
  • new_lineage_panel/src/assets/animation/Loader.json (0 hunks)
  • new_lineage_panel/src/components/Chip.tsx (0 hunks)
  • new_lineage_panel/src/components/CodeBlock.tsx (0 hunks)
  • new_lineage_panel/src/components/Column.tsx (0 hunks)
  • new_lineage_panel/src/components/ColumnRow.tsx (0 hunks)
  • new_lineage_panel/src/components/Form.tsx (0 hunks)
  • new_lineage_panel/src/components/InfoIcon.tsx (0 hunks)
  • new_lineage_panel/src/components/LineageLegend.tsx (0 hunks)
  • new_lineage_panel/src/components/Loader/index.tsx (0 hunks)
  • new_lineage_panel/src/components/Loader/styles.module.scss (0 hunks)
  • new_lineage_panel/src/components/Modal/BetterPopover.tsx (0 hunks)
  • new_lineage_panel/src/components/Modal/PageModal.css (0 hunks)
  • new_lineage_panel/src/components/Modal/PageModal.tsx (0 hunks)
  • new_lineage_panel/src/components/Modal/SidebarModal.css (0 hunks)
  • new_lineage_panel/src/components/Modal/SidebarModal.tsx (0 hunks)
  • new_lineage_panel/src/components/Modal/index.ts (0 hunks)
  • new_lineage_panel/src/components/Modal/styles.module.scss (0 hunks)
  • new_lineage_panel/src/components/Purpose.tsx (0 hunks)
  • new_lineage_panel/src/components/Tags/index.tsx (0 hunks)
  • new_lineage_panel/src/components/Tags/styles.module.scss (0 hunks)
  • new_lineage_panel/src/components/Tooltip.tsx (0 hunks)
  • new_lineage_panel/src/components/index.ts (0 hunks)
  • new_lineage_panel/src/components/styles.module.scss (0 hunks)
  • new_lineage_panel/src/constants.ts (0 hunks)
  • new_lineage_panel/src/graph.ts (0 hunks)
  • new_lineage_panel/src/index.css (0 hunks)
  • new_lineage_panel/src/main.tsx (0 hunks)
  • new_lineage_panel/src/service.ts (0 hunks)
  • new_lineage_panel/src/service_utils.ts (0 hunks)
  • new_lineage_panel/src/styles.module.scss (0 hunks)
  • new_lineage_panel/src/utils.ts (0 hunks)
  • new_lineage_panel/src/vite-env.d.ts (0 hunks)
  • new_lineage_panel/tsconfig.json (0 hunks)
  • new_lineage_panel/tsconfig.node.json (0 hunks)
  • new_lineage_panel/vite.config.ts (0 hunks)
  • package.json (2 hunks)
  • query_panel/assets/perspective.js (0 hunks)
  • query_panel/assets/prism-dark.css (0 hunks)
  • query_panel/assets/prism-light.css (0 hunks)
  • query_panel/assets/prism.js (0 hunks)
  • query_panel/assets/tabulator.min.css (0 hunks)
  • query_panel/index.html (0 hunks)
  • query_panel/main.js (0 hunks)
  • query_panel/style.css (0 hunks)
  • tsconfig.json (1 hunks)
  • webview_panels/package.json (1 hunks)
💤 Files with no reviewable changes (60)
  • new_lineage_panel/src/components/Chip.tsx
  • new_lineage_panel/src/components/Tooltip.tsx
  • new_lineage_panel/src/components/Modal/index.ts
  • new_lineage_panel/src/components/Modal/styles.module.scss
  • new_lineage_panel/src/components/Modal/SidebarModal.css
  • new_lineage_panel/src/vite-env.d.ts
  • new_lineage_panel/src/components/Tags/index.tsx
  • query_panel/assets/prism-light.css
  • new_lineage_panel/.gitignore
  • new_lineage_panel/src/components/Loader/index.tsx
  • new_lineage_panel/src/Settings.tsx
  • new_lineage_panel/tsconfig.node.json
  • query_panel/assets/perspective.js
  • new_lineage_panel/src/components/ColumnRow.tsx
  • new_lineage_panel/src/Demo.tsx
  • new_lineage_panel/package.json
  • new_lineage_panel/src/components/Purpose.tsx
  • new_lineage_panel/src/components/Loader/styles.module.scss
  • new_lineage_panel/src/main.tsx
  • new_lineage_panel/src/assets/animation/Loader.json
  • .vscodeignore
  • new_lineage_panel/vite.config.ts
  • new_lineage_panel/src/components/LineageLegend.tsx
  • query_panel/style.css
  • query_panel/index.html
  • new_lineage_panel/src/components/CodeBlock.tsx
  • new_lineage_panel/src/components/Modal/PageModal.css
  • query_panel/main.js
  • new_lineage_panel/src/components/InfoIcon.tsx
  • new_lineage_panel/src/components/Form.tsx
  • new_lineage_panel/src/Feedback.tsx
  • new_lineage_panel/src/Help.tsx
  • new_lineage_panel/src/components/Modal/SidebarModal.tsx
  • new_lineage_panel/src/Lineage.tsx
  • new_lineage_panel/index.html
  • query_panel/assets/prism-dark.css
  • new_lineage_panel/.eslintrc.cjs
  • new_lineage_panel/src/ExposureDetails.tsx
  • new_lineage_panel/src/index.css
  • new_lineage_panel/tsconfig.json
  • new_lineage_panel/src/components/Tags/styles.module.scss
  • new_lineage_panel/src/components/Modal/PageModal.tsx
  • new_lineage_panel/src/StaticLineage.tsx
  • new_lineage_panel/src/graph.ts
  • new_lineage_panel/src/components/Column.tsx
  • new_lineage_panel/src/components/index.ts
  • new_lineage_panel/src/constants.ts
  • new_lineage_panel/src/styles.module.scss
  • query_panel/assets/tabulator.min.css
  • new_lineage_panel/src/ActionWidget.tsx
  • query_panel/assets/prism.js
  • new_lineage_panel/src/MoreTables.tsx
  • new_lineage_panel/src/Modals.tsx
  • new_lineage_panel/src/CustomNodes.tsx
  • new_lineage_panel/src/service_utils.ts
  • new_lineage_panel/src/components/styles.module.scss
  • new_lineage_panel/src/components/Modal/BetterPopover.tsx
  • new_lineage_panel/src/service.ts
  • new_lineage_panel/src/TableDetails.tsx
  • new_lineage_panel/src/utils.ts
🧰 Additional context used
🪛 actionlint (1.7.4)
.github/workflows/tests.yml

17-17: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


20-20: the runner of "actions/setup-node@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)


65-65: the runner of "codecov/codecov-action@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue

(action)

🔇 Additional comments (5)
package.json (3)

1292-1295: Streamlined Prepublish Script
The updated "vscode:prepublish" script now omits the legacy panel:lineage command, aligning with the PR’s objectives of removing unused legacy code. This simplification should reduce build overhead and potential confusion.


1295-1297: Simplified Webpack Development Script
The "webpack-dev" script has been modified to remove legacy commands (such as references to lineage panels) and now focuses solely on building webviews, which meets the new streamlined build process.


1304-1306: Updated Panels Installation Command
The "install:panels" script now installs only the webview_panels, ensuring that deprecated directories such as new_lineage_panel are no longer included. This is in line with the removal of legacy code.

tsconfig.json (1)

25-26: Updated Exclusion List in TypeScript Configuration
The removal of "new_lineage_panel" from the "exclude" array is correct given that legacy code is being removed. Just verify that including "webview_panels" in the exclusion list is intentional, as it might be compiled separately.

.github/actions/common-build/action.yml (1)

11-13: Cache Configuration Updated to Use Double Quotes
Changing the cache parameter from single quotes to double quotes (line 12) improves consistency. The cache-dependency paths now correctly include package-lock.json and webview_panels/package-lock.json.

Copy link
Collaborator

@AdiGajbhiye AdiGajbhiye left a comment

Choose a reason for hiding this comment

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

lgtm

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