Skip to content

Gdcmvs upgrade#111

Open
chaozhang-nci wants to merge 1311 commits intodevelopfrom
gdcmvs-upgrade
Open

Gdcmvs upgrade#111
chaozhang-nci wants to merge 1311 commits intodevelopfrom
gdcmvs-upgrade

Conversation

@chaozhang-nci
Copy link
Collaborator

No description provided.

fmanuelos added 30 commits April 8, 2020 14:03
@chaozhang-nci chaozhang-nci requested a review from Copilot October 14, 2025 14:57
Copy link

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 modernizes the GDCMVS application by migrating from Webpack to Vite, updating dependencies, and modernizing the codebase. The changes include removing deprecated packages, updating build configurations, and improving browser compatibility.

  • Migrated build system from Webpack to Vite for improved development experience
  • Updated package dependencies to newer versions and removed deprecated packages
  • Modernized frontend code with Bootstrap 5 compatibility and improved styling

Reviewed Changes

Copilot reviewed 50 out of 54 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
package.json Updated dependencies and changed build scripts to use Vite
vite.config.js New Vite configuration replacing Webpack setup
webpack/* Removed all Webpack configuration files
server/service/search/*.js Updated YAML library and commented out Excel parsing functionality
client/src/* Modernized frontend code with template tags and Bootstrap 5 compatibility
Comments suppressed due to low confidence (1)

client/src/dialog/to-compare/to-compare-view.js:1

  • Element ID has a typo. Should be 'tab-properties' instead of 'tap-properties' to match the expected naming convention.
import { tableSynonyms, tableIcdo3 } from '../../components/table';

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

// Convert all array fields in tmp_data to string, or if empty string ""
Object.keys(tmp_data).forEach(key => {
if (Array.isArray(tmp_data[key])) {
data[key] = Array.isArray(data[key]) && data[key].length > 0 ? data[key].join('|') : "";
Copy link

Copilot AI Oct 14, 2025

Choose a reason for hiding this comment

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

Variable name mismatch. The condition checks 'tmp_data[key]' but assigns to 'data[key]'. This should be 'tmp_data[key] = ...' to match the intended logic.

Suggested change
data[key] = Array.isArray(data[key]) && data[key].length > 0 ? data[key].join('|') : "";
tmp_data[key] = tmp_data[key].length > 0 ? tmp_data[key].join('|') : "";

Copilot uses AI. Check for mistakes.
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