Skip to content

Comments

feat(ui): Add registry URL column to dependency updates table#49

Open
It-Is-Ishank wants to merge 1 commit intoAmadeusITGroup:mainfrom
It-Is-Ishank:main
Open

feat(ui): Add registry URL column to dependency updates table#49
It-Is-Ishank wants to merge 1 commit intoAmadeusITGroup:mainfrom
It-Is-Ishank:main

Conversation

@It-Is-Ishank
Copy link

Overview

Adds a new Registry URL column to the dependency updates table, allowing users to quickly identify the source registry for each dependency update.

Changes

  • Frontend (UI):

    • Added registryUrl field to Dependency interface
    • Added new "Registry URL" column with clickable links and external icon
    • Dynamically processes all Renovate manager types (npm, docker, maven, regex, etc.)
    • Constructs full package URLs based on datasource type (npm registries, GitHub releases, Node.js dist, etc.)
    • Removed unused methods: processPackageFiles, processBranchesInfoExtended, parseDependencyUpdate
  • Backend (API):

    • Modified processLogLine to forward config field from Renovate's packageFiles with updates message
    • Detects and tags packageFilesWithUpdates message type
    • Removed unused branchesInformation and packageFiles handling
  • Code Quality:

    • Removed all debug console.log statements
    • Cleaned up unused fallback logic and message types
    • Simplified data flow to use only packageFilesWithUpdates

Implementation Details

All dependency information including registry URLs is extracted from the packageFilesWithUpdates message's config field, which provides complete details for all manager types in a single structured format.

Testing

Tested with multiple dependency types including:

  • npm packages (e.g., express, @types/node)
  • GitHub releases
  • Node.js versions
  • Regex-managed dependencies

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.

1 participant