Skip to content

Add dependency proxy configs#703

Open
refoo0 wants to merge 17 commits intomainfrom
add-dependency-proxy-configs
Open

Add dependency proxy configs#703
refoo0 wants to merge 17 commits intomainfrom
add-dependency-proxy-configs

Conversation

@refoo0
Copy link
Copy Markdown
Member

@refoo0 refoo0 commented Apr 15, 2026

No description provided.

refoo0 added 7 commits April 15, 2026 12:07
…ents

Signed-off-by: rafi <refaei.shikho@hotmail.com>
Signed-off-by: rafi <refaei.shikho@hotmail.com>
Signed-off-by: rafi <refaei.shikho@hotmail.com>
Signed-off-by: rafi <refaei.shikho@hotmail.com>
Signed-off-by: rafi <refaei.shikho@hotmail.com>
… settings

Signed-off-by: rafi <refaei.shikho@hotmail.com>
…ettings

Signed-off-by: rafi <refaei.shikho@hotmail.com>
Copilot AI review requested due to automatic review settings April 15, 2026 10:31
Copy link
Copy Markdown
Contributor

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

Adds UI and validation support for configuring a “Dependency Proxy” across organization/project/asset settings pages.

Changes:

  • Introduces a new DependencyProxySettings UI to edit dependency-proxy rules, cooldown, and display proxy URLs with a “test package” helper.
  • Extends CodeEditor with a new pkg language mode and passes diagnostics through onValidation.
  • Adds navigation + dedicated settings pages for dependency-proxy configuration at org/project/asset scopes, and adds the purl dependency.

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
src/components/common/DependencyProxySettings.tsx New settings UI for dependency proxy URLs, rule editing, cooldown, and package-rule testing.
src/components/common/ConfigFileEditor.tsx Updates editor validation handling to accept diagnostics.
src/components/common/CodeEditor.tsx Adds pkg linter and changes validation callback to include diagnostics.
src/app/(loading-group)/[organizationSlug]/settings/page.tsx Adds link section to Dependency Proxy settings.
src/app/(loading-group)/[organizationSlug]/settings/dependency-proxy/page.tsx New org-level dependency proxy settings page.
src/app/(loading-group)/[organizationSlug]/projects/[projectSlug]/settings/page.tsx Adds link section to Dependency Proxy settings.
src/app/(loading-group)/[organizationSlug]/projects/[projectSlug]/settings/dependency-proxy/page.tsx New project-level dependency proxy settings page.
src/app/(loading-group)/[organizationSlug]/projects/[projectSlug]/assets/[assetSlug]/settings/page.tsx Adds link section to Dependency Proxy settings.
src/app/(loading-group)/[organizationSlug]/projects/[projectSlug]/assets/[assetSlug]/settings/dependency-proxy/page.tsx New asset-level dependency proxy settings page.
package.json Adds purl dependency.
package-lock.json Locks purl and its transitive deps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/components/common/DependencyProxySettings.tsx Outdated
Comment thread src/components/common/DependencyProxyConfigs.tsx Outdated
Comment thread src/components/common/CodeEditor.tsx Outdated
Comment thread src/components/common/ConfigFileEditor.tsx Outdated
Comment thread src/app/(loading-group)/[organizationSlug]/settings/dependency-proxy/page.tsx Outdated
Comment thread src/components/common/DependencyProxyConfigs.tsx Outdated
Comment thread src/components/common/DependencyProxyConfigs.tsx Outdated
Comment thread src/components/common/DependencyProxyConfigs.tsx
Comment thread src/components/common/CodeEditor.tsx Outdated
refoo0 added 7 commits April 15, 2026 14:36
…time in hours

Signed-off-by: rafi <refaei.shikho@hotmail.com>
…t and add explanation how to use it in a registry

Signed-off-by: rafi <refaei.shikho@hotmail.com>
…nd error handling

Signed-off-by: rafi <refaei.shikho@hotmail.com>
Signed-off-by: rafi <refaei.shikho@hotmail.com>
…endencyProxyConfigs component

Signed-off-by: rafi <refaei.shikho@hotmail.com>
Signed-off-by: rafi <refaei.shikho@hotmail.com>
Signed-off-by: rafi <refaei.shikho@hotmail.com>
Copy link
Copy Markdown
Contributor

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

Copilot reviewed 10 out of 11 changed files in this pull request and generated 10 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/components/common/DependencyProxyConfigs.tsx
Comment thread src/components/common/DependencyProxyConfigs.tsx Outdated
Comment thread src/components/common/CodeEditor.tsx
Comment thread src/app/(loading-group)/[organizationSlug]/settings/page.tsx
Comment thread src/components/common/DependencyProxyConfigs.tsx Outdated
Comment thread src/components/common/DependencyProxyConfigs.tsx Outdated
Comment thread src/components/common/DependencyProxyConfigs.tsx Outdated
Comment thread src/components/common/DependencyProxyConfigs.tsx Outdated
refoo0 added 3 commits April 17, 2026 19:00
…and CodeEditor components

Signed-off-by: rafi <refaei.shikho@hotmail.com>
Signed-off-by: rafi <refaei.shikho@hotmail.com>
Signed-off-by: rafi <refaei.shikho@hotmail.com>
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