Skip to content

Conversation

@Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Jul 2, 2025

When the user visits the form to create a new Trusted Publishing configuration, we look at the repository field of the crate, and if it is a GitHub URL (e.g. https://github.com/rust-lang/crates.io) we extract the repository owner and name from the URL and prefill the input fields accordingly. This should make the configuration creation a slightly more enjoyable experience.

@Turbo87 Turbo87 added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-frontend 🐹 labels Jul 2, 2025
@Turbo87 Turbo87 force-pushed the trustpub-autofill branch from c68d5e0 to b784e85 Compare July 2, 2025 11:31
When the user visits the form to create a new Trusted Publishing configuration, we look at the `repository` field of the crate, and if it is a GitHub URL (e.g. https://github.com/rust-lang/crates.io) we extract the repository owner and name from the URL and prefill the input fields accordingly. This should make the configuration creation a slightly more enjoyable experience.
@Turbo87 Turbo87 force-pushed the trustpub-autofill branch from b784e85 to e393b99 Compare July 2, 2025 11:37
@Turbo87 Turbo87 merged commit 4bb9eda into rust-lang:main Jul 2, 2025
11 checks passed
@Turbo87 Turbo87 deleted the trustpub-autofill branch July 2, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-frontend 🐹 C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant